Learn German articles with simple game using this Telegram bot built with Node.js.
DEUTSCHE RATTE, Telegram Bot that designed to make learning German articles entertaining and easy. All without using external "black box" packages, with an easy to understand code and many opportunities to add more features.
A much simpler, live version of the Bot can be used here 🐀
- Pure Node.js technology with no obscure packages.
- Ready infrastructure for adding any DB.
- Jest testing.
- Local server that can be easily switch to run on amazon lambda.
- Scraping capabilities to fetch data.
Before you get started, ensure you have the following installed on your system:
- Node.js
- Yarn
- Telegram, go to "BotFather" and create a bot, receive
YourToken
. - Way to expose local IP on port 8080 (can be easily done with "ngrok")
- Clone the repository
- Add an
.env
file withTELEGRAM_TOKEN={YourToken}
- If using "ngrok", run in a terminal
ngrok http 8080
you will getYourPublicURL
- Open your web browser and type
https://api.telegram.org/bot{YourToken}/setWebhook?url={YourPublicURL}
- Open Terminal with the clone repository and
yarn start
- Play
- Easy to understand
- Simplify Telegram API
- Includes a scraper
- Can be used locally
- Sit on the Toilet and learn Deutsch