{"id":21762869,"url":"https://github.com/lccodder/math-tg-bot-remake","last_synced_at":"2026-04-15T16:02:51.147Z","repository":{"id":61066427,"uuid":"543912251","full_name":"LCcodder/Math-tg-bot-remake","owner":"LCcodder","description":"This is the Telegram bot that can solve different math problems with the huge formulas database","archived":false,"fork":false,"pushed_at":"2022-10-08T21:54:45.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T01:25:09.111Z","etag":null,"topics":["math","mongodb","nodejs","telegraf","telegram-bot","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LCcodder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-01T06:08:51.000Z","updated_at":"2022-10-08T21:51:17.000Z","dependencies_parsed_at":"2022-10-09T12:09:15.666Z","dependency_job_id":null,"html_url":"https://github.com/LCcodder/Math-tg-bot-remake","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LCcodder%2FMath-tg-bot-remake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LCcodder%2FMath-tg-bot-remake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LCcodder%2FMath-tg-bot-remake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LCcodder%2FMath-tg-bot-remake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LCcodder","download_url":"https://codeload.github.com/LCcodder/Math-tg-bot-remake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739940,"owners_count":20501990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["math","mongodb","nodejs","telegraf","telegram-bot","typescript"],"created_at":"2024-11-26T12:13:22.566Z","updated_at":"2026-04-15T16:02:51.072Z","avatar_url":"https://github.com/LCcodder.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **This is a telegram bot based on *Node.js* for solving math problems**\n## *This bot can solve a bunch of different math problems. There is a huge database with formulas from a lots of subjects like physics, math and geometry.*\n---\n**To use this bot you need to clone the repository (and install the libraries), insert your telegram bot and database parametres in `.env` file**\n\n---\n## *How it works:*\n\u003e 1) `/search` and `/search_type` commands are used to find different formulas and filter them for selected parameters\n\u003e 2) Other commands are ysed to find area, equals, third site of triangle and such math actions\n\n+ *Full command list you can find in pinned `.txt` file*\n\n--- \n## *How to setup:*\n+ *For this bot you need a running `Mongo` database cluster*\n\n+ *Dataset architecture example: *\n\n```JavaScript\n{\n    formula_name: \"heat capacity\"\n    formula: \"Q = cm△t\\n\"\n    properties: {\n        formula_type: \"physics\"\n        formula_subtype: \"temp\"\n    }  \n}\n```\n\u003eFull dataset description you can find in `Formula.d.ts` interface\n\n\u003e1) Set up environmental params in `.env` file\n\u003e2) Configure database with suggested dataset below\n\u003e3) Create *Telegram* bot and insert token\n\u003e4) Install all dependences, which noted in `dependences.sh` and `dependences.bat` files\n\u003e5) Compile project and launch `MainClient.js`\n\n* **IMPORTANT:** Check validation with `@types` and `tsconfig.json` in your project\n\n---\n\n## *Tech specs:*\n### *(Pre-build 1.0.0)*\n+ node.js `v16.17.1`\n+ typescript `^4.8.4`\n+ mondodb `^4.10.0`\n+ telegraf `^4.10.0`\n+ dotenv `^16.0.3`\n\n---\n##### Created by [*LCcodder*](https://github.com/LCcodder)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flccodder%2Fmath-tg-bot-remake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flccodder%2Fmath-tg-bot-remake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flccodder%2Fmath-tg-bot-remake/lists"}