{"id":16556645,"url":"https://github.com/nuhmanpk/crypto-bot","last_synced_at":"2026-01-28T02:51:52.068Z","repository":{"id":247048121,"uuid":"818626768","full_name":"nuhmanpk/crypto-bot","owner":"nuhmanpk","description":"Open source free Telegram bot that can fetch crypto related details ","archived":false,"fork":false,"pushed_at":"2025-01-16T07:32:54.000Z","size":18240,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-16T14:11:44.081Z","etag":null,"topics":["bitcoin","crypto","cryptocurrency","dogecoin","hamster-python-bot","pyrogram","pyrogram-bot","telegram","telegram-bot","telegram-crypto","ton-coin"],"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/nuhmanpk.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}},"created_at":"2024-06-22T11:29:35.000Z","updated_at":"2025-01-16T07:32:56.000Z","dependencies_parsed_at":"2025-01-16T08:28:38.678Z","dependency_job_id":"b40435b8-7360-4314-8a94-4cd1a017fa61","html_url":"https://github.com/nuhmanpk/crypto-bot","commit_stats":null,"previous_names":["nuhmanpk/crypto-bot"],"tags_count":0,"template":false,"template_full_name":"nuhmanpk/hydrogram-bot","purl":"pkg:github/nuhmanpk/crypto-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fcrypto-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fcrypto-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fcrypto-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fcrypto-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuhmanpk","download_url":"https://codeload.github.com/nuhmanpk/crypto-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuhmanpk%2Fcrypto-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28835159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T02:10:51.810Z","status":"ssl_error","status_checked_at":"2026-01-28T02:10:50.806Z","response_time":57,"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","crypto","cryptocurrency","dogecoin","hamster-python-bot","pyrogram","pyrogram-bot","telegram","telegram-bot","telegram-crypto","ton-coin"],"created_at":"2024-10-11T20:05:18.159Z","updated_at":"2026-01-28T02:51:52.055Z","avatar_url":"https://github.com/nuhmanpk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crypto-Bot\n\nCrypto-Bot is a Ope source Telegram bot built using Pyrogram that allows users to fetch the latest cryptocurrency prices, trending cryptocurrencies, and historical data. The bot also supports user-specific settings such as preferred currency for price display.\n\n\u003cimg src='./assets//demo.gif' width=310px height=600px\u003e\n\n## Features\n\n- **Fetch Current Prices:** Get the latest price of any cryptocurrency in your preferred currency.\n- **Trending Cryptocurrencies:** View the top 10 trending cryptocurrencies.\n- **Historical Data:** Fetch historical price data for cryptocurrencies by day or hour.\n- **User Settings:** Set and update your preferred currency for price displays.\n- **Live Price Fetching** : Get live datas instantly.\n- **Inline Keyboard Support:** Use inline keyboards for easy navigation and settings adjustments.\n\n## Installation\n\n1. **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/nuhmanpk/crypto-bot.git\n    cd crypto-bot\n    ```\n\n2. **Install the required packages:**\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. **Set up your environment variables:**\n\n    Create a `.env` file in the root directory of the project and add your bot token, API ID, and API hash:\n\n    ```env\n    BOT_TOKEN=your-bot-token\n    API_ID=your-api-id\n    API_HASH=your-api-hash\n    DATABASE_URL=your-database-url\n    DATABASE_NAME=your-database-name\n    SESSION_STRING=your-session-string\n    ADMINS = 1234556\n    ```\n    - Generate `SESSION_STRING` from [here](https://gist.github.com/nuhmanpk/5b2b29fcecd479754c599c36c0961363)\n    - Get `DATABASE_URL` url from [here](https://mongodb.com)\n    - Get `API_ID` and `API_HASH` from [here](https://api.telegram.org)\n    - Give a `DATABASE_NAME` as you wish\n    - Get `BOT_TOKEN` from [here](https://t.me/botfather)\n    - Add user id of admins as `ADMINS` serperated by whitespaces.\n\n## Usage\n\n1. **Run the bot:**\n\n    ```bash\n    python main.py\n    ```\n\n\u003cimg src='./assets/logo.jpeg' max-width=25px max-height=25px/\u003e\n\n2. **Interact with the bot:**\n\n    - **/start**: Start the bot and see the welcome message.\n    - **/help**: Get help information about the bot's commands.\n    - **/price [symbol]**: Get the current price of the specified cryptocurrency.\n    - **/trending**: View the top 10 trending cryptocurrencies.\n    - **/historical [symbol] [timeframe]**: Get historical data for the specified cryptocurrency and timeframe (day or hour).\n    - **/live_prices** - Fetch Live Price\n    - **/exchange [symbol]** - Get exchange details.\n    - **/exchange_rates** -  Get all exchange dates.\n    - **/exchanges** -  Get all exchanges.\n    - **/coin** -  Get all coin details.\n    - **/setcurrency [currency_code]**: Set your preferred currency for price displays.\n    - **Settings ⚙️**: Use the settings button to change preferences like your preferred currency.\n    - And [more](https://t.me/bughunterbots) ...\n\n- If you find this bot useful mark your star and fell free to contribute\n\nHappy Coding! 🚀\n\nBuilt with ❤️ by Nuhman Pk © 2024\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuhmanpk%2Fcrypto-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuhmanpk%2Fcrypto-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuhmanpk%2Fcrypto-bot/lists"}