add postgres db, use settings and user data, lots of cleanup and logic fixes, bug fixes, better error handling, update docs and docker
Some checks are pending
njsscan sarif / njsscan code scanning (push) Waiting to run
Update AUTHORS File / update-authors (push) Waiting to run

This commit is contained in:
Aidan 2025-06-30 02:04:32 -04:00
parent 765b1144fa
commit 4d540078f5
30 changed files with 1664 additions and 727 deletions

View file

@ -19,6 +19,7 @@ Kowalski is a a simple Telegram bot made in Node.js.
- A Telegram bot (create one at [@BotFather](https://t.me/botfather))
- FFmpeg (only for the `/yt` command)
- Docker and Docker Compose (only required for Docker setup)
- Postgres
### AI Requirements
@ -116,6 +117,7 @@ If you prefer to use Docker directly, you can use these instructions instead.
- **handlerTimeout** (optional): How long handlers will wait before timing out. Set this high if using large AI models.
- **flashModel** (optional): Which model will be used for /ask
- **thinkingModel** (optional): Which model will be used for /think
- **databaseUrl**: Database server configuration (see `.env.example`)
- **botAdmins**: Put the ID of the people responsible for managing the bot. They can use some administrative + exclusive commands on any group.
- **lastKey**: Last.fm API key, for use on `lastfm.js` functions, like see who is listening to what song and etc.
- **weatherKey**: Weather.com API key, used for the `/weather` command.
@ -149,3 +151,5 @@ Made with [contrib.rocks](https://contrib.rocks).
## About/License
BSD-3-Clause - 2024 Lucas Gabriel (lucmsilva).
Featuring some components under Unlicense.