{"id":29702508,"url":"https://github.com/ahmuq/x-gen","last_synced_at":"2025-07-23T12:39:29.890Z","repository":{"id":295759963,"uuid":"984442613","full_name":"ahmuq/x-gen","owner":"ahmuq","description":"Twitter/X Generator Fully Request","archived":false,"fork":false,"pushed_at":"2025-06-15T02:12:51.000Z","size":4244,"stargazers_count":23,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-13T03:45:04.042Z","etag":null,"topics":["generator","go","golang","twitter","x"],"latest_commit_sha":null,"homepage":"https://x.com/","language":"Go","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/ahmuq.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":"2025-05-16T00:08:59.000Z","updated_at":"2025-07-05T13:38:43.000Z","dependencies_parsed_at":"2025-05-27T08:48:15.597Z","dependency_job_id":"cbc2404e-1943-4ee8-90c0-5211705118a5","html_url":"https://github.com/ahmuq/x-gen","commit_stats":null,"previous_names":["ahlulmukh/x-gen","ahmuq/x-gen"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ahmuq/x-gen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmuq%2Fx-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmuq%2Fx-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmuq%2Fx-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmuq%2Fx-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmuq","download_url":"https://codeload.github.com/ahmuq/x-gen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmuq%2Fx-gen/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266680657,"owners_count":23967795,"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","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":["generator","go","golang","twitter","x"],"created_at":"2025-07-23T12:39:28.075Z","updated_at":"2025-07-23T12:39:29.870Z","avatar_url":"https://github.com/ahmuq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# X-Gen - Automated X.com (Twitter) Account Generator\n\n🤖 **Powerful automated tool for creating X.com accounts with email verification and captcha solving**\n\n![Version](https://img.shields.io/badge/version-0.0.3-blue.svg)\n![Go Version](https://img.shields.io/badge/go-1.24.2-blue.svg)\n![License](https://img.shields.io/badge/license-MIT-green.svg)\n\n![Preview](preview.gif)\n\n## 📋 Table of Contents\n\n- [Features](#-features)\n- [Project Structure](#-project-structure)\n- [Installation](#-installation)\n- [Configuration](#-configuration)\n- [Usage](#-usage)\n- [File Formats](#-file-formats)\n- [Email Service Configuration](#-email-service-configuration)\n- [Captcha Services](#-captcha-services)\n- [Proxy Support](#-proxy-support)\n- [Output Files](#-output-files)\n- [Troubleshooting](#-troubleshooting)\n- [Contributing](#-contributing)\n- [Disclaimer](#-disclaimer)\n\n## 🚀 Features\n\n- ✅ **Automated X.com Account Creation** - Fully automated account registration process\n- 📧 **Temporary Email Integration** - Uses Mail.tm for automatic email verification\n- 🔐 **Multi-Captcha Support** - AntiCaptcha and 2Captcha integration\n- 🌐 **Proxy Support** - HTTP/SOCKS proxy rotation for anonymity\n- 📊 **Multi-threading** - Concurrent account generation for efficiency\n- 🎯 **Indonesian Name Generation** - Built-in Indonesian name generator\n- 💾 **Auto-Save Results** - Automatically saves accounts and auth tokens\n- 🔄 **Auto-Update System** - Built-in update checker and installer\n- 🎨 **Beautiful CLI Interface** - Colorful and user-friendly interface\n- ⚙️ **Configuration Management** - Easy config setup and editing\n\n## 📁 Project Structure\n\n```\nx-gen/\n├── cmd/\n│   └── main.go                    # Application entry point\n├── internal/\n│   ├── captcha/\n│   │   └── captcha.go            # Captcha solving services\n│   ├── menu/\n│   │   ├── config.go             # Configuration management\n│   │   ├── menu.go               # Main menu interface\n│   │   └── x-gen.go              # Account generation workflow\n│   ├── proxy/\n│   │   └── proxy.go              # Proxy management and rotation\n│   ├── updater/\n│   │   └── updater.go            # Auto-update functionality\n│   ├── utils/\n│   │   ├── mailhandler.go        # Mail.tm email handling\n│   │   └── utils.go              # Utility functions and logging\n│   └── xgen/\n│       ├── x-account.go          # Core X.com account creation logic\n│       └── xgen.go               # X account generator struct\n├── accounts.txt                   # Generated accounts (email:password:username)\n├── authtoken.txt                  # Generated auth tokens\n├── config.json                    # Application configuration\n├── proxy.txt                      # Proxy list (optional)\n├── go.mod                         # Go module dependencies\n├── go.sum                         # Go module checksums\n└── README.md                      # Project documentation\n```\n\n## 🔧 Installation\n\n### Prerequisites\n\n- Go 1.24.2 or higher\n- Internet connection\n- Valid captcha service API key (AntiCaptcha or 2Captcha)\n\n### Steps\n\n1. **Clone or download the project**\n\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd x-gen\n   ```\n\n2. **Install dependencies**\n\n   ```bash\n   go mod tidy\n   ```\n\n3. **Build the application**\n\n   ```bash\n   go build -o x-gen.exe cmd/main.go\n   ```\n\n4. **Run the application**\n   ```bash\n   ./x-gen.exe\n   ```\n\n## ⚙️ Configuration\n\nOn first run, the application will guide you through creating a configuration file.\n\n### Setting up Captcha Service\n\nChoose one of the supported captcha services:\n\n#### Option 1: AntiCaptcha\n\n```json\n{\n  \"captchaServices\": {\n    \"captchaUsing\": \"antiCaptcha\",\n    \"antiCaptchaApikey\": [\"your-anticaptcha-api-key\"]\n  }\n}\n```\n\n#### Option 2: 2Captcha\n\n```json\n{\n  \"captchaServices\": {\n    \"captchaUsing\": \"2captcha\",\n    \"captcha2Apikey\": [\"your-2captcha-api-key\"]\n  }\n}\n```\n\n### Editing Configuration\n\nYou can modify the configuration anytime by:\n\n1. Selecting option `2. Edit Config` from the main menu\n2. Manually editing `config.json` file\n\n## 🎯 Usage\n\n### Basic Usage\n\n1. **Start the application**\n\n   ```bash\n   ./x-gen.exe\n   ```\n\n2. **Main Menu Options**\n\n   ```\n   1. X.com Account Generator  - Generate new accounts\n   2. Edit Config             - Modify configuration\n   3. Information            - View file format information\n   4. Exit                   - Close application\n   ```\n\n3. **Generate Accounts**\n   - Select option 1\n   - Enter number of accounts to generate\n   - Enter number of threads (concurrent workers)\n   - Wait for completion\n\n### Advanced Usage\n\n- **Multi-threading**: Use 2-5 threads for optimal performance\n- **Proxy Rotation**: Add proxies to `proxy.txt` for better success rate\n- **Batch Generation**: Generate multiple accounts in one session\n\n## 📄 File Formats\n\n### accounts.txt\n\nGenerated accounts are saved in the format:\n\n```\nemail@mail.tm:generatedPassword:@username\nemail2@mail.tm:generatedPassword2:@username2\n```\n\n### authtoken.txt\n\nAuthentication tokens are saved one per line:\n\n```\nauth_token_1\nauth_token_2\nauth_token_3\n```\n\n### proxy.txt (optional)\n\nProxy list in the format:\n\n```\nuser:pass@host:port\nhttp://username:password@proxy.example.com:8080\nsocks5://user:pass@proxy.example.com:1080\n```\n\n## 📧 Email Service Configuration\n\n### Mail.tm Integration\n\nThe application uses **Mail.tm** service for temporary email creation:\n\n- **Automatic Account Creation**: Creates temporary email accounts automatically\n- **Email Verification**: Automatically retrieves verification codes\n- **No Manual Setup**: No additional configuration required\n- **Temporary Emails**: Emails are temporary and will be deleted automatically\n\n### How It Works\n\n1. Creates a temporary email account using Mail.tm API\n2. Uses the email for X.com registration\n3. Automatically polls for verification emails\n4. Extracts verification code using regex patterns\n5. Completes the verification process\n\n### Fallback Method\n\nIf automatic email verification fails, the application will:\n\n- Display the email address used\n- Prompt for manual verification code entry\n- Continue with the registration process\n\n## 🔐 Captcha Services\n\n### Supported Services\n\n#### 1. AntiCaptcha\n\n- **Website**: https://anti-captcha.com/\n- **Pricing**: Pay per captcha solved\n- **Setup**: Get API key from dashboard\n- **Recommended**: Yes, generally faster\n\n#### 2. 2Captcha\n\n- **Website**: https://2captcha.com/\n- **Pricing**: Pay per captcha solved\n- **Setup**: Get API key from account settings\n- **Recommended**: Good alternative option\n\n### Captcha Service Configuration\n\n1. **Sign up** for your preferred captcha service\n2. **Get API key** from your account dashboard\n3. **Add funds** to your account\n4. **Configure** the API key in the application\n\n## 🌐 Proxy Support\n\n### Supported Proxy Types\n\n- **HTTP Proxies**: `http://user:pass@host:port`\n- **HTTPS Proxies**: `https://user:pass@host:port`\n- **SOCKS5 Proxies**: `socks5://user:pass@host:port`\n\n### Proxy Configuration\n\n1. **Create** `proxy.txt` file in the project root\n2. **Add proxies** one per line in the format shown above\n3. **No authentication** proxies: `host:port`\n4. **With authentication**: `user:pass@host:port`\n\n### Proxy Features\n\n- **Automatic Rotation**: Randomly selects proxies for each request\n- **IP Checking**: Verifies IP changes between requests\n- **Error Handling**: Automatically switches proxies on failure\n- **Optional Usage**: Application works without proxies\n\n## 📊 Output Files\n\n### Generated Files\n\n1. **accounts.txt**\n\n   - Contains all successfully created accounts\n   - Format: `email:password:username`\n   - Automatically updated after each successful generation\n\n2. **authtoken.txt**\n\n   - Contains authentication tokens for created accounts\n   - One token per line\n   - Can be used for API access\n\n3. **config.json**\n   - Application configuration\n   - Captcha service settings\n   - Can be edited manually or through the interface\n\n### File Location\n\nAll output files are created in the same directory as the executable.\n\n## 🔧 Troubleshooting\n\n### Common Issues\n\n#### 1. Captcha Solving Fails\n\n- **Check API key**: Ensure your captcha service API key is correct\n- **Check balance**: Verify you have sufficient funds in your captcha service account\n- **Service status**: Check if the captcha service is operational\n\n#### 2. Email Verification Fails\n\n- **Network issues**: Check your internet connection\n- **Mail.tm status**: The service might be temporarily unavailable\n- **Manual verification**: Use the fallback manual verification option\n\n#### 3. Account Creation Fails\n\n- **Rate limiting**: X.com might be rate limiting requests\n- **Proxy issues**: Try using different proxies or no proxy\n- **Captcha issues**: Ensure captcha service is working properly\n\n#### 4. Proxy Connection Issues\n\n- **Format check**: Verify proxy format is correct\n- **Credentials**: Ensure proxy username/password are correct\n- **Proxy status**: Test if proxies are working\n\n### Debug Tips\n\n1. **Check logs**: Application provides detailed logging with timestamps\n2. **Start small**: Test with 1 account and 1 thread first\n3. **Monitor success rate**: Check the success/failure ratio\n4. **Update regularly**: Keep the application updated\n\n## 🤝 Contributing\n\nContributions are welcome! Please:\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Add tests if applicable\n5. Submit a pull request\n\n## Donation\n\nIf you would like to support the development of this project, you can make a donation using the following addresses:\n\n- Solana: `FdHsx8He55QgRCSv6NMEpFfkjXFsXFEeWEpJpo7sUQZe`\n- EVM: `0x406de5ec09201002c45fdd408ab23159cd12fa3e`\n- BTC: `bc1prze475lgalevngrhwq6r9wyng3rl3zskyru4rn4k6j8kwzmmczmqcd7u7y`\n\n## ⚠️ Disclaimer\n\nThis tool is for educational and testing purposes only. Users are responsible for:\n\n- **Compliance**: Ensuring compliance with X.com's Terms of Service\n- **Legal use**: Using the tool within legal boundaries\n- **Ethical use**: Not using for spam or malicious activities\n- **Rate limits**: Respecting platform rate limits and policies\n\nThe developers are not responsible for any misuse of this tool or any consequences arising from its use.\n\n**⭐ If this project helped you, please give it a star!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmuq%2Fx-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmuq%2Fx-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmuq%2Fx-gen/lists"}