Something went wrong. Try again.
ATProto-based AI Assistant Chat interface.
Something went wrong. Try again.
Markdown
Deployment #
Requirements #
- Docker with the compose plugin.
- A domain with HTTPS.
- A reverse proxy for TLS.
- The lexicons and permission set published.
Setup #
-
Clone the repository on the server.
-
Copy
.env.exampleto.env. Generate the secrets withdocker compose run --rm scn-chat pnpm keys, and set at least:SECRET_KEYandOAUTH_PRIVATE_KEYS, frompnpm keys.PUBLIC_URLto the HTTPS URL, such ashttps://chat.example.com.OAUTH_SCOPE_MODEtopermission-set. Userawfor local dev.ADMIN_DIDSto your admin DID(s), comma separated.NODE_ENVtoproductionordevelopment.
-
Start it with
docker compose up -d --build(For dev,pnpm dev). -
Point the reverse proxy at
http://127.0.0.1:3000, if applicable. -
Sign in and open the admin area, from Settings > Admin. Configure your plugins and models. Note that a model provider plugin will need to be enabled before models can be configured.
-
Set up cron. Issue a key with the
adminrole under Admin > API keys. Then setup cron as so:*/5 * * * * curl -fsS -X POST -H "Authorization: Bearer <key>" https://chat.example.com/api/cron