{"id":24956860,"url":"https://github.com/andrewstuart/buildmeta","last_synced_at":"2025-03-28T20:38:08.251Z","repository":{"id":40450938,"uuid":"430753165","full_name":"andrewstuart/buildmeta","owner":"andrewstuart","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-10T18:31:08.000Z","size":42,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-03T06:41:56.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/andrewstuart.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-11-22T15:04:20.000Z","updated_at":"2022-08-08T18:36:43.000Z","dependencies_parsed_at":"2024-06-20T21:53:29.452Z","dependency_job_id":"afe90948-2b8a-40b1-a6bc-1271b72968a2","html_url":"https://github.com/andrewstuart/buildmeta","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fbuildmeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fbuildmeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fbuildmeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Fbuildmeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewstuart","download_url":"https://codeload.github.com/andrewstuart/buildmeta/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100418,"owners_count":20723466,"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":[],"created_at":"2025-02-03T06:41:26.330Z","updated_at":"2025-03-28T20:38:08.222Z","avatar_url":"https://github.com/andrewstuart.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buildmeta\n\nAn easy way to set `ldflags` and retain build-time metadata that is useful for\nGo applications running in any environment.\n\n## Getting Started\n\nThere are already a few applications out there with canonical paths for build\nmetadata, though none thus far is authoritative. This package takes the idea and\nextends it to include a CLI that knows how to set ldflags appropriately so that\nall your build needs is `-ldflags \"$(buildmeta ldflags)\"`. There are additional\noptions for outputting JSON metadata for e.g. static directories.\n\nTo use this, run `go install github.com/andrewstuart/buildmeta/cmd/buildmeta@latest` in\nterminal, and run `buildmeta` to validate output. You can also try `go run\ngithub.com/andrewstuart/buildmeta/cmd/buildmeta` which will both download and run this module.\n\n```bash\ngo build -o app -ldflags \"$(buildmeta ldflags)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewstuart%2Fbuildmeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewstuart%2Fbuildmeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewstuart%2Fbuildmeta/lists"}