wh0 / nix-cache-view

in-browser .nar explorer
https://wh0.github.io/nix-cache-view/
MIT License
12 stars 1 forks source link

Unify two front pages #12

Closed wh0 closed 1 year ago

wh0 commented 1 year ago

There's one nix-cache.html for cache.nixos.org and one index.html for my own binary cache and derivation cache.

Originally it was like this because I thought the nixos one didn't even have derivation files available, so I made another copy with those sections removed and with a different default cache base url too.

But cache.nixos.org has derivation files. We might as well have just one page with all three forms.

Could have something like an input with a datalist of known cache base urls. We can even add other ones as requested, as long as they fit with our host's terms of use.

Y'all Nix users can have cache.nixos.org as the default, I don't mind. Real talk, I just don't want to have to remember and type in https://cdn.glitch.me/35f4f809-f949-484d-af9c-269b3b7abc78/ every time.