mirror of
https://github.com/Luzifer/go-latestver.git
synced 2024-11-08 15:10:04 +00:00
Monitor a bunch of different sources of software in a single location using different kinds of fetchers, providing an API to have these information available in a single place and provide an UI to the user to look up versions easily
|
||
---|---|---|
.github/workflows | ||
ci | ||
docs | ||
frontend | ||
internal | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.golangci.yml | ||
api.go | ||
Dockerfile | ||
frontend.go | ||
frontend_dev.go | ||
frontend_dist.go | ||
go.mod | ||
go.sum | ||
History.md | ||
LICENSE | ||
main.go | ||
Makefile | ||
package-lock.json | ||
package.json | ||
README.md | ||
scheduler.go |
Luzifer / Go-LatestVer
Go-LatestVer is a replacement for the outdated and no longer maintained latestver following the same idea: Monitor a bunch of different sources of software in a single location using different kinds of fetchers, providing an API to have these information available in a single place and provide an UI to the user to look up versions easily.
Usage
Usage of go-latestver:
--badge-gen-instance string Where to find the badge-gen instance to use badges from (default "https://badges.fyi/")
--base-url string Base-URL the application is reachable at (default "https://example.com/")
--check-distribution duration Checks are executed at static times every [value] (default 1h0m0s)
-c, --config string Configuration file with catalog entries (default "config.yaml")
--listen string Port/IP to listen on (default ":3000")
--log-level string Log level (debug, info, warn, error, fatal) (default "info")
--storage string Storage adapter to use (mysql, sqlite) (default "sqlite")
--storage-dsn string DSN to connect to the database (default "file::memory:?cache=shared")
--version Prints current version and exits
The documentation for the format of the config
file can be found in the docs/config.md
file.
To use the github_release
fetcher without hitting the API limits quite fast provide GITHUB_CLIENT_ID
and GITHUB_CLIENT_SECRET
of an OAuth App in environment variables.