{"id":29019171,"url":"https://github.com/sukuna456/brhttp","last_synced_at":"2025-06-26T00:08:21.314Z","repository":{"id":301087900,"uuid":"1008041349","full_name":"SUKUNA456/brhttp","owner":"SUKUNA456","description":"brhttp is a high-performance web development server written in Go. It offers easy setup and extensive customization for modern web workflows. 🚀🌐","archived":false,"fork":false,"pushed_at":"2025-06-25T04:11:01.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T05:21:12.454Z","etag":null,"topics":["automation","binario","debian","dev-server","frontend","go","linux","live-reload","minimalist","no-dependencies","open-source","performance","reverse-proxy","security","spa","static-server","zero-config"],"latest_commit_sha":null,"homepage":"https://sukuna456.github.io","language":"Go","has_issues":false,"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/SUKUNA456.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":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-24T23:58:55.000Z","updated_at":"2025-06-25T04:11:04.000Z","dependencies_parsed_at":"2025-06-25T05:32:28.120Z","dependency_job_id":null,"html_url":"https://github.com/SUKUNA456/brhttp","commit_stats":null,"previous_names":["sukuna456/brhttp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SUKUNA456/brhttp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKUNA456%2Fbrhttp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKUNA456%2Fbrhttp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKUNA456%2Fbrhttp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKUNA456%2Fbrhttp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SUKUNA456","download_url":"https://codeload.github.com/SUKUNA456/brhttp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SUKUNA456%2Fbrhttp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261973743,"owners_count":23238588,"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":["automation","binario","debian","dev-server","frontend","go","linux","live-reload","minimalist","no-dependencies","open-source","performance","reverse-proxy","security","spa","static-server","zero-config"],"created_at":"2025-06-26T00:08:20.568Z","updated_at":"2025-06-26T00:08:21.271Z","avatar_url":"https://github.com/SUKUNA456.png","language":"Go","readme":"# brhttp: A Powerful Static Server in Go with Live Reload 🚀\n\n[![Latest Release](https://img.shields.io/github/v/release/SUKUNA456/brhttp)](https://github.com/SUKUNA456/brhttp/releases)  \n[![Open Issues](https://img.shields.io/github/issues/SUKUNA456/brhttp)](https://github.com/SUKUNA456/brhttp/issues)  \n[![License](https://img.shields.io/github/license/SUKUNA456/brhttp)](https://github.com/SUKUNA456/brhttp/blob/main/LICENSE)\n\n## Overview\n\nbrhttp is a powerful static server built in Go. It focuses on simplicity and performance, making it an excellent choice for developers looking for a minimalistic solution. With features like Live Reload, build automation via webhooks, reverse proxy capabilities, and a comprehensive control API, brhttp streamlines the development process.\n\n## Features\n\n- **Live Reload**: Automatically refresh your browser when files change.\n- **Build Automation**: Integrate with webhooks for seamless deployments.\n- **Reverse Proxy**: Route requests to different services easily.\n- **API Control**: Manage your server with a full-featured API.\n- **Minimalist Design**: No unnecessary dependencies, keeping it lightweight.\n- **Open Source**: Free to use and modify as per your needs.\n- **High Performance**: Optimized for speed and efficiency.\n\n## Installation\n\nTo get started with brhttp, download the latest release from the [Releases section](https://github.com/SUKUNA456/brhttp/releases). Choose the appropriate binary for your operating system and architecture, then execute it.\n\n### Example for Linux\n\n```bash\nwget https://github.com/SUKUNA456/brhttp/releases/download/v1.0.0/brhttp-linux-amd64\nchmod +x brhttp-linux-amd64\n./brhttp-linux-amd64\n```\n\n### Example for macOS\n\n```bash\ncurl -LO https://github.com/SUKUNA456/brhttp/releases/download/v1.0.0/brhttp-darwin-amd64\nchmod +x brhttp-darwin-amd64\n./brhttp-darwin-amd64\n```\n\n### Example for Windows\n\nDownload the binary from the [Releases section](https://github.com/SUKUNA456/brhttp/releases) and run it directly.\n\n## Usage\n\nOnce you have the server running, you can access it at `http://localhost:8080` by default. You can customize the port and other settings through command-line flags.\n\n### Command-Line Options\n\n- `-port`: Specify the port for the server to listen on.\n- `-root`: Set the root directory for static files.\n- `-enable-reload`: Enable live reload functionality.\n\n### Example Command\n\n```bash\n./brhttp-linux-amd64 -port 3000 -root ./public -enable-reload\n```\n\n## Configuration\n\nbrhttp allows for flexible configuration. You can set up a configuration file to manage your settings more conveniently.\n\n### Example Configuration File\n\n```json\n{\n  \"port\": 3000,\n  \"root\": \"./public\",\n  \"enable_reload\": true,\n  \"proxy\": {\n    \"enabled\": true,\n    \"target\": \"http://localhost:4000\"\n  }\n}\n```\n\n## API Reference\n\nbrhttp comes with a RESTful API that allows you to control the server programmatically. You can start, stop, and configure the server through simple HTTP requests.\n\n### Example API Endpoints\n\n- **Start Server**: `POST /api/start`\n- **Stop Server**: `POST /api/stop`\n- **Get Status**: `GET /api/status`\n\n### Example cURL Command\n\n```bash\ncurl -X POST http://localhost:8080/api/start\n```\n\n## Topics Covered\n\n- **Automation**: Integrate brhttp into your CI/CD pipeline.\n- **Binary**: Standalone binary for easy deployment.\n- **Debian**: Compatible with Debian-based systems.\n- **Dev Server**: Ideal for development environments.\n- **Frontend**: Perfect for serving static frontend applications.\n- **Go**: Built with Go for high performance.\n- **Golang**: Leverage the power of Golang.\n- **Linux**: Fully functional on Linux systems.\n- **Live Reload**: Enhance development workflow.\n- **Minimalist**: No bloat, just what you need.\n- **No Dependencies**: Simple setup without extra libraries.\n- **Open Source**: Contribute to the project on GitHub.\n- **Performance**: Fast and efficient static file serving.\n- **Reverse Proxy**: Manage multiple services easily.\n- **Security**: Built with best practices in mind.\n- **SPA**: Serve Single Page Applications seamlessly.\n- **Static Server**: Designed for serving static content.\n- **Zero Config**: Get started with minimal setup.\n\n## Contribution\n\nWe welcome contributions to brhttp! If you have ideas, improvements, or bug fixes, please open an issue or submit a pull request. \n\n### How to Contribute\n\n1. Fork the repository.\n2. Create a new branch.\n3. Make your changes.\n4. Commit and push your changes.\n5. Open a pull request.\n\n## License\n\nbrhttp is open-source software licensed under the MIT License. You can view the full license [here](https://github.com/SUKUNA456/brhttp/blob/main/LICENSE).\n\n## Support\n\nFor any questions or issues, please check the [Issues section](https://github.com/SUKUNA456/brhttp/issues) or open a new issue if you need help.\n\n## Resources\n\n- [Go Documentation](https://golang.org/doc/)\n- [GitHub Actions](https://docs.github.com/en/actions)\n- [Webhooks](https://developer.github.com/webhooks/)\n- [Reverse Proxy Basics](https://www.nginx.com/resources/glossary/reverse-proxy-server/)\n\n## Acknowledgments\n\nThank you to all contributors and users who make brhttp better. Your feedback and contributions are invaluable.\n\nFor more information, visit the [Releases section](https://github.com/SUKUNA456/brhttp/releases) to download the latest version and stay updated with new features and improvements.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukuna456%2Fbrhttp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsukuna456%2Fbrhttp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsukuna456%2Fbrhttp/lists"}