Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kiwiyou/telegram-bot-template
https://github.com/kiwiyou/telegram-bot-template
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kiwiyou/telegram-bot-template
- Owner: kiwiyou
- Created: 2021-08-25T07:21:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-28T04:42:22.000Z (over 3 years ago)
- Last Synced: 2024-10-27T12:57:38.065Z (3 months ago)
- Language: Rust
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# telegram-bot-template
Rust telegram bot template.
It uses [`frankenstein`](https://github.com/ayrat555/frankenstein) for minimal dependencies.
## Features
- Settings using config directory.
config/{default, development, testing, production}.toml is supported.
by RUST_ENV=<config name> you can choose what config file you will use.
- Parse commandline arguments.
with `Command` and `Args` you can easily process bot commands.
## How to use
install [`cargo-generate`](https://github.com/cargo-generate/cargo-generate).
```bash
cargo generate --git https://github.com/kiwiyou/telegram-bot-template.git
```