Skip to content

Telegram bot

License

Unlicense, MIT licenses found

Licenses found

Unlicense
UNLICENSE
MIT
LICENSE.MIT
Notifications You must be signed in to change notification settings

f0rthsp4ce/botka

Repository files navigation

F0RTHSP4CE Telegram Bot

Telegram Bot Internal Discussion Topic Wiki HTTP API Grafana Dashboard

Build

This project uses Nix flakes to manage dependencies, ensuring a reliable and reproducible build environment. To get started:

  1. Install Nix or NixOS by following instructions at nixos.org/download.
  2. Enable Nix flakes as per the guide on NixOS Wiki.

Alternatively, install Cargo and Rust using the instructions found at Rust's official site.

To build the project:

  • For a release build, run nix build. The resulting binary can be found at ./result/bin/f0bot.
  • For setting up a development environment with necessary dependencies, run nix develop. Inside this environment, you can compile the project with cargo build.

Running the Bot Locally

  1. Use @BotFather to create a new Telegram bot, create a test chat with topics, and add the bot as an administrator.
  2. Copy config.example.yaml and adjust it as needed, particularly the telegram.token.
  3. Start the bot with cargo run bot my-config.yaml.

Development Conventions

This project follows these conventions:

About

Telegram bot

Resources

License

Unlicense, MIT licenses found

Licenses found

Unlicense
UNLICENSE
MIT
LICENSE.MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •