Skip to content

Igorantivirus/MathTgBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math Gadalka Telegram Bot

Русская версия

Live Bot

Overview

A Telegram bot written in C++ that evaluates mathematical expressions, including inline mode. It supports both basic and advanced functions in the following categories:

  • Arithmetic operations
  • Trigonometric functions
  • Logarithms
  • Powers

Computation is powered by a custom engine/library.

Tech Stack

Language standard: C++23

Dependencies:

Roadmap

  • Bot settings: buttons and menu
  • More predefined functions and examples
  • Multi-line/systems of expressions mode

Build

  1. Clone the repository

    git clone https://github.com/Igorantivirus/MathTgBot
    cd MathTgBot
  2. Generate CMake files

    cmake -B build
  3. Build

    cmake --build build --config Release
  4. Configure

    Edit assets/mainConfig.json. At minimum:

    • Provide the bot API token
    • Ensure the path to assets/responseConfig.json is correct
  5. Run

    From the build directory, run the executable MathBot, passing the path to assets/mainConfig.json:

    ./MathBot "path/assets/mainConfig.json"

License

MIT License 

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors