badges / badges/shields

flakehub.com

Open
#9,551 4 comments 0 reactions 0 assignees View on GitHub
service-badge
Dominant language
JavaScript
Stars
27.2k
Forks
5.6k
Avg merge
1d 8h
Merged PRs (30d)
46

Description

### 📋 Description

There's a new service https://flakehub.com/ to add SemVer support for Nix flakes.

It would be great to have a badge that displayed the latest version published in that site.

### 🔗 Data

There seems to be an API, because the public site is actually using it to display its content. Examples:

- https://api.flakehub.com/flakes
- https://api.flakehub.com/f/copier-org/copier/releases

I can't find any docs. I opened https://github.com/DeterminateSystems/fh/issues/24 about this.

### 🎤 Motivation

Encouraging installing packages through stable releases in nix flake format.

Contributor guide

Open the contributing guide

Research direction

Start by investigating the FlakeHub API examples in the issue and the linked fh issue, since API documentation is not available. Determine the response needed for a latest-release badge and verify the badge against a real flake; done means the service is integrated and its output is covered by the project's checks.

Written by the indexing model from the issue text.

Assessment

Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.