Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

public nix-locate server instance for thin clients #174

Closed
milahu opened this issue Oct 29, 2021 · 2 comments
Closed

public nix-locate server instance for thin clients #174

milahu opened this issue Oct 29, 2021 · 2 comments

Comments

@milahu
Copy link

milahu commented Oct 29, 2021

running nix-index is slow and seems wasteful ...
who wants to run a public nix-locate server? : D
something like https://packages.debian.org/en/#search_contents

or, to distribute the load / obfuscate the attack surface:
make a distributed database with orbitdb over ipfs?

or, cache the 40 MByte ~/.cache/nix-index/files file on cache.nixos.org
which is much faster to download than "a million small files" (compare: git object compression)

sample server: https://github.com/milahu/nix-locate-server/blob/master/nix-locate-server.go

curl "http://localhost:8080/bin/nix-locate%20--regex%20hello-world"
@Artturin
Copy link
Member

Artturin commented Nov 4, 2021

https://github.com/Mic92/nix-index-database

@bennofs
Copy link
Collaborator

bennofs commented Jan 10, 2023

Public databases are available via the nix-index-database repo linked above, and a online version is already requested here #194, so closing this as solved/duplicate.

@bennofs bennofs closed this as completed Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants