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

Get this into Linux package managers #14

Open
alexgleason opened this issue Feb 27, 2024 · 5 comments
Open

Get this into Linux package managers #14

alexgleason opened this issue Feb 27, 2024 · 5 comments

Comments

@alexgleason
Copy link

This is such an amazing tool that has become part of my everyday workflow. I think it would help developers a lot who are getting into Nostr.

I think we should try to get this into Debian. You should be able to apt install nak.

@badonyx
Copy link

badonyx commented Sep 20, 2024

If you have homebrew you can do

brew tap nostorg/nostr
brew install nak

@gustavonmartins
Copy link

@alexgleason
To extend on what you said, if nak could be avaiable as a service/daemon, then lots of work of implementing NIPS in different programming languages could be saved, because a server could just call nak to validate messages, dns, etc.

This would save people from reinventing the wheel many times and release more resources to be applied in other interesting areas.

Now that I think of it, maybe thats the idea behind relayerhttps://github.com/fiatjaf/relayer ?

@xeruf
Copy link

xeruf commented Oct 29, 2024

fyi link target was off: https://github.com/fiatjaf/relayer

nak is also in the Arch AUR

@pypeaday
Copy link

pypeaday commented Jan 14, 2025

FWIW because you can just download a binary, there's a nice installer utility for installing binaries right off of github that I've been using (I host my own server but you can use his) - see https://github.com/jpillora/installer

In my repo I've put it into a dockerfile so that you can just host it locally with your own domain - https://github.com/pypeaday/installer/blob/master/Dockerfile

And then assuming your using his main server the install is "RUN curl https://i.jpillora.com/fiatjaf/nak! | bash"

I would go this route because things like apt will generally be behind on versions before too long. I don't know what kind of effort goes into maintaining packages for different package managers but this installer method has become the best way for binaries in my opinion

@jurraca
Copy link

jurraca commented Jan 17, 2025

For Nix users: I added it to nostrpkgs so you install it with nix build github:jurraca/nostrpkgs#nak.

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

6 participants