The telegram bot backend is built with https://github.com/win7user10/Laraue.Telegram.NET The bot allows to learn translation of the top 5000 most used english words. The bot can be found in Telegram here https://t.me/learn_lang_bot
Helps to learn and repeat words
Current available pairs are en-ru, en-fr, en-ja
The bot could be forked and launched as a separated telegram bot
- Edit translations.json and create new Migration
- Create migration: cd src && dotnet ef migrations add MigrationName -p Laraue.Apps.LearnLanguage.DataAccess -s Laraue.Apps.LearnLanguage.Host -v
- While next run translations will be added automatically
- Edit languages.json and create new Migration
- Add translations manually or use Laraue.Apps.LearnLanguage.AutoTranslator which will use local AI Ollama to fill translations.
- Create new telegram bot with @BotFather and get a token
- Create file appsettings.Development.json in the project Laraue.Apps.LearnLanguage.Host and fill it with taken telegram token
{
"Telegram": {
"Token": "tg_token"
}
}- Run Laraue.Apps.LearnLanguage.Host. Write
/startto your bot it should answer.