{"id":36486285,"url":"https://github.com/n9te9/aria","last_synced_at":"2026-01-12T01:51:35.637Z","repository":{"id":311576562,"uuid":"1043561958","full_name":"n9te9/aria","owner":"n9te9","description":"aria is WebSocket Framework Inspired by olahol/melody, based on coder/websocket.","archived":false,"fork":false,"pushed_at":"2025-08-26T10:26:33.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-20T14:58:19.341Z","etag":null,"topics":["chat","framework","go","golang","real-time","realtime-messaging","websocket"],"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/n9te9.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-08-24T05:59:54.000Z","updated_at":"2025-08-28T01:08:30.000Z","dependencies_parsed_at":"2025-08-25T10:57:17.979Z","dependency_job_id":"6e89979c-556c-44f8-81a6-29a8881934ba","html_url":"https://github.com/n9te9/aria","commit_stats":null,"previous_names":["n9te9/aria"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/n9te9/aria","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n9te9%2Faria","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n9te9%2Faria/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n9te9%2Faria/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n9te9%2Faria/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n9te9","download_url":"https://codeload.github.com/n9te9/aria/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n9te9%2Faria/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"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":["chat","framework","go","golang","real-time","realtime-messaging","websocket"],"created_at":"2026-01-12T01:51:35.580Z","updated_at":"2026-01-12T01:51:35.631Z","avatar_url":"https://github.com/n9te9.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aria\n\n**Aria** is a lightweight, event-driven WebSocket framework for Go.\nAria is inspired by [olahol/melody](https://github.com/olahol/melody), and based on [coder/websocket](https://github.com/coder/websocket).\nIt provides a simple API for managing WebSocket connections, broadcasting messages, and handling events like `OnConnect`, `OnMessage`, `OnClose`, and `OnDisconnect`.  \n\nThe goal of Aria is to make building real-time applications (chat servers, dashboards, games, etc.) as straightforward as possible while keeping performance and code clarity.\n\n---\n\n## Features\n\n- ✅ Simple API inspired by event-driven frameworks  \n- ✅ Hook functions: `OnConnect`, `OnMessage`, `OnClose`, `OnDisconnect`, `OnMessageBinary`, `OnError`  \n- ✅ Broadcast support (`BroadCast` and `BroadCastFilter`)  \n- ✅ Connection lifecycle management with graceful cleanup  \n- ✅ Context-aware connection handling (`Handle` and `HandleWithContext`)  \n- ✅ Support for WebSocket compression and subprotocols via options  \n\n---\n\n## Installation\n\n```bash\ngo get github.com/n9te9/aria\n```\n\n## Quick Start\n\nSee the [_example/chat](https://github.com/n9te9/aria/tree/main/_example/chat) directory for a complete chat application using Aria.\nThis includes both a Go WebSocket server and a simple HTML/JavaScript client.\n\n## Contribution\n\nContributions are welcome! 🎉\nIf you’d like to improve Aria, please follow these steps:\n\n1. Fork the repository\n2. Create a feature branch (git checkout -b feature/my-feature)\n3. Write your code and add/update tests\n4. Run go test ./... to ensure all tests pass\n5. Open a Pull Request with a clear description of your changes\n\nPlease also check for consistency in naming conventions, comments, and code style before submitting.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn9te9%2Faria","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn9te9%2Faria","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn9te9%2Faria/lists"}