{"id":25999553,"url":"https://github.com/gdagtekin/kurbot","last_synced_at":"2026-03-04T20:04:52.922Z","repository":{"id":188117110,"uuid":"466246938","full_name":"gdagtekin/KurBot","owner":"gdagtekin","description":"A Telegram bot written in Python that provides real-time currency exchange rates and precious metal prices in Turkish Lira.","archived":false,"fork":false,"pushed_at":"2025-03-03T17:15:26.000Z","size":22,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-06T15:47:15.774Z","etag":null,"topics":["docker","docker-compose","python","python-telegram-bot","telegram-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","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/gdagtekin.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-04T19:29:27.000Z","updated_at":"2025-03-03T17:13:31.000Z","dependencies_parsed_at":"2023-08-13T20:49:47.301Z","dependency_job_id":"ad18daf3-f520-41a7-94a0-1f5a2bf3ece6","html_url":"https://github.com/gdagtekin/KurBot","commit_stats":null,"previous_names":["gdagtekin/python-currencies-telegram-bot","gdagtekin/kurbot"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gdagtekin/KurBot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdagtekin%2FKurBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdagtekin%2FKurBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdagtekin%2FKurBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdagtekin%2FKurBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdagtekin","download_url":"https://codeload.github.com/gdagtekin/KurBot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdagtekin%2FKurBot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30091615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T19:41:02.502Z","status":"ssl_error","status_checked_at":"2026-03-04T19:40:05.550Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["docker","docker-compose","python","python-telegram-bot","telegram-bot"],"created_at":"2025-03-05T18:39:52.477Z","updated_at":"2026-03-04T20:04:52.903Z","avatar_url":"https://github.com/gdagtekin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# KurBot\n\nA Telegram bot written in Python that provides real-time currency exchange rates and precious metal prices in Turkish Lira.\n\n\n## Prerequisites\n\n- Get yourself a Bot account and a token at [Telegram Bots](https://core.telegram.org/bots).\n- If you want to run it in Docker -\u003eDocker installed on your system.\n- If you want to run it without Docker -\u003e Python 3.11 or higher.\n- Optional: A server or cloud environment for hosting (e.g., Heroku, AWS, etc.).\n\n\n## Methods to Run the Bot\n\nYou have four ways to run this bot: \n\n1. **Run the bot with a pre-built Docker image**\n2. **Run the bot using Docker Compose**\n3. **Build the Docker image and run the bot**\n4. **Run locally without Docker**\n\n\u003cdetails open\u003e\n  \u003csummary\u003e\u003ch3\u003e1. With a pre-built Docker image\u003c/h3\u003e\u003c/summary\u003e \n\nYou need to provide the following environment variable for the bot to work:\n\nTOKEN: Your Telegram bot token from BotFather.\n\n```bash\ndocker run -d --restart unless-stopped --name currencies -p 8443:8443 -e TOKEN=\"your-telegram-bot-token\" gdagtekin/currency-bot\n```\n\nCheck your log\n\n```bash\ndocker logs -f currencies\n```\n\n\u003c/details\u003e\n\n---\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003e2. Docker Compose\u003c/h3\u003e\u003c/summary\u003e \n\nYou need to provide the following environment variable for the bot to work:\n\nTOKEN: Your Telegram bot token from BotFather.\n\n```yaml\nversion: '3.9'\nservices:\n  currencies:\n    image: gdagtekin/currency-bot:latest\n    restart: unless-stopped\n    container_name: currencies\n    ports:\n      - \"8443:8443\"\n    environment:\n      - TOKEN=your-telegram-bot-token\n```\n\n\nStart the bot with Docker Compose\n\n```bash\ndocker-compose up -d\n```\n\nCheck your log\n\n```bash\ndocker logs -f currencies\n```\n\n\u003c/details\u003e\n\n---\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003e3. Build the Docker image and run the bot\u003c/h3\u003e\u003c/summary\u003e \n\n\nClone the project\n\n```bash\n  git clone https://github.com/gdagtekin/KurBot.git\n```\n\nGo to the project directory\n\n```bash\n  cd KurBot\n```\n\nBuild the Docker Image\n\n```bash\ndocker build -t currency-bot .\n```\n\nRun the following command to start the bot in the container\n\nYou need to provide the following environment variable for the bot to work:\n\nTOKEN: Your Telegram bot token from BotFather.\n\n### Run the Docker Container\n\n```bash\ndocker run -d --restart unless-stopped --name currencies -p 8443:8443 -e TOKEN=\"your-telegram-bot-token\" currency-bot\n```\n\nCheck your log\n\n```bash\ndocker logs -f currencies\n```\n\n\u003c/details\u003e\n\n---\n\n\u003cdetails\u003e\n  \u003csummary\u003e\u003ch3\u003e4. Run locally without Docker\u003c/h3\u003e\u003c/summary\u003e \n\n```bash\n  git clone https://github.com/gdagtekin/KurBot.git\n```\n\nGo to the project directory\n\n```bash\n  cd KurBot\n```\n\nInstall pipenv\n\n```bash\n  pip install pipenv\n```\n\nInstall dependencies\n\n```bash\n  pipenv install\n```\n\nReplace YOUR-TELEGRAM-BOT-TOKEN in the Const.py file with your Telegram Bot Token.\n\nStart the bot\n\n```bash\n  python CurrenciesBot.py\n```\n\n\u003c/details\u003e\n\n---\n\n## Test the Bot\nOnce the bot is up and running, you can start interacting with it. \n\nSend `/start` to see a welcome message and `/ping` to check if the bot is responding.\n\n## Commands\n\n- `/start` - Get a welcome message with bot instructions.\n- `/ping` - Check if the bot is running and responding.\n- `/dolar` - Get the current exchange rate of the US Dollar (USD) to Turkish Lira (TRY).\n- `/euro` - Get the current exchange rate of the Euro (EUR) to Turkish Lira (TRY).\n- `/gramaltin` - Get the current price of Gram Altın in Turkish Lira.\n- `/ceyrekaltin` - Get the current price of Çeyrek Altın in Turkish Lira.\n- `/ons` - Get the current price of Gold Ounce (ONS) in Turkish Lira.\n\n---\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdagtekin%2Fkurbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgdagtekin%2Fkurbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgdagtekin%2Fkurbot/lists"}