{"id":17645568,"url":"https://github.com/sgaunet/gobadger","last_synced_at":"2026-04-27T12:02:03.085Z","repository":{"id":61563303,"uuid":"552336947","full_name":"sgaunet/gobadger","owner":"sgaunet","description":"Tool to generate badges (svg format). (To use in gitlab-ci)","archived":false,"fork":false,"pushed_at":"2025-01-13T16:11:43.000Z","size":192,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T09:19:05.873Z","etag":null,"topics":["badge","gitlab","gitlab-ci"],"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/sgaunet.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":"2022-10-16T11:11:24.000Z","updated_at":"2025-01-13T16:11:40.000Z","dependencies_parsed_at":"2023-01-31T19:15:51.063Z","dependency_job_id":"bfdf6d04-730a-4afd-8443-5e581ae6653c","html_url":"https://github.com/sgaunet/gobadger","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgaunet%2Fgobadger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgaunet%2Fgobadger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgaunet%2Fgobadger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgaunet%2Fgobadger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgaunet","download_url":"https://codeload.github.com/sgaunet/gobadger/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285817,"owners_count":20752957,"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":["badge","gitlab","gitlab-ci"],"created_at":"2024-10-23T10:57:23.491Z","updated_at":"2026-04-27T12:02:03.077Z","avatar_url":"https://github.com/sgaunet.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Report Card](https://goreportcard.com/badge/github.com/sgaunet/gobadger)](https://goreportcard.com/report/github.com/sgaunet/gobadger)\n[![GitHub release](https://img.shields.io/github/release/sgaunet/gobadger.svg)](https://github.com/sgaunet/gobadger/releases/latest)\n![GitHub Downloads](https://img.shields.io/github/downloads/sgaunet/gobadger/total)\n![Coverage](https://raw.githubusercontent.com/wiki/sgaunet/gobadger/coverage-badge.svg)\n[![linter](https://github.com/sgaunet/gobadger/actions/workflows/coverage.yml/badge.svg)](https://github.com/sgaunet/gobadger/actions/workflows/coverage.yml)\n[![coverage](https://github.com/sgaunet/gobadger/actions/workflows/coverage.yml/badge.svg)](https://github.com/sgaunet/gobadger/actions/workflows/coverage.yml)\n[![Snapshot Build](https://github.com/sgaunet/gobadger/actions/workflows/snapshot.yml/badge.svg)](https://github.com/sgaunet/gobadger/actions/workflows/snapshot.yml)\n[![Release Build](https://github.com/sgaunet/gobadger/actions/workflows/release.yml/badge.svg)](https://github.com/sgaunet/gobadger/actions/workflows/release.yml)\n![License](https://img.shields.io/github/license/sgaunet/gobadger.svg)\n\n# gobadger\n\nTool to generate badge (svg format).\nIt has been created to be used for private gitlab repositories. The badge need to be an artifact. See below on how to do.\n\n# Usage\n\n```\n$ gobadger -h\nUsage of gobadger:\n  -c string\n        color of badge (default \"#5272B4\")\n  -o string\n        output file name (default \"badge.svg\")\n  -t string\n        title\n  -v string\n        Value for the title\n```\n\n# In gitlab ci :\n\nCreate a stage in the CI to create the badges. They have to be artifacts.\n\n```\nbuild_badges2:\n  stage: build\n  image: sgaunet/gobadger:latest   # \u003c= replace with the last tag\n  script:\n      # https://gitlab.com/%{project_path}/-/jobs/artifacts/main/raw/ref.svg?job=build_badges2\n      - gobadger -o ref.svg -t godoc -v reference\n      # https://gitlab.com/%{project_path}/-/jobs/artifacts/main/raw/badge.svg?job=build_badges2\n      - gobadger -o badge.svg -t title -v value -c \"#00FF00\"\n  artifacts:\n    name: badge.svg\n    paths:\n      - badge.svg\n      - ref.svg\n    expire_in: 2 days\n```\n\nAnd add the badges in the project (settings \u003e General \u003e Badges ):\n\n* Name: Name of the badge\n* Link: Link of the button ex: https://gitlab.com/%{project_path}/-/commits/%{default_branch}\n* Badge: https://gitlab.com/%{project_path}/-/jobs/artifacts/main/raw/badge.svg?job=build_badges2\n\n\n# Install\n\n## In your docker image\n\n```\nFROM sgaunet/gobadger:latest AS build\n\nFROM ...\n\nCOPY --from=build /usr/bin/gobadger /usr/bin/gobadger\n```\n\n## Install the binary\n\n```\ncurl -L -o gobadger https://github.com/sgaunet/gobadger/releases/download/v0.2.0/gobadger_0.2.0_linux_amd64\n```\n\n## Project Status\n\n🟨 **Maintenance Mode**: This project is in maintenance mode.\n\nWhile we are committed to keeping the project's dependencies up-to-date and secure, please note the following:\n\n- New features are unlikely to be added\n- Bug fixes will be addressed, but not necessarily promptly\n- Security updates will be prioritized\n\n## Issues and Bug Reports\n\nWe still encourage you to use our issue tracker for:\n\n- 🐛 Reporting critical bugs\n- 🔒 Reporting security vulnerabilities\n- 🔍 Asking questions about the project\n\nPlease check existing issues before creating a new one to avoid duplicates.\n\n## Contributions\n\n🤝 Limited contributions are still welcome.\n\nWhile we're not actively developing new features, we appreciate contributions that:\n\n- Fix bugs\n- Update dependencies\n- Improve documentation\n- Enhance performance or security\n\nIf you're interested in contributing, please read our [CONTRIBUTING.md](link-to-contributing-file) guide for more information on how to get started.\n\n## Support\n\nAs this project is in maintenance mode, support may be limited. We appreciate your understanding and patience.\n\nThank you for your interest in our project!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgaunet%2Fgobadger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgaunet%2Fgobadger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgaunet%2Fgobadger/lists"}