Skip to content

ArchiveLabs/lenny-app

Repository files navigation

Lenny-app

This Lenny-app is maintained by the ArchiveLabs. which is client app example for Lenny

Technologies

Endpoints

Without Docker (dev)

With Docker (via Nginx reverse proxy)

Notes

  • Each app runs its own Nginx inside the container on port 80 and proxies to the Next.js server on 127.0.0.1:3000.
  • The docker compose file maps host ports 8080 (web) and 8081 (docs) to container port 80.
  • To serve web on plain http://localhost/, change the web service ports mapping to 80:80 in docker-compose.yml.

Nginx (in short)

  • Location: docker/nginx.conf (shared by both app containers).
  • Purpose: simple reverse proxy to Next.js on 127.0.0.1:3000 with standard headers and upgrade support.
  • No path prefixes; each app is served at / in its own container.
  • A debug response header X-Proxy is added to show which Nginx responded; remove the add_header X-Proxy ... line if you don’t need it.

Development Setup

  1. Start your Development enviroment by running the below command, for more check Lenny-app Wiki

    pnpm run dev
  2. Make sure you have your own Lenny setup running on your machine (installation guide)

    git clone [email protected]:ArchiveLabs/lenny.git
    cd lenny
    ./run.sh --public --preload  

    This will add 800+ books inside your Lenny. Feel free to check the Github Docs for Lenny.

Production Setup

  1. Start your Production enviroment by running the below command, for more check Lenny-app Wiki

    pnpm run build
  2. Make sure you have your own Lenny setup running on your machine (installation guide)

    curl -fsSL https://raw.githubusercontent.com/ArchiveLabs/lenny/refs/heads/main/install.sh | sudo sh

    This will add 800+ books inside your Lenny. Feel free to check the Github Docs for Lenny.

Pilot

We're seeking partnerships with libraries who would like to try lending digital resources to their patrons.

About

The Lenny Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •