aopkg is a package registry for Anarchy Online chatbots. It provides a web interface and API to interact with and an easy package layout.
You can read about it in the PACKAGING.md file.
You'll need a working rust compiler and cargo.
cargo build --release
touch aopkg.db
touch .env
# put config in .env
./target/release/aopkg
Or use docker/podman:
podman build -t aopkg:latest .
touch aopkg.db
touch .env
# put config in .env
podman run --rm -it -p 7575:7575 --env-file .env -v $(pwd)/aopkg.db:/aopkg.db:Z -v $(pwd)/data:/data:Z aopkg:latest
.env
should look like this:
DATABASE_URL=sqlite:aopkg.db
COOKIE_SECRET=some_32_character_string
CLIENT_ID=github_client_id
CLIENT_SECRET=github_client_secret