{"id":46880005,"url":"https://github.com/nicolocarcagni/bitcoinnodeinfo","last_synced_at":"2026-03-10T21:01:45.851Z","repository":{"id":154631016,"uuid":"631535929","full_name":"nicolocarcagni/BitcoinNodeInfo","owner":"nicolocarcagni","description":"A bot to check your bitcoin node via telegram","archived":false,"fork":false,"pushed_at":"2023-05-15T19:58:31.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-05-15T21:15:43.830Z","etag":null,"topics":["bitcoin","bitcoin-cli","bitcoin-node","python","telegram-bot","telepot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicolocarcagni.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-23T10:31:25.000Z","updated_at":"2023-05-15T21:15:43.830Z","dependencies_parsed_at":"2026-03-10T21:01:36.008Z","dependency_job_id":null,"html_url":"https://github.com/nicolocarcagni/BitcoinNodeInfo","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/nicolocarcagni/BitcoinNodeInfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolocarcagni%2FBitcoinNodeInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolocarcagni%2FBitcoinNodeInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolocarcagni%2FBitcoinNodeInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolocarcagni%2FBitcoinNodeInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicolocarcagni","download_url":"https://codeload.github.com/nicolocarcagni/BitcoinNodeInfo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicolocarcagni%2FBitcoinNodeInfo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30355223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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","bitcoin-cli","bitcoin-node","python","telegram-bot","telepot"],"created_at":"2026-03-10T21:01:18.943Z","updated_at":"2026-03-10T21:01:45.824Z","avatar_url":"https://github.com/nicolocarcagni.png","language":"Python","readme":"# BitcoinNodeInfo\n\nThis is a simple Python script that monitors the status of a Bitcoin node and provides information about its blockchain synchronization. The script can be integrated with a Telegram bot to allow users to quickly check the status of their node using a mobile device.\n\n### Features\nCheck the status of a Bitcoin node (online/offline).\nDisplay the number of headers and blocks in the Bitcoin blockchain.\nDisplay the synchronization status of the Bitcoin blockchain.\nDisplay the disk usage of the node.\nDisplay the system uptime of the node.\n\n### Prerequisites\n* Python 3.6 or later.\n* A running Bitcoin node.\n* The bitcoin-cli tool installed and available in the system's PATH.\n* Python modules in ```requirements.txt``` \n\n```bash\npip install -r requirements.txt\n```\n\n### Configuration\nTo use the script, you need to create a Telegram bot in [BotFather](https://t.me/BotFather) and obtain an access token.\n\n```python\nTOKEN = 'your_bot_token_here'\nUSERID = YOURUSERID\n```\n## Usage\nTo start the script, simply run the following command:\n\n```bash\npython bot.py\n```\n\n### Commands\nThe bot recognizes the following commands:\n\n``` /start ``` Displays the status of the Bitcoin node and blockchain synchronization.\n\n``` /sync ``` Displays the synchronization status of the Bitcoin blockchain.\n\n``` /uptime ``` Displays the system uptime of the node.\n\n``` /disk ``` Displays the disk usage of the node.\n\n``` /ping ``` Pings the script and receives a response.\n\n### Optional: Add commands list in BotFather\n\n![IMG_EE7FDAF6F4E5-1](https://user-images.githubusercontent.com/64737169/234252279-75c5066a-9e15-41d7-9ef4-c35bb9cdde89.jpeg)\n\nIf you want a list of command like this 👆, use `/setcommands` in Bot Father and send the following list:\n\n\n```\nstart - ▶️ Start the bot\nstatus - 🔄 Sync status\nuptime - ⏰ Node uptime\ndisk - 💾 Disk usage\n```\n\n## License\nThis script is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolocarcagni%2Fbitcoinnodeinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicolocarcagni%2Fbitcoinnodeinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicolocarcagni%2Fbitcoinnodeinfo/lists"}