This project utilizes Bun, a fast all-in-one JavaScript runtime.
Make sure you have Docker and Docker Compose installed on your system. Additionally, ensure that Docker can run without sudo access for ease of use.
- Clone the repository to your server:
git clone <repository_url>- Copy
.env.exampleto.env:
cp .env.example .env- The
ADMINSenv var should have a format ofadminname1:token1,adminname2:token2etc.
To install dependencies, run:
bun installTo start the application, run:
bun run index.tsAlternatively, you can use Docker Compose to run the application:
docker-compose up -dTo Update the Image run:
docker-compose pull && docker-compose up -dThe service will be accessible at port 3000.
To update the state, open this page with a basic form and hit submit after entering tokens defined in .env
$sitename/libraryopen/edit/:token
Replace $sitename with the actual domain or IP address where the service is hosted. Ensure that the :admintoken matches the one set in the .env file. Admins should keep the token secure.