A chat bot to interact with Keyoxide profiles
 
 
Go to file
Yarmo Mackenbach 0a42f33d83
Add docs
2023-02-08 13:58:47 +01:00
src Add docs 2023-02-08 13:58:47 +01:00
.gitignore Initial commit 2023-02-07 13:18:26 +01:00
CHANGELOG.md Initial commit 2023-02-07 13:18:26 +01:00
Cargo.lock Initial commit 2023-02-07 13:18:26 +01:00
Cargo.toml Initial commit 2023-02-07 13:18:26 +01:00
Dockerfile Initial commit 2023-02-07 13:18:26 +01:00
LICENSE Initial commit 2023-02-07 13:18:26 +01:00
README.md Initial commit 2023-02-07 13:18:26 +01:00
config.template.toml Initial commit 2023-02-07 13:18:26 +01:00

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