{"id":21534486,"url":"https://github.com/b1nary-gr0up/piano","last_synced_at":"2025-07-08T15:04:18.150Z","repository":{"id":65231240,"uuid":"585927210","full_name":"B1NARY-GR0UP/piano","owner":"B1NARY-GR0UP","description":"Simple and lightweight HTTP framework.","archived":false,"fork":false,"pushed_at":"2024-07-13T05:12:50.000Z","size":252,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-08T15:04:09.791Z","etag":null,"topics":["go","http"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/B1NARY-GR0UP.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}},"created_at":"2023-01-06T13:18:50.000Z","updated_at":"2024-10-09T12:18:06.000Z","dependencies_parsed_at":"2023-11-09T13:00:24.883Z","dependency_job_id":"41acc837-121b-4b27-b102-dd745eba5184","html_url":"https://github.com/B1NARY-GR0UP/piano","commit_stats":{"total_commits":57,"total_committers":3,"mean_commits":19.0,"dds":"0.052631578947368474","last_synced_commit":"e218a6350d19faac3d2eedbd658c97c9a9558ea6"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/B1NARY-GR0UP/piano","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1NARY-GR0UP%2Fpiano","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1NARY-GR0UP%2Fpiano/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1NARY-GR0UP%2Fpiano/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1NARY-GR0UP%2Fpiano/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B1NARY-GR0UP","download_url":"https://codeload.github.com/B1NARY-GR0UP/piano/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B1NARY-GR0UP%2Fpiano/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264292907,"owners_count":23586059,"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":["go","http"],"created_at":"2024-11-24T03:10:56.704Z","updated_at":"2025-07-08T15:04:18.116Z","avatar_url":"https://github.com/B1NARY-GR0UP.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![piano](images/PIANO.png)\n\nPIANO is a simple and lightweight HTTP framework.\n\n[![Go Report Card](https://goreportcard.com/badge/github.com/B1NARY-GR0UP/piano)](https://goreportcard.com/report/github.com/B1NARY-GR0UP/piano)\n\n## Install\n\n```shell\ngo get github.com/B1NARY-GR0UP/piano\n```\n\n## Quick Start\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\n\t\"github.com/B1NARY-GR0UP/piano/core\"\n\t\"github.com/B1NARY-GR0UP/piano/core/bin\"\n\t\"github.com/B1NARY-GR0UP/piano/pkg/consts\"\n)\n\nfunc main() {\n\tp := bin.Default()\n\tp.GET(\"/hello\", func(ctx context.Context, pk *core.PianoKey) {\n\t\tpk.String(consts.StatusOK, \"piano\")\n\t})\n\tp.Play()\n}\n```\n\nRefer to [piano-examples](https://github.com/rainiring/piano-examples) for more information.\n\n## Related Projects\n\n- [PIANO-EXAMPLES](https://github.com/rainiring/piano-examples) | Examples for PIANO | `examples`\n- [DREAMEMO](https://github.com/B1NARY-GR0UP/dreamemo) | A distributed cache with out-of-the-box, high-scalability, modular-design features. | `golang` `cache` `distributed`\n\n## Blogs\n\n- [PIANO: A Simple and Lightweight HTTP Framework Implemented in Go](https://dev.to/justlorain/piano-a-simple-and-lightweight-http-framework-implemented-in-go-224p)\n- [如何使用 channel 实现一个优雅退出功能？](https://juejin.cn/post/7207423263344427068)\n\n## Acknowledgement\n\nThanks for the IDE license support by [JetBrains OpenSource Support](https://jb.gg/OpenSourceSupport).\n\n\u003cimg src=\"./images/jb_beam.png\" width=\"300\" alt=\"jb beam\"/\u003e\n\n## License\n\nPIANO is distributed under the [Apache License 2.0](./LICENSE). The licenses of third party dependencies of PIANO are explained [here](./licenses).\n\n## ECOLOGY\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/justlorain/justlorain/blob/main/images/BINARY-WEB-ECO.png\" alt=\"BINARY-WEB-ECO\"/\u003e\n\u003cbr/\u003e\u003cbr/\u003e\nPIANO is a Subproject of the \u003ca href=\"https://github.com/B1NARY-GR0UP\"\u003eBINARY WEB ECOLOGY\u003c/a\u003e\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb1nary-gr0up%2Fpiano","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb1nary-gr0up%2Fpiano","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb1nary-gr0up%2Fpiano/lists"}