{"id":22917588,"url":"https://github.com/xigmadev/ipseekbot","last_synced_at":"2025-04-01T12:46:05.365Z","repository":{"id":263396169,"uuid":"890231576","full_name":"XigmaDev/IPSeekBot","owner":"XigmaDev","description":"A simple Telegram bot written in Go that allows users to resolve domain names using different DNS resolvers.","archived":false,"fork":false,"pushed_at":"2024-11-18T14:59:12.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T07:43:24.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/XigmaDev.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}},"created_at":"2024-11-18T08:11:35.000Z","updated_at":"2024-11-19T07:03:09.000Z","dependencies_parsed_at":"2024-11-18T10:52:49.870Z","dependency_job_id":null,"html_url":"https://github.com/XigmaDev/IPSeekBot","commit_stats":null,"previous_names":["xigmadev/ipseekbot"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XigmaDev%2FIPSeekBot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XigmaDev%2FIPSeekBot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XigmaDev%2FIPSeekBot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XigmaDev%2FIPSeekBot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XigmaDev","download_url":"https://codeload.github.com/XigmaDev/IPSeekBot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246642375,"owners_count":20810591,"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":[],"created_at":"2024-12-14T06:19:05.172Z","updated_at":"2025-04-01T12:46:05.348Z","avatar_url":"https://github.com/XigmaDev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram DNS Resolver Bot\n\nA simple Telegram bot written in Go that allows users to resolve domain names using different DNS resolvers. It supports commands for looking up domain names, listing available DNS resolvers, and performing DNS lookups with specific resolvers. The bot also includes a feature for IP address lookup (`/lookup`).\n\n## Features\n- Lookup domain IP addresses using different DNS resolvers.\n- Support for multiple resolvers like Google, Cloudflare, Quad9, OpenDNS, and others.\n- Inline query support for quick DNS lookups directly in Telegram chats.\n- `/resolver` command to list available resolvers.\n- `/lookup` command to look up domain names.\n- `/dig` command for IP address lookups.\n- Supports `/start` and `/help` for user guidance.\n\n## Prerequisites\n\n- [Go](https://golang.org/doc/install) (1.20 or higher)\n- [Telegram Bot Token](https://core.telegram.org/bots#botfather)\n- Optional: [Docker](https://www.docker.com/get-started) for containerization\n\n## Setup\n\n### 1. Clone the Repository\n\nClone the repository to your local machine:\n\n```bash\ngit clone https://github.com/XigmaDev/IPSeekBot.git\ncd IPSeekBot\n```\n\n### 2. Install Dependencies\nIf you’re using Go modules, install the dependencies with:\n\n```bash\nCopy code\ngo mod tidy\n```\n### 3. Set Up Environment Variables\nCreate a .env file in the project root directory and add your Telegram bot token:\n\n```bash\nBOT_TOKEN=your-telegram-bot-token\n```\nYou can get your bot token from BotFather.\n\n### 4. Run the Bot Locally\nTo run the bot locally, use the following command:\n\n```bash\nCopy code\ngo run .\n```\nThis will start the bot, and it will listen for commands on Telegram.\n\n### 5. Docker Setup (Optional)\n\n\n\n\n### 6. Available Commands\n- /start: Start interacting with the bot.\n- /help: Get a list of available commands.\n- /resolver: List available DNS resolvers.\n- /lookup [resolver] [domain]: Lookup the IP address for a domain using a specified resolver. Example: /lookup Google example.com.\n\n### 7. Dockerfile\nIf you prefer using Docker, the project comes with a Dockerfile that builds the bot and allows you to run it in a container. See the Docker Setup section for instructions.\n\n## Development\nIf you want to contribute to the project or make changes, follow these steps:\n\n### 1. Fork the Repository\nClick the \"Fork\" button at the top-right corner of this repository to create your own copy.\n\n### 2. Clone Your Fork\nClone your fork to your local machine:\n\n```bash\nCopy code\ngit clone https://github.com/XigmaDev/IPSeekBot.git\ncd IPSeekBot\n```\n### 3. Make Changes\nMake your changes in a new branch:\n\n```bash\nCopy code\ngit checkout -b feature-branch\n```\n### 4. Commit and Push\nCommit your changes:\n\n```bash\nCopy code\ngit add .\ngit commit -m \"Add new feature\"\n```\nPush your branch:\n\n```bash\nCopy code\ngit push origin feature-branch\n```\n### 5. Create a Pull Request\nGo to the GitHub repository and create a pull request for your changes.\n\n## License\nThis project is open-source and available under the MIT License.\n\n## Acknowledgments\n- Go for being an awesome programming language.\n- Telegram Bot API for providing an easy way to interact with Telegram users.\n- golangci-lint for linting the Go codebase.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigmadev%2Fipseekbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxigmadev%2Fipseekbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigmadev%2Fipseekbot/lists"}