{"id":37200864,"url":"https://github.com/goph/fw","last_synced_at":"2026-01-14T23:09:53.804Z","repository":{"id":135488492,"uuid":"105375023","full_name":"goph/fw","owner":"goph","description":"⚠ [ARCHIVED] A simple, unbiased application framework with sane defaults","archived":true,"fork":false,"pushed_at":"2017-10-11T17:41:39.000Z","size":86,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-06-20T10:06:18.645Z","etag":null,"topics":["application-framework","defaults","go","golang"],"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/goph.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-09-30T14:22:33.000Z","updated_at":"2023-01-28T15:06:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"a83fffa3-5054-4b49-a7a7-0b1d4836b60b","html_url":"https://github.com/goph/fw","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/goph/fw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goph%2Ffw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goph%2Ffw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goph%2Ffw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goph%2Ffw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goph","download_url":"https://codeload.github.com/goph/fw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goph%2Ffw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28437930,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: 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":["application-framework","defaults","go","golang"],"created_at":"2026-01-14T23:09:52.988Z","updated_at":"2026-01-14T23:09:53.739Z","avatar_url":"https://github.com/goph.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fw\n\n[![Build Status](https://img.shields.io/travis/goph/fw.svg?style=flat-square)](https://travis-ci.org/goph/fw)\n[![Go Report Card](https://goreportcard.com/badge/github.com/goph/fw?style=flat-square)](https://goreportcard.com/report/github.com/goph/fw)\n[![GoDoc](http://img.shields.io/badge/godoc-reference-5272B4.svg?style=flat-square)](https://godoc.org/github.com/goph/fw)\n\n\n**A simple, unbiased application framework with sane defaults.**\n\n`fw` is a simple application framework for Go. Unlike most of the other\nframeworks, this one is not coupled to a single transport layer (HTTP, gRPC),\nin fact it does not make any assumptions about your application.\nIt can be a daemon, a simple cron job, or an HTTP server, nearly anything.\n\nOn the other hand, it's bit opinionated in terms of some\ncommon application components:\n\n- [go-kit](https://github.com/go-kit/kit/tree/master/log) is used for logging\n- [emperror](https://github.com/goph/emperror) is used for error handling\n- [opentracing](http://opentracing.io/) is used for application traces\n\nThat said, using these components in your application is optional.\n\n\n## Installation\n\nSince this library uses [Glide](http://glide.sh/) I recommend using it in your\nproject as well.\n\n```bash\n$ glide get github.com/goph/fw\n```\n\n\n## Usage\n\n```go\npackage main\n\nimport \"github.com/goph/fw\"\n\nfunc main() {\n    app := fw.NewApplication()\n    defer app.Close()\n    \n    // your app logic\n}\n```\n\nYou can also take a look at some [boilerplate](https://github.com/deshboard/boilerplate-service)\ncode which relies on this framework.\n\n\n## History\n\nWhen I first started to work with Go I was amazed by the standard library.\n(Almost) Everything I needed was already there. Of course not all of the tools\nwere perfect, so I had to pull in some external libraries (logging, error handling, etc),\nbut there was no need for any frameworks or complex configuration to build my applications.\n\nSoon I realized that this \"no framework\" philosophy requires a lot of copy-pasting.\nSo I created [boilerplates](https://github.com/deshboard/boilerplate-service) to\nmake copying easier. But it just didn't feel right either. It became clear\nthat maintaining 5-6 applications still requires too much time.\n\nSo I went back to the table and came up with this library. Although it **is** a\nframework, I tried to build it in a way that supports easy extension. One could\neven just copy the whole thing.\n\nUsing this library one can avoid copying a lot of (unmodified) code.\nFurthermore, unlike the linked boilerplates the components in this library\nare fully tested.\n\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoph%2Ffw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoph%2Ffw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoph%2Ffw/lists"}