A Telegram chat bot to send daily prices of various sembako
.
Sembako
is an abbreviation in Indonesian language for sembilan bahan pokok
(English translation: nine main (food) commodities
). It refers to 9 necessities for daily living. These commodities are:
- Rice, sago and corn
- Sugar (esp. granulated sugar)
- Vegetables dan fruits
- Meat and fish
- Cooking oil and margarine
- Milk
- Egg
- Kerosene (for cooking) and/or liquefied petroleum gas (LPG)
- Salt
While initially this bot doesn't cover every item in sembako
, it is easy to add more items.
- Add
@tele_sembako_bot
in Telegram.- Currently, the bot is only in Indonesian language, due to specific nature of
sembako
.
- Currently, the bot is only in Indonesian language, due to specific nature of
- Start by using
/start
command.
- Install Python 3.9.10 and
pip3
. - Run
pip3 install -r requirements.txt
.- If you are using Mac M1 series and you cannot install
psycopg2
, follow this guide.
- If you are using Mac M1 series and you cannot install
Run uvicorn main:app --reload
. Now, you can access the server at port 8000
.
- Programming language: Python 3.9.10
- Framework: FastAPI
- Server: serverless, using Google Cloud Run.
- Scheduler: Google Cloud Scheduler.
You can use /donate
menu to see the information regarding available methods of donation.
You can contribute in this repo, by creating unit tests, doing refactors, or adding other features.