|
||
---|---|---|
src | ||
.gitignore | ||
CHANGELOG.md | ||
Cargo.lock | ||
Cargo.toml | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
config.template.toml |
README.md
keyoxide-chat-bot
A chat bot to interact with Keyoxide profiles
Requirements
Requires a Keyoxide instance.
For Telegram: requires a Telegram bot token obtained through BotFather.
Usage with config file
Add a config.toml
file:
[keyoxide]
domain = "example.tld"
# If you want to enable the Telegram bot
[telegram]
bot_token = "ABC:XYZ"
Run:
cargo run
Usage with environment variables
Run:
export KX__KEYOXIDE__DOMAIN="example.tld"
export KX__TELEGRAM__BOT_TOKEN="ABC:XYZ"
cargo run