{"id":26656480,"url":"https://github.com/calpa/urusai","last_synced_at":"2026-01-19T21:59:48.547Z","repository":{"id":282563378,"uuid":"948991118","full_name":"calpa/urusai","owner":"calpa","description":"Go implementation of noisy HTTP/DNS traffic generator","archived":false,"fork":false,"pushed_at":"2025-10-29T04:43:45.000Z","size":35,"stargazers_count":174,"open_issues_count":0,"forks_count":11,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-29T06:25:49.672Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/calpa.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":"2025-03-15T12:33:40.000Z","updated_at":"2025-10-29T04:43:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"01250e65-6dd4-4247-841f-ed95e746bd24","html_url":"https://github.com/calpa/urusai","commit_stats":null,"previous_names":["calpa/urusai"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/calpa/urusai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calpa%2Furusai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calpa%2Furusai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calpa%2Furusai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calpa%2Furusai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calpa","download_url":"https://codeload.github.com/calpa/urusai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calpa%2Furusai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28579605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T17:42:58.221Z","status":"ssl_error","status_checked_at":"2026-01-19T17:40:54.158Z","response_time":67,"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":[],"created_at":"2025-03-25T07:31:47.867Z","updated_at":"2026-01-19T21:59:48.542Z","avatar_url":"https://github.com/calpa.png","language":"Go","funding_links":[],"categories":["安全","Security"],"sub_categories":["HTTP客户端","HTTP Clients"],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 🔊 Urusai\n\n### うるさい - Your Privacy Shield in the Digital Noise\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/calpa/urusai)](https://goreportcard.com/report/github.com/calpa/urusai)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![GitHub stars](https://img.shields.io/github/stars/calpa/urusai.svg)](https://github.com/calpa/urusai/stargazers)\n[![GitHub last commit](https://img.shields.io/github/last-commit/calpa/urusai.svg)](https://github.com/calpa/urusai/commits/main)\n\n*A Go implementation of [noisy](https://github.com/1tayH/noisy) - Making your web traffic less valuable, one request at a time* 🛡️\n\n\u003c/div\u003e\n\n## 🌟 What is Urusai?\n\nUrusai (Japanese for 'noisy') is your digital privacy companion that generates random HTTP/DNS traffic noise in the background while you browse the web. By creating this digital smokescreen, it helps make your actual web traffic data less valuable for tracking and selling.\n\n## ✨ Features\n\n- 🌐 Generates random HTTP/DNS traffic by crawling websites\n- ⚙️ Configurable via JSON configuration file\n- 🎭 Customizable user agents, root URLs, and blacklisted URLs\n- ⏱️ Adjustable crawling depth and sleep intervals\n- ⏰ Optional timeout setting\n\n## 📥 Installation\n\n### Arch Linux (AUR)\n\n   ```bash\n   yay -S urusai\n   ```\n\n### Void Linux\n\n   ```bash\n   sudo xbps-install -S urusai\n   ```\n\n### 📦 Using Pre-built Binaries\n\nThe easiest way to get started is to download a pre-built binary from the [releases page](https://github.com/calpa/urusai/releases) 🚀\n\n1. Download the appropriate binary for your platform:\n   - 🍎 `urusai-macos-amd64` - for macOS Intel systems\n   - 🍏 `urusai-macos-arm64` - for macOS Apple Silicon systems\n   - 🐧 `urusai-linux-amd64` - for Linux x86_64 systems\n   - 🪟 `urusai-windows-amd64.exe` - for Windows x86_64 systems\n\n2. Make the binary executable (Unix-based systems only):\n   ```bash\n   chmod +x urusai-*\n   ```\n\n3. 🚀 Run the binary:\n   ```bash\n   # 🍎 On macOS (Intel)\n   ./urusai-macos-amd64\n   \n   # 🍏 On macOS (Apple Silicon)\n   ./urusai-macos-arm64\n   \n   # 🐧 On Linux\n   ./urusai-linux-amd64\n   \n   # 🪟 On Windows (using Command Prompt)\n   urusai-windows-amd64.exe\n   ```\n\n### 🛠️ Building from Source\n\n```bash\n# 💻 Clone the repository\ngit clone https://github.com/calpa/urusai.git\n\n# 📁 Navigate to the project directory\ncd urusai\n\n# 💿 Build the project\ngo build -o urusai\n```\n\n### 🐳 Using Docker\n\n#### 🌌 Pull from Docker Hub\n\n```bash\n# 📥 Pull the latest image\ndocker pull calpa/urusai:latest\n\n# 🚀 Run the container with default configuration\ndocker run calpa/urusai\n\n# ⚙️ Run with custom configuration (mount your config file)\ndocker run -v $(pwd)/config.json:/app/config.json calpa/urusai --config config.json\n```\n\nThe Docker image is available for multiple platforms:\n- 💻 linux/amd64 (x86_64)\n- 🍏 linux/arm64 (Apple Silicon)\n- 📱 linux/arm/v7 (32-bit ARM)\n\n#### 💻 Build Locally\n\n```bash\n# 🏗️ Build the Docker image\ndocker build -t urusai .\n\n# 🚀 Run your locally built container\ndocker run urusai\n```\n\n## Usage\n\n```bash\n# Run with built-in default configuration\n./urusai\n\n# Run with custom configuration file\n./urusai --config config.json\n\n# Show help\n./urusai --help\n```\n\n### Command Line Arguments\n\n- `--config`: Path to the configuration file (optional, uses built-in default configuration if not specified)\n- `--log`: Logging level (default: \"info\")\n- `--timeout`: For how long the crawler should be running, in seconds (optional, 0 means no timeout)\n\n## ⚙️ Configuration\n\nUrusai comes with a built-in default configuration, but you can also provide your own custom configuration file. The configuration is in JSON format with the following structure:\n\n```jsonc\n{\n    \"max_depth\": 25,      // 🕳️ Maximum crawling depth\n    \"min_sleep\": 3,      // 💤 Minimum sleep between requests (seconds)\n    \"max_sleep\": 6,      // ⏳ Maximum sleep between requests (seconds)\n    \"timeout\": 0,        // ⏰ Crawler timeout (0 = no timeout)\n    \"root_urls\": [       // 🌐 Starting points for crawling\n        \"https://www.wikipedia.org\",\n        \"https://www.github.com\"\n    ],\n    \"blacklisted_urls\": [ // ⛔ URLs to skip\n        \".css\",\n        \".ico\",\n        \".xml\"\n    ],\n    \"user_agents\": [      // 👨‍💻 Browser identities\n        \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36\"\n    ]\n}\n```\n\n## 👨‍💻 For Developers\n\n### 🛠️ Development\n\nUrusai is developed using standard Go practices. Here are some commands that will help you during development:\n\n```bash\n# 💻 Run the project directly without building\ngo run main.go\n\n# 📝 Run with a specific log level\ngo run main.go --log debug\n\n# ⚙️ Run with a custom configuration file\ngo run main.go --config config.json\n\n# ⏰ Run with a timeout (in seconds)\ngo run main.go --timeout 300\n```\n\n### 🧪 Testing\n\nUrusai includes comprehensive test coverage for all packages. The tests verify configuration loading, command-line flag parsing, and crawler functionality.\n\n```bash\n# 🎣 Run all tests\ngo test ./...\n\n# 📘 Run tests with verbose output\ngo test -v ./...\n\n# 📈 Run tests with coverage\ngo test -cover ./...\n\n# 📋 Generate a coverage report\ngo test -coverprofile=coverage.out ./...\ngo tool cover -html=coverage.out\n```\n\nTest files include:\n- 📓 `main_test.go`: Tests for command-line parsing, configuration loading, and signal handling\n- 📒 `config/config_test.go`: Tests for configuration loading and validation\n\n### 🏗️ Building\n\n```bash\n# 🛠️ Build for the current platform\ngo build -o urusai\n\n# 💻 Build for a specific platform (e.g., Linux)\nGOOS=linux GOARCH=amd64 go build -o urusai-linux-amd64\n\n# 🌐 Build for multiple platforms\nGOOS=darwin GOARCH=amd64 go build -o urusai-macos-amd64\nGOOS=windows GOARCH=amd64 go build -o urusai-windows-amd64.exe\n```\n\n## ⭐ Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=calpa/urusai\u0026type=Timeline)](https://www.star-history.com/#calpa/urusai\u0026Timeline)\n\n\n### 🚀 Releases\n\nUrusai uses GitHub Actions for automated releases. When a new tag with format `v*` (e.g., `v1.0.0`) is pushed to the repository, GitHub Actions will automatically:\n\n1. 🧪 Run tests to ensure code quality\n2. 🔨 Build binaries for all supported platforms (macOS Intel/ARM, Linux, Windows)\n3. 📦 Create compressed archives of the binaries\n4. 🎉 Create a new GitHub release with the binaries attached\n\nTo create a new release:\n\n```bash\n# 🏷️ Tag the commit\ngit tag v1.0.0\n\n# 🚀 Push the tag to GitHub\ngit push origin v1.0.0\n```\n\nThe GitHub Actions workflow will handle the rest automatically.\n\n### 💎 Code Quality\n\n```bash\n# 🎨 Format code\ngo fmt ./...\n\n# 🔍 Vet code for potential issues\ngo vet ./...\n\n# ✨ Run linter (requires golint)\ngo install golang.org/x/lint/golint@latest\ngolint ./...\n\n# 🔬 Run static analysis (requires staticcheck)\ngo install honnef.co/go/tools/cmd/staticcheck@latest\nstaticcheck ./...\n```\n\n## 📜 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. ⚖️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalpa%2Furusai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalpa%2Furusai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalpa%2Furusai/lists"}