{"id":27135525,"url":"https://github.com/vibe-go/vibe","last_synced_at":"2025-04-10T00:07:24.394Z","repository":{"id":285981281,"uuid":"959973198","full_name":"vibe-go/vibe","owner":"vibe-go","description":"A lightweight Go web framework built on the standard net/http library. Provides intuitive routing, middleware support, and helpful utilities while maintaining compatibility with the Go ecosystem.","archived":false,"fork":false,"pushed_at":"2025-04-06T14:20:19.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T00:07:21.284Z","etag":null,"topics":["api-framework","go","golang","http-server","lightweight","middleware","rest-api","web-framework"],"latest_commit_sha":null,"homepage":"","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/vibe-go.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2025-04-03T16:47:37.000Z","updated_at":"2025-04-06T14:19:42.000Z","dependencies_parsed_at":"2025-04-03T18:46:59.739Z","dependency_job_id":null,"html_url":"https://github.com/vibe-go/vibe","commit_stats":null,"previous_names":["sribucoding/vibe","vibe-go/vibe"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vibe-go%2Fvibe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vibe-go%2Fvibe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vibe-go%2Fvibe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vibe-go%2Fvibe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vibe-go","download_url":"https://codeload.github.com/vibe-go/vibe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131317,"owners_count":21052819,"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":["api-framework","go","golang","http-server","lightweight","middleware","rest-api","web-framework"],"created_at":"2025-04-08T01:48:27.081Z","updated_at":"2025-04-10T00:07:24.369Z","avatar_url":"https://github.com/vibe-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vibe\n\nVibe is a lightweight, flexible Go web framework designed for building modern web applications and APIs with minimal boilerplate. Built on top of Go's standard `net/http` library, Vibe provides a thin layer of convenience without sacrificing performance or compatibility.\n\n## Features\n\n- **Built on standard library**: Leverages Go's `net/http` package for maximum compatibility and performance\n- **Simple and intuitive API**: Build web applications with a clean, expressive syntax\n- **Middleware support**: Add global or route-specific middleware for cross-cutting concerns\n- **JSON handling**: Built-in utilities for working with JSON requests and responses\n- **Error handling**: Comprehensive error handling with helpful response utilities\n- **Flexible routing**: HTTP method-based routing with path parameters\n- **CORS support**: Built-in middleware for handling Cross-Origin Resource Sharing\n- **Route groups**: Organize routes with common prefixes and middleware\n\n## Why Vibe?\n\nVibe takes a pragmatic approach by building on Go's battle-tested `net/http` package rather than reinventing the wheel. This means:\n\n- **No magic**: Clear, predictable behavior that follows Go idioms\n- **Easy to learn**: If you know `net/http`, you'll feel right at home\n- **Low overhead**: Minimal performance impact compared to raw `net/http`\n- **Compatibility**: Works with existing `net/http` middleware and handlers\n- **Future-proof**: Benefits from improvements to the standard library\n\n## Installation\n\n```bash\ngo get github.com/vibe-go/vibe\n```\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n    \"net/http\"\n    \"github.com/vibe-go/vibe\"\n    \"github.com/vibe-go/vibe/respond\"\n)\n\nfunc main() {\n    router := vibe.New()\n\n    // Create an API group with version prefix\n    api := router.Group(\"/api/v1\")\n\n    // Add routes to the group\n    api.Get(\"/users\", func(w http.ResponseWriter, r *http.Request) error {\n        return httpx.JSON(w, http.StatusOK, map[string]string{\"message\": \"List of users\"})\n    })\n\n    // Nested groups for more organization\n    admin := api.Group(\"/admin\")\n    admin.Get(\"/stats\", func(w http.ResponseWriter, r *http.Request) error {\n        return httpx.JSON(w, http.StatusOK, map[string]string{\"status\": \"ok\"})\n    })\n\n    http.ListenAndServe(\":8080\", router)\n}\n```\n\n## Documentation\n\nFor detailed documentation and examples, please visit the GoDoc page .\n\n## Examples\n\nCheck out the examples directory for complete working examples:\n\n- Todo API : A simple todo list API demonstrating basic CRUD operations\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n1. Fork the repository\n2. Create your feature branch ( git checkout -b feature/amazing-feature )\n3. Commit your changes ( git commit -m 'Add some amazing feature' )\n4. Push to the branch ( git push origin feature/amazing-feature )\n5. Open a Pull Request\n   Please make sure your code follows the project's coding standards and includes appropriate tests.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE) - see the LICENSE file for details.\n\n## Code of Conduct\n\nPlease read our [Code of Conduct](CODE_OF_CONDUCT.md) to keep our community approachable and respectable.\n\n## Security\n\nIf you discover a security vulnerability within Vibe, please send an email to sribucoding@gmail.com instead of using the issue tracker.\n\n## Acknowledgments\n\n- The Go community for inspiration and best practices\n- All contributors who have helped shape this project\n\n## Future Improvements\n\n- [ ] **Request validation**: Add built-in request validation with custom error messages\n- [ ] **WebSocket support**: Real-time communication capabilities\n- [ ] **Rate limiting middleware**: Protect APIs from abuse\n- [ ] **Authentication middleware**: Common auth patterns (JWT, OAuth)\n- [ ] **Swagger/OpenAPI integration**: Automatic API documentation\n- [ ] **Hot reload**: Development mode with automatic reloading\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvibe-go%2Fvibe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvibe-go%2Fvibe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvibe-go%2Fvibe/lists"}