{"id":46074702,"url":"https://github.com/halon176/h-crypto-price-bot","last_synced_at":"2026-03-01T14:04:08.682Z","repository":{"id":153867309,"uuid":"625136934","full_name":"halon176/h-crypto-price-bot","owner":"halon176","description":"A python-based bot that fetches real-time cryptocurrency prices from Coingecko and presents them in an easy-to-understand format on Telegram.","archived":false,"fork":false,"pushed_at":"2025-10-16T22:30:14.000Z","size":1325,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-17T23:11:08.351Z","etag":null,"topics":["bitcoin","bot","coingecko-api","cryptocurrency","python","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halon176.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-08T07:12:39.000Z","updated_at":"2025-10-05T13:09:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"13145235-5641-47bf-bd65-9bd54f1d9064","html_url":"https://github.com/halon176/h-crypto-price-bot","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/halon176/h-crypto-price-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halon176%2Fh-crypto-price-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halon176%2Fh-crypto-price-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halon176%2Fh-crypto-price-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halon176%2Fh-crypto-price-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halon176","download_url":"https://codeload.github.com/halon176/h-crypto-price-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halon176%2Fh-crypto-price-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29970545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T13:32:00.443Z","status":"ssl_error","status_checked_at":"2026-03-01T13:32:00.084Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bitcoin","bot","coingecko-api","cryptocurrency","python","telegram","telegram-bot"],"created_at":"2026-03-01T14:04:08.040Z","updated_at":"2026-03-01T14:04:08.663Z","avatar_url":"https://github.com/halon176.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HCryptoPrice\n\n[![build](https://github.com/halon176/h-crypto-price-bot/workflows/CI/badge.svg)](https://github.com/halon176/h-crypto-price-bot/actions/workflows/docker-image.yml)\n[![tests](https://github.com/halon176/h-crypto-price-bot/workflows/Run%20Unit%20Test%20via%20Pytest/badge.svg)](https://github.com/halon176/h-crypto-price-bot/actions/workflows/run_tests.yml)\n[![coverage](https://img.shields.io/badge/coverage-97%25-brightgreen)](https://github.com/halon176/h-crypto-price-bot/tree/master/tests)\n[![license: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/halon176/h-crypto-price-bot/blob/master/LICENSE)\n[![Python 3.13](https://img.shields.io/badge/python-3.13-blue.svg)](https://www.python.org/downloads/release/python-3130/)\n\nA Python-based Telegram bot for fetching real-time cryptocurrency prices from CoinGecko. Provides price data, historical charts, market cap rankings, and Ethereum gas prices.\n\n**Live bot**: [@h_crypto_price_bot](https://t.me/h_crypto_price_bot)\n\nFor advanced features like rate limits and usage tracking, check out the [hcpb-api](https://github.com/halon176/hcpb-api) repository (work in progress).\n\n## Installation\n\n### Manual\n\n1. Make sure you have Python 3.13 installed:\n\n   ```bash\n   python --version\n   ```\n\n2. Clone the repository:\n\n   ```bash\n   git clone https://github.com/halon176/h-crypto-price-bot.git\n   cd h-crypto-price-bot\n   ```\n\n3. Install dependencies using [uv](https://docs.astral.sh/uv/):\n\n   ```bash\n   uv sync\n   ```\n\n4. Create a Telegram bot via [BotFather](https://core.telegram.org/bots#6-botfather) and copy the token.\n\n5. Set up environment variables:\n\n   ```bash\n   export TELEGRAM_TOKEN=\u003cyour_telegram_bot_token\u003e\n   export ETHSCAN_API_KEY=\u003cyour_etherscan_api_key\u003e  # Required for gas prices\n   export CMC_API_KEY=\u003cyour_coinmarketcap_api_key\u003e  # Optional\n   export API_URL=\u003capi_url\u003e  # Optional\n   ```\n\n6. Run the bot:\n\n   ```bash\n   uv run python src/main.py\n   ```\n\n### Docker\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/halon176/h-crypto-price-bot.git\n   ```\n\n2. Build the Docker image:\n\n   ```bash\n   docker build -t h-crypto-price h-crypto-price-bot/.\n   ```\n\n3. Run the container:\n\n   ```bash\n   # Basic setup\n   docker run -d \\\n     -e TELEGRAM_TOKEN=\u003cyour_telegram_bot_token\u003e \\\n     --name h-crypto-price \\\n     h-crypto-price\n\n   # With optional API keys\n   docker run -d \\\n     -e TELEGRAM_TOKEN=\u003cyour_telegram_bot_token\u003e \\\n     -e ETHSCAN_API_KEY=\u003cyour_etherscan_api_key\u003e \\\n     -e CMC_API_KEY=\u003cyour_coinmarketcap_api_key\u003e \\\n     --name h-crypto-price \\\n     h-crypto-price\n   ```\n\n## Usage\n\nGet cryptocurrency prices using `/p` followed by the symbol:\n\n```\n/p btc\n/p eth\n/p sol\n```\n\nType `/help` for a full list of available commands.\n\n## Contributing\n\nContributions are welcome! If you have any suggestions or bug reports, please open an issue on the GitHub repository.\n\n## License\n\nThis project is licensed under the MIT License. See the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalon176%2Fh-crypto-price-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalon176%2Fh-crypto-price-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalon176%2Fh-crypto-price-bot/lists"}