# Announcing flakestry.dev - new registry for flakes

**URL:** https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583
**Category:** Announcements
**Created:** [October 25, 2023, 12:52pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583 "2023-10-25T12:52:28Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [October 25, 2023, 12:52pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/1 "2023-10-25T12:52:28Z")

</div>

Hey folks,

I’m happy to announce [flakestry.dev](https://flakestry.dev/) - a registry for flakes. [GitHub repo](https://github.com/flakestry/flakestry.dev)

It is intended as a replacement for the existing [search.nixos.org/flakes](https://search.nixos.org/flakes). We are fully committed to making Flakestry an official Nix project, thus replacing the existing registry.

The project was spearheaded by Domen and Sander over the past weeks, with the input of various community members like @RaitoBezarius, @roberth, @srid, @zimbatm, @infinisil, @Kranzes and @garbas.

The initial version allows publishing of flakes via GitHub actions, although [other sources can be added](https://github.com/flakestry/flakestry.dev/issues/1) later on.

It enforces [semantic versioning](https://github.com/NixOS/rfcs/pull/144) and does not currently act as [a proxy](https://github.com/flakestry/flakestry.dev/issues/17).

It’s deployed via [fly.io](http://fly.io/), with backend written in [FastAPI](https://github.com/tiangolo/fastapi) and frontend in [elm.land](https://elm.land/). There’s [staging.flakestry.dev](https://staging.flakestry.dev/) that’s deployed directly from `main` branch.

If you want to [help out](https://github.com/flakestry/flakestry.dev#roadmap), it would be interesting to see someone play with [flake output JSON](https://github.com/flakestry/flakestry.dev/issues/2) and display the outputs alongside the README.

A note on [flakehub.com](https://discourse.nixos.org/t/introducing-flakehub/32044)/[mynixos.com](https://mynixos.com/): these heroic efforts demonstrated that people liked the idea of having a central flake registry. We wanted to avoid the issues that are caused when a company controls the registry (eg: NPM) so we built a flake registry that is part of the Nix community in similar spirit like PyPi, Hackage, etc.

Domen

---

<div class="post-metadata">

### Author: ![fgaz](https://discourse.nixos.org/user_avatar/discourse.nixos.org/fgaz/32/103_2.png) [@fgaz](https://discourse.nixos.org/u/fgaz)
#### Post date: [October 25, 2023, 1:08pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/2 "2023-10-25T13:08:14Z")

</div>

Glad to see that this one is FOSS and that non-github flakes [are planned](https://github.com/flakestry/flakestry.dev/issues/1) 🙂

---

<div class="post-metadata">

### Author: ![grahamc](https://discourse.nixos.org/user_avatar/discourse.nixos.org/grahamc/32/75_2.png) [@grahamc](https://discourse.nixos.org/u/grahamc)
#### Post date: [October 25, 2023, 1:11pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/3 "2023-10-25T13:11:42Z")

</div>

This is so cool to see. I’m glad to see an open source implementation of flakehub, and am excited to see validation of the core value proposition of semantic versioning being relevant and important to the nix ecosystem. Well done, congratulations. Congrats on the launch! 🚀

---

<div class="post-metadata">

### Author: ![Mic92](https://discourse.nixos.org/user_avatar/discourse.nixos.org/mic92/32/5265_2.png) [@Mic92](https://discourse.nixos.org/u/Mic92)
#### Post date: [October 25, 2023, 1:12pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/4 "2023-10-25T13:12:40Z")

</div>

I would be interested in contributing code to make regular backups. Ideally those backups could be also made public because than we could start archiving all flakes.

---

<div class="post-metadata">

### Author: ![grahamc](https://discourse.nixos.org/user_avatar/discourse.nixos.org/grahamc/32/75_2.png) [@grahamc](https://discourse.nixos.org/u/grahamc)
#### Post date: [October 25, 2023, 1:46pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/5 "2023-10-25T13:46:42Z")

</div>

By the way – I’m a bit surprised to see flakestry.dev isn’t itself a flake – is that in the cards?

---

<div class="post-metadata">

### Author: ![Ericson2314](https://discourse.nixos.org/user_avatar/discourse.nixos.org/ericson2314/32/316_2.png) [@Ericson2314](https://discourse.nixos.org/u/Ericson2314)
#### Post date: [October 25, 2023, 2:28pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/6 "2023-10-25T14:28:12Z")

</div>

I think multiple competing registries, including people hosting their own, is even better than a single community registry, so this is good.

The notion of centralization that registries imply is what makes them iffy — centralized human readable names is in opposition to the general nix philosophy of trustlessness and things being freely combinable (no collisions, no conflicts, etc.). Having multiple registries re-decentralizes things — unhappy someone is squatting a name? Just create your own registry! This is unambigiously good.

Also, I hope eventually at least one things don’t care about flakes at all. As we’ve discussed on the Nix Team, registries are a fetching concept, and fetching is conceptually prior to flakes (see [WIP: Generalize the fetcher registry to not be flake specific by Ericson2314 · Pull Request #9085 · NixOS/nix · GitHub](https://github.com/NixOS/nix/pull/9085)). Of course, I imagine it is good for registries to enforce additional structure — otherwise they are just a glorified bad version control — but there are many ways one might want to do that.

---

<div class="post-metadata">

### Author: ![bobvanderlinden](https://discourse.nixos.org/user_avatar/discourse.nixos.org/bobvanderlinden/32/59_2.png) [@bobvanderlinden](https://discourse.nixos.org/u/bobvanderlinden)
#### Post date: [October 26, 2023, 1:13pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/7 "2023-10-26T13:13:34Z")

</div>

Looks good! Also nice to hear it will replace `search.nixos.org/flakes`. I was a bit worried seeing the title that there would be 3 different similar services for flake discovery 😅

> It enforces [semantic versioning](https://github.com/NixOS/rfcs/pull/144) and does not currently act as [a proxy](https://github.com/flakestry/flakestry.dev/issues/17).

What should be done with versions? For instance, `nixpkgs`, `home-manager`, `nixos-hardware` or `nixpkgs-ruby`: they all do not have versioned releases. Will [Redirect flake pins to github tarballs · Issue #17 · flakestry/flakestry.dev · GitHub](https://github.com/flakestry/flakestry.dev/issues/17) allow adding flakes without versioned releases? Are there future plans for versioned flakes?

Edit: thinking about this a bit more, since semantic versioning was mentioned. So it might be to refer to some stable x.x.y version range. However, we already can refer to branches which seems more powerful than versions? An vx.x branch might already be just as useful? But a beta/staging branch is also possible (something that can be inconvient using version numbers). Am I overlooking something?

---

<div class="post-metadata">

### Author: ![uep](https://discourse.nixos.org/user_avatar/discourse.nixos.org/uep/32/5167_2.png) [@uep](https://discourse.nixos.org/u/uep)
#### Post date: [October 26, 2023, 10:43pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/8 "2023-10-26T22:43:22Z")

</div>

> [@bobvanderlinden](#):
>
> Am I overlooking something?

I think it’s just that not all projects (especially small ones) necessarily use a branch structure that exactly mimics their semantic versioning / release structure, or use a consistent structure between or even within each other.

That is certainly the case with rust crates, and likely many similar things in other languages, where the semantic versioning is resolved from metadata within the package content.

---

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [October 31, 2023, 9:36am UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/9 "2023-10-31T09:36:02Z")

</div>

I’ve implemented [outputs and inputs](https://github.com/flakestry/flakestry.dev/issues/2) representation:

 ![2023-10-31-093403_1797x1107_escrotum](https://discourse.nixos.org/uploads/default/original/2X/9/9297b54ec479eaaca33f857c29e3cead8b7aa2f9.png)

See an example for [nixpkgs-python](https://flakestry.dev/flake/github/cachix/nixpkgs-python/).

---

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [October 31, 2023, 12:27pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/10 "2023-10-31T12:27:01Z")

</div>

Now with pagination for bigger flakes:

 ![2023-10-31-121638_1476x1085_escrotum](https://discourse.nixos.org/uploads/default/original/2X/1/1624a93dc8ddafb40882950a33fa8cffcf2d45bd.png)

---

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [November 1, 2023, 3:25pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/11 "2023-11-01T15:25:50Z")

</div>

See [Rolling release support · Issue #26 · flakestry/flakestry.dev · GitHub](https://github.com/flakestry/flakestry.dev/issues/26)

---

<div class="post-metadata">

### Author: ![domenkozar](https://discourse.nixos.org/user_avatar/discourse.nixos.org/domenkozar/32/38357_2.png) [@domenkozar](https://discourse.nixos.org/u/domenkozar)
#### Post date: [November 3, 2023, 3:03pm UTC](https://discourse.nixos.org/t/announcing-flakestry-dev-new-registry-for-flakes/34583/12 "2023-11-03T15:03:54Z")

</div>

I’ve added a badge for each flake and since yesterday, finally, all flake outputs should render in the sidebar. Enjoy 🙂 [an example](https://flakestry.dev/flake/github/akirak/flake-templates/0.99.0)

We also have a [matrix](https://matrix.to/#/#flakestry:matrix.org) room if you’re looking to contribute.
