{"id":21113847,"url":"https://github.com/tatianasharova/exchange_bot","last_synced_at":"2025-03-14T10:26:12.953Z","repository":{"id":243282159,"uuid":"812000910","full_name":"TatianaSharova/exchange_bot","owner":"TatianaSharova","description":"CryptoInfo Bot","archived":false,"fork":false,"pushed_at":"2024-11-15T14:44:16.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T04:41:34.363Z","etag":null,"topics":["aiogram","coinmarketcap-api","crypto-bot","cryptocurrency","sqlalchemy","telegram","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TatianaSharova.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-06-07T18:35:15.000Z","updated_at":"2024-11-15T14:44:19.000Z","dependencies_parsed_at":"2024-07-07T10:31:48.070Z","dependency_job_id":"f79b0438-ccb0-40bb-9ebc-5bae39be23b5","html_url":"https://github.com/TatianaSharova/exchange_bot","commit_stats":null,"previous_names":["tatianasharova/exchange_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatianaSharova%2Fexchange_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatianaSharova%2Fexchange_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatianaSharova%2Fexchange_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TatianaSharova%2Fexchange_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TatianaSharova","download_url":"https://codeload.github.com/TatianaSharova/exchange_bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243560630,"owners_count":20310965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aiogram","coinmarketcap-api","crypto-bot","cryptocurrency","sqlalchemy","telegram","telegram-bot"],"created_at":"2024-11-20T01:59:05.731Z","updated_at":"2025-03-14T10:26:12.933Z","avatar_url":"https://github.com/TatianaSharova.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **Crypto telegram bot**\n\n[![Python](https://img.shields.io/badge/-Python-464646?style=flat-square\u0026logo=Python)](https://www.python.org/)\n[![Telegram](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://core.telegram.org/)\n![SQLite](https://a11ybadges.com/badge?logo=sqlite)\n\nТелеграм бот с trashhold системой, который может предоставить информацию о стоимости выбранной криптовалюты в USD и оформить подписку на стоимость криптовалют.\nЕсли пользователь удаляет и банит бота, его данные из бд стираются.  \n\nСтек: aiogram, SQLalchemy, telegram, SQLite, python, aiohttp\n\n## Возможности бота:\n1. Проверить курс любой криптовалюты:  \nНапишите боту короткое название криптовалюты, например BTC или ETH, и вам придет ответ с её стоимостью на данный момент.  \n\n2. Отправлять уведомления:  \nУстановите минимальную(MIN) и/или максимальную(MAX) цену для криптовалюты.  \nБот пришлёт сообщение, когда цена станет ниже или выше заданного вами значения.  \n\nПример:  \nХотите узнать, когда Bitcoin станет дешевле $90,000 или дороже $100,000? Установите эти значения, и бот сообщит вам, когда это произойдет.\n\n## План по доработке:\n1. Настроить CI.\n2. Написать тесты.\n\n\n### Локальный запуск бота:\n\n**_Склонировать репозиторий к себе_**\n```\ngit@github.com:TatianaSharova/exchange_bot.git\n```\n**_В директории проекта создать файл .env и заполнить своими данными:_**\n```\nTELEGRAM_BOT_TOKEN         - токен вашего телеграм бота\nCOIN_MARKET_TOKEN          - токен от API криптовалютной биржи CoinMarket\nDB_LITE                    - 'sqlite+aiosqlite:///bot_base.db'\nCOINMARKETCAP_URL          - 'https://pro-api.coinmarketcap.com/v2/cryptocurrency/quotes/latest'\n```\n**_Создать и активировать виртуальное окружение:_**\n\nДля Linux/macOS:\n```\npython3 -m venv venv\n```\n```\nsource venv/bin/activate\n```\nДля Windows:\n```\npython -m venv venv\n```\n```\nsource venv/Scripts/activate\n```\n**_Установить зависимости из файла requirements.txt:_**\n```\npip install -r requirements.txt\n```\n**_Запустить бот:_**\n```\npython bot.py\n```\n\n### Автор\n[Татьяна Шарова](https://github.com/TatianaSharova)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatianasharova%2Fexchange_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftatianasharova%2Fexchange_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftatianasharova%2Fexchange_bot/lists"}