TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Nami – A decentralized binary package manager

39 pointsby txthinkingabout 5 years ago

7 comments

Hackbratenabout 5 years ago
Why do people assume package managers do some form of gatekeeping?<p>It’s not the package managers who gatekeep, it’s their associated repository. People are free to create and host their own repositories (or, in Homebrew-speak, taps). Users are free to add those with no PRs involved whatsoever.
评论 #22701362 未加载
评论 #22701714 未加载
djhaskin987about 5 years ago
So sort of the same idea as docker where the address of a package (docker image) is built into its name. Interesting but also problematic. If a package in rhel repo is broken I can mask it with one I&#x27;ve built of the same name in my company repo. Since the package address isn&#x27;t tied to its name, this works.
评论 #22700873 未加载
评论 #22700884 未加载
jyrkeshabout 5 years ago
Looks really awesome for internal usage, but public binary distribution without <i>some</i> form of gatekeeping is spooky.
评论 #22700865 未加载
pipeworkabout 5 years ago
Besides features, how does this compare in daily workflow to <a href="https:&#x2F;&#x2F;asdf-vm.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;asdf-vm.com&#x2F;</a>? Does it provide version management or just upgrade to latest?
jrruetheabout 5 years ago
Am I missing something? How does this handle different package types for the same OS&#x2F;Arch? Like, if I wanted to host a <i>.deb, </i>.rpm, *.appimage, etc?
txthinkingabout 5 years ago
# Nami<p>A decentralized binary package manager<p>### Why<p>There are already many package managers, like apt-get, brew, but this is all centralized. Every time the author updates the software, they need to write complex configuration files and PRs and wait for merge.<p>Nami is a decentralized binary package manager, she allows software authors to publish their software anywhere, without having to request a merge from a software center for each update.<p>### Install<p><pre><code> $ curl -L git.io&#x2F;getnami | bash &amp;&amp; exec -l $SHELL </code></pre> ### Usage<p><pre><code> NAME: nami - A decentralized binary package manager USAGE: nami [global options] command [command options] [arguments...] COMMANDS: install Install package. $ nami install github.com&#x2F;txthinking&#x2F;nami upgrade Upgrade package. $ nami upgrade github.com&#x2F;txthinking&#x2F;nami remove Remove package. $ nami remove github.com&#x2F;txthinking&#x2F;nami info Print package information. $ nami info github.com&#x2F;txthinking&#x2F;nami list Print installed packages. $ nami list help, h Shows a list of commands or help for one command GLOBAL OPTIONS: --help, -h show help (default: false) </code></pre> ### Example<p><pre><code> $ nami install github.com&#x2F;txthinking&#x2F;nami </code></pre> ### What Does Nami Do?<p>All files are stored in `~&#x2F;.nami`<p>## Nami for Software Publisher<p>- Package name such as `yourdomain.com&#x2F;package` - Nami will send GET request to `<a href="https:&#x2F;&#x2F;yourdomain.com&#x2F;package&#x2F;nami.json`" rel="nofollow">https:&#x2F;&#x2F;yourdomain.com&#x2F;package&#x2F;nami.json`</a>, `nami.json`<p>### Built-in supported domains<p>* `github.com`: Package name such as `github.com&#x2F;txthinking&#x2F;nami`, put binary files in the [github releases](<a href="https:&#x2F;&#x2F;github.com&#x2F;txthinking&#x2F;nami&#x2F;releases" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;txthinking&#x2F;nami&#x2F;releases</a>)<p>## License<p>Licensed under The GPLv3 License
Hittonabout 5 years ago
<p><pre><code> $ curl -L git.io&#x2F;getnami | bash &amp;&amp; exec -l $SHELL </code></pre> When will this crap end? I can&#x27;t understand how can people still do that. Everyone knows it&#x27;s dangerous to pipe random scripts to bash, especially from unsecured websites, and people still suggest it as recommended way to install software...
评论 #22702331 未加载
评论 #22714343 未加载
评论 #22702380 未加载
评论 #22702395 未加载