GoBadge Dynamic: From Module Stats to Universal Badges
GoBadge has evolved from a tool focused on Go modules to a versatile badge generation system. The new dynamic endpoint allows users to create badges from any JSON API, expanding its utility significantly. Users can now badge various metrics from platforms like GitHub, npm, and Docker, or even their own APIs.
- ▪GoBadge originally supported three specific endpoints for Go modules.
- ▪The new dynamic endpoint enables badge creation from any JSON API.
- ▪Users can badge metrics from GitHub, npm, Docker, and their own APIs.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3780619) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } CinfiniteDev Posted on May 25 GoBadge Dynamic: From Module Stats to Universal Badges #npm #webdev #product #opensource What started as a tool for Go modules just became something much bigger. The Big Idea GoBadge started with three endpoints — stars, imports, imported-by. Useful if you write Go. Not so useful if you don't. Today that changes. The new dynamic endpoint lets you turn any JSON API into a badge.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).