{"repo":"Potat0000/dn42-bot","free":true,"listed":false,"github":"https://github.com/Potat0000/dn42-bot","clone":"git clone https://github.com/Potat0000/dn42-bot.git","description":"Yet Another DN42 Telegram Bot","language":"Python","stars":29,"topics":["dn42","telegram-bot"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"Yet Another Telegram DN42 Bot Features - Tools - [x] Ping - [x] TCPing - [x] Traceroute - [x] Route - [x] Path - [x] Whois - [x] Dig / NSLookup - User Manage - [x] Login - [x] Logout - [x] Whoami - Peer - [x] New peer - [x] Modify peer - [x] Remove peer - [x] Peer info - Statistics - [x] DN42 global ranking - [x] DN42 user basic info & statistics - [x] Peer list of a user - [x] FlapAlerted Integration Deployment The project is divided into two parts: server and agent, which can be deployed separately and have independent requirements.txt . Server The server directory contains the code for the tg-bot server. Config Config items are located at server/config.py . Config Key Description ------------------- ---------------------------------------------------------------------------------------------- BOT TOKEN Token of Telegram Bot CONTACT Contact information for yourself DN42 ASN Your DN42 ASN WELCOME TEXT The text shows at the top of /help command WHOIS ADDRESS The address of whois server DN42 ONLY Whether the tool commands (ping, traceroute, etc.) only allow DN42 networks ALLOW NO CLEARNET Whether allowed to peer with someone who has no clearnet ENDPOINT Server name domain suffixes API PORT Agent API Port API TOKEN Agent API Token SERVERS A dict. The keys are the actual server names while the values are the display names HOSTS (Optional) A dict. The keys are contained in the SERVERS while the values are its custom hosts WEBHOOK URL (Optional) Webhook URL to regist to Telegram. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Potat0000","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Potat0000/dn42-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}