{"id":16843209,"url":"https://github.com/jbowes/whatsnew","last_synced_at":"2025-04-11T05:53:11.426Z","repository":{"id":42362329,"uuid":"394466247","full_name":"jbowes/whatsnew","owner":"jbowes","description":"Check for new github releases of your Golang application 🎊","archived":false,"fork":false,"pushed_at":"2023-03-15T23:58:36.000Z","size":36,"stargazers_count":9,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T05:53:06.290Z","etag":null,"topics":["go","golang","golang-library","hacktoberfest","releases","updates"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jbowes.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":"2021-08-09T23:21:12.000Z","updated_at":"2023-01-11T01:58:06.000Z","dependencies_parsed_at":"2024-06-21T13:23:36.609Z","dependency_job_id":"600d0224-eca7-4611-87a0-1bedd307a63e","html_url":"https://github.com/jbowes/whatsnew","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbowes%2Fwhatsnew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbowes%2Fwhatsnew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbowes%2Fwhatsnew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jbowes%2Fwhatsnew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jbowes","download_url":"https://codeload.github.com/jbowes/whatsnew/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351407,"owners_count":21089271,"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","golang","golang-library","hacktoberfest","releases","updates"],"created_at":"2024-10-13T12:49:58.611Z","updated_at":"2025-04-11T05:53:11.405Z","avatar_url":"https://github.com/jbowes.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n  Attractive html formatting for rendering in github. sorry text editor\n  readers! Besides the header and section links, everything should be clean and\n  readable.\n--\u003e\n\u003ch1 align=\"center\"\u003ewhatsnew\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003ci\u003eCheck for new github releases of your Golang application 🎊\u003c/i\u003e\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://pkg.go.dev/github.com/jbowes/whatsnew\"\u003e\u003cimg src=\"https://pkg.go.dev/badge/github.com/jbowes/whatsnew.svg\" alt=\"Go Reference\"\u003e\u003c/a\u003e\n  \u003cimg alt=\"Enterprise Ready\" src=\"https://img.shields.io/badge/Enterprise-Ready-pink.svg\" \u003e\n  \u003ca href=\"https://github.com/jbowes/whatsnew/releases/latest\"\u003e\u003cimg alt=\"GitHub tag\" src=\"https://img.shields.io/github/tag/jbowes/whatsnew.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/jbowes/whatsnew/actions/workflows/go.yml\"\u003e\u003cimg alt=\"Build Status\" src=\"https://github.com/jbowes/whatsnew/actions/workflows/go.yml/badge.svg?branch=main\"\u003e\u003c/a\u003e\n  \u003ca href=\"./LICENSE\"\u003e\u003cimg alt=\"BSD license\" src=\"https://img.shields.io/badge/license-BSD-blue.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/jbowes/whatsnew\"\u003e\u003cimg alt=\"codecov\" src=\"https://img.shields.io/codecov/c/github/jbowes/whatsnew.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/jbowes/whatsnew\"\u003e\u003cimg alt=\"Go Report Card\" src=\"https://goreportcard.com/badge/github.com/jbowes/whatsnew\"\u003e\u003c/a\u003e\n\u003c/div\u003e\u003cbr /\u003e\u003cbr /\u003e\n\n---\n\n[`whatsnew`][godoc] provides a simple way to check GitHub for new releases of\nyour Go application. It saves results between runs, uses etags to speed up responses, and tries to minimize the overhead it adds to an otherwise fast\napplication CLI run.\n\nIf caching to disk or reading from GitHub don't work for you, you can\n[customize the behaviour][impl].\n\n## Quick start\n\n```go\nimport (\n  \"context\"\n  \"github.com/jbowes/whatsnew\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\n\t// Start a whatsnew Check\n\tfut := whatsnew.Check(ctx, \u0026whatsnew.Options{\n\t\tSlug:    \"you/your-app\",\n\t\tCache:   \"testdata/update-cache.json\",\n\t\tVersion: \"v0.0.1\",\n\t})\n\n\t// Run your CLI code and whatnot\n\n\t// Wait for the Check to complete, and show the results\n\tif v, _ := fut.Get(); v != \"\" {\n\t\tfmt.Printf(\"new release available: %s\\n\", v)\n\t}\n}\n```\n\nFor more usage and examples, see the [GoDoc Reference][godoc]\n\n## Alternatives\n\n`whatsnew` only **checks** for releases. If you're looking for a package that\nwill let your application **update itself**, or you prefer packages that start\nwith `go-`, consider one of these:\n- [go-github-selfupdate](https://github.com/rhysd/go-github-selfupdate)\n- [go-selfupdate](https://github.com/sanbornm/go-selfupdate)\n- [go-update](https://github.com/inconshreveable/go-update)\n\n## Contributing\n\nI would love your help!\n\n`whatsnew` is still a work in progress. You can help by:\n\n- Opening a pull request to resolve an [open issue][issues].\n- Adding a feature or enhancement of your own! If it might be big, please\n  [open an issue][enhancement] first so we can discuss it.\n- Improving this `README` or adding other documentation to `whatsnew`.\n- Letting [me] know if you're using `whatsnew`.\n\n[godoc]: https://pkg.go.dev/github.com/jbowes/whatsnew\n[impl]: https://pkg.go.dev/github.com/jbowes/whatsnew/impl\n\n[issues]: ./issues\n[bug]: ./issues/new?labels=bug\n[enhancement]: ./issues/new?labels=enhancement\n\n[me]: https://twitter.com/jrbowes\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbowes%2Fwhatsnew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjbowes%2Fwhatsnew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjbowes%2Fwhatsnew/lists"}