{"id":23785019,"url":"https://github.com/spy16/forge","last_synced_at":"2025-09-06T02:32:42.875Z","repository":{"id":80577743,"uuid":"605593161","full_name":"spy16/forge","owner":"spy16","description":"Where the apps are forged! 🔥","archived":false,"fork":false,"pushed_at":"2023-06-15T18:54:51.000Z","size":160,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T19:39:03.392Z","etag":null,"topics":["authentication","fullstack","golang","saas-boilerplate"],"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/spy16.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-02-23T13:44:12.000Z","updated_at":"2024-02-09T19:38:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6909eb3-638d-4d95-808c-43b649f01213","html_url":"https://github.com/spy16/forge","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"51e750f87bcb739d4e58911d75e4d7e7d274fc6b"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/spy16/forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fforge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fforge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fforge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fforge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spy16","download_url":"https://codeload.github.com/spy16/forge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fforge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273848316,"owners_count":25178892,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["authentication","fullstack","golang","saas-boilerplate"],"created_at":"2025-01-01T13:13:49.775Z","updated_at":"2025-09-06T02:32:42.574Z","avatar_url":"https://github.com/spy16.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e WIP\n\n# 🔥 Forge\n\nA Go library/tool for building backend for fullstack apps.\n\n## Usage\n\nForge can be used either directly as a tool or as a library.\n\n### As a tool\n\n1. Download \u0026 unpack a Go release from [releases](https://github.com/spy16/forge/releases) section.\n2. Tune the `forge.yml` file as per your needs.\n3. Run `./forge serve -c forge.yml`\n\n\u003e If you have frontend build, use `--static=./ui` to serve as static files.\n\n### As a library [Goal]\n\n```golang\npackage main\n\nimport (\n\t\"github.com/gin-gonic/gin\"\n\t\"github.com/spy16/forge\"\n\t\"github.com/spy16/forge/builtins/firebase\"\n\t\"github.com/spy16/forge/core\"\n)\n\nfunc main() {\n\tcli := forge.CLI(\"myapp\",\n\t\tforge.WithAuth(\u0026firebase.Auth{\n\t\t\tProjectID: \"foo\",\n\t\t}),\n\t\tforge.WithPostHook(func(app core.App, conf core.ConfigLoader) error {\n\t\t\tr := app.Chi()\n\t\t\tr.Use(app.Authenticate())\n\t\t\tr.Get(\"/api/my-endpoint\", func(w http.ResponseWriter, r *http.Request) {\n\t\t\t\t// Only accessible with firebase auth token\n            })\n\t\t\treturn nil\n\t\t}),\n\t)\n\t_ = cli.Execute()\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspy16%2Fforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspy16%2Fforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspy16%2Fforge/lists"}