{"id":36482776,"url":"https://github.com/sugarshop/asgard-gateway","last_synced_at":"2026-01-12T01:04:00.493Z","repository":{"id":200951975,"uuid":"635424367","full_name":"sugarshop/asgard-gateway","owner":"sugarshop","description":"An Golang API gateway for microservices to provide HTTP endpoint, named Asgard, Using CloudWeGo as RPC framework.","archived":false,"fork":false,"pushed_at":"2024-11-24T12:08:39.000Z","size":6351,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-11-24T13:19:07.503Z","etag":null,"topics":["cloudwego","go-gin","rpc"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sugarshop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-02T17:01:45.000Z","updated_at":"2024-11-24T12:08:43.000Z","dependencies_parsed_at":"2023-10-25T08:54:38.636Z","dependency_job_id":null,"html_url":"https://github.com/sugarshop/asgard-gateway","commit_stats":null,"previous_names":["sugarshop/asgard-gateway"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sugarshop/asgard-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshop%2Fasgard-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshop%2Fasgard-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshop%2Fasgard-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshop%2Fasgard-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sugarshop","download_url":"https://codeload.github.com/sugarshop/asgard-gateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sugarshop%2Fasgard-gateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28330184,"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":["cloudwego","go-gin","rpc"],"created_at":"2026-01-12T01:03:59.195Z","updated_at":"2026-01-12T01:04:00.487Z","avatar_url":"https://github.com/sugarshop.png","language":"Go","readme":"# asgard-gateway\nA general-purpose API gateway for microservices to provide an HTTP endpoint, named Asgard.\n\nThe project uses [gin](https://github.com/gin-gonic/gin) as the `web` framework for the public access gateway layer.\n\nGo RPC framework [cloudwego/kitex](https://github.com/cloudwego/kitex)\n\n# Design Doc\n\n- [Wiki Page](https://gamma.app/public/ChattyAI-l79uftz5bxwbdd8?mode=doc)\n- [GPT API Doc](https://renaissancelabs101.notion.site/API-Access-ea86d8bd0e1345799db00bef03a92151?pvs=4)\n- [Subscription Design Doc](https://renaissancelabs101.notion.site/Subscription-0ea7aa61c2514dafac72ea1764766fd0?pvs=4)\n- [Comprehensive Cost Analyze Doc](https://renaissancelabs101.notion.site/Comprehensive-Cost-Analyze-of-Chatty-AI-System-b417ebe28a8542fe8bec4ee6f90438bb?pvs=4)\n\n## Layers\n\nThe project is divided into the following layers:\n1. Handler\n   Exposes HTTP endpoints to handle incoming requests and validate and assemble parameters without processing specific business logic.\n2. Service\n   Business logic layer.\n3. Remote\n   `RPC` client call package.\n\n### Using the Dockerfile\n\nTypically, you can follow these steps to use it:\n1. In the image, you can enter `asgard-gateway`, then:\n    1. Run `sh kitex.sh` to generate `kitex_gen`\n    2. Run `pre-commit install` (execute once) -\u003e coding -\u003e `git commit -m 'tinyfix'`...\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarshop%2Fasgard-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsugarshop%2Fasgard-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsugarshop%2Fasgard-gateway/lists"}