Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trueleo/censorbot-rust
same as the other telegram bot but rewritten in Rust for Blazing Fast Speed and Stability hopefully
https://github.com/trueleo/censorbot-rust
Last synced: 12 days ago
JSON representation
same as the other telegram bot but rewritten in Rust for Blazing Fast Speed and Stability hopefully
- Host: GitHub
- URL: https://github.com/trueleo/censorbot-rust
- Owner: trueleo
- License: gpl-3.0
- Created: 2022-03-15T16:24:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-07T06:03:26.000Z (over 2 years ago)
- Last Synced: 2024-08-02T05:23:32.412Z (3 months ago)
- Language: Rust
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-blazingly-fast - censorbot-rust - same as the other telegram bot but rewritten in Rust for Blazing Fast Speed and Stability hopefully (Rust)
README
# censorbot-rust
same as the other telegram bot but rewritten in Rust for Blazing Fast Speed and Stability hopefully- Fully supported and intended to run under Docker
- Very secure with distroless base image
- Completely untested on heroku, but the yml should just work fine.You will need a postgres database to run this
Set the following env vars
- `BOTNAME` to your bot username
- `BOT_TOKEN` to your bot token
- `DB_NAME`, `DB_HOST`, `DB_USER`, `DB_PASS`, `DB_PORT` are for postgres and are compulsory.`BOT_TOKEN` and `BOTNAME` are built into the image, and you should not push this image to a public registry for the risk of leaking bot token.