Giter Club home page Giter Club logo

nami's Introduction

Nami

A decentralized binary package manager

Why

There are already many package managers, like snap, 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.

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.

Install

$ curl -L git.io/getnami | bash && exec -l $SHELL

Usage

NAME:
   nami - A decentralized binary package manager

USAGE:
   nami [global options] command [command options] [arguments...]

COMMANDS:
   install  Install package. $ nami install github.com/txthinking/nami
   upgrade  Upgrade package. $ nami upgrade github.com/txthinking/nami
   remove   Remove package. $ nami remove github.com/txthinking/joker
   info     Print package information. $ nami info github.com/txthinking/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)

Example

$ nami install github.com/txthinking/nami

What Does Nami Do?

All files are stored in ~/.nami

Nami for Software Publisher

  • Package name such as yourdomain.com/package
  • Nami will send GET request to https://yourdomain.com/package/nami.json, nami.json such as:
    {
        "version": "xxx",
        "files": [
            "https://anydomain.com/anypath/BINARYNAME1_OS_ARCH",
            "https://anydomain.com/anypath/BINARYNAME2_OS_ARCH",
        ]
    }
    

Built-in supported domains

  • github.com: Package name such as github.com/txthinking/nami, put binary files in the github releases

OS & ARCH

OS ARCH
darwin 386
darwin amd64
freebsd 386
freebsd amd64
linux 386
linux amd64
linux arm64
netbsd 386
netbsd amd64
openbsd 386
openbsd amd64
openbsd arm64

License

Licensed under The GPLv3 License

nami's People

Contributors

txthinking avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.