/CropBot

A Telegram messenger-based chatbot to simplify crop simulation modeling

Primary LanguageJupyter NotebookMIT LicenseMIT


Markdownify
Crop Simulation Bot

Modeling crop yield with Telegram and WOFOST simulation model.

GitHub Repo stars Issues Contributors License

AboutHow To UseCreditsLicense

About

Crop simulation software is often too complicated for many farmers to use. The main issues include collecting and formatting input data for modeling, as well as the complexity of operating the software and choosing modeling scenarios. To make this technology more accessible, we suggest combining crop simulation software with chatbot technology. We demonstrate this approach by integrating the WOFOST model into a Telegram chatbot for easy crop yield modeling.

drawing

How To Use

1. Register bot

Register your bot in Telegram and get a token.

  • To register a new bot, launch the BotFather bot and send the command: /newbot

  • In the name field, specify the name of the bot being created, for example, Crop Bot. This name will be seen by users when communicating with the bot.

  • In the username field, specify the username of the bot being created, for example Crop_bot. By user name, you will be able to find the bot in Telegram. The user name must end in ...Bot or ..._bot.

  • As a result, you will receive a token. Save it, it will be needed in the future.

  • Install the icon for the bot — the logo.png file. Send the BotFather bot the command: /setuserpic

2. Run bot on your server

# Clone this repository
$ git clone https://github.com/mishagrol/CropBot.git

# Go into the repository
$ cd CropBot

# Save your bot token in file 
$ echo '{"bot_token": "token"}' > .token.json 

# Run the bot
$ bash rollout.sh

Note Install Docker to your laptop or server before start bot

Credits

This software uses the following open source packages:

Related

Py_DSSATTools - python tools for DSSAT model

License

MIT

Contact

Mail - Mikhail.Gasanov[a]skoltech.ru


Contributors ✨

Thanks goes to these wonderful people (emoji key):

Nikitin Artyom
Nikitin Artyom

⚠️ 💻
matseralex
matseralex

🧑‍🏫 🤔
Anna Petrovskaia
Anna Petrovskaia

🎨 🔬
Evgeny Ponomarev
Evgeny Ponomarev

💻 🚇

This project follows the all-contributors specification. Contributions of any kind welcome!