GitDeployHub

antoxa2584x/dead_souls_bot

github.com/antoxa2584x/dead_souls_bot ↗
Node.js API
7 environment variables found in .env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.

  • BOT_TOKEN secret Token from @BotFather
  • DEFAULT_LANG Default interface language: uk | en Each group can override this from /settings.
  • DB_PATH Where the SQLite file lives
  • TZ_NAME IANA timezone used to bucket messages into days and hours. Changing this later does NOT rewrite already-recorded rows.
  • DEAD_AFTER_DAYS A member with no message for this many days shows up in /dead. Each group can override this from /settings.
  • ALLOWED_CHAT_IDS Optional: comma-separated chat ids the bot will record. Leave empty to record every group it is added to.
  • ADMIN_USER_IDS Optional: comma-separated user ids treated as bot admins everywhere. Group administrators can already change settings without being listed…
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/antoxa2584x/dead_souls_bot
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/antoxa2584x/dead_souls_bot
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/antoxa2584x/dead_souls_bot
Or deploy to a different host
← Try another repo