Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pgollangi/nscoop
🚀Install portable cross-platform executable binaries via NPM
https://github.com/pgollangi/nscoop
binary-installer command-line command-line-tool github github-releases gitlab gitlab-releases goreleaser nodejs npm semver-release
Last synced: 16 days ago
JSON representation
🚀Install portable cross-platform executable binaries via NPM
- Host: GitHub
- URL: https://github.com/pgollangi/nscoop
- Owner: pgollangi
- License: mit
- Created: 2020-09-02T12:00:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T10:04:24.000Z (almost 2 years ago)
- Last Synced: 2025-01-02T03:07:36.645Z (20 days ago)
- Topics: binary-installer, command-line, command-line-tool, github, github-releases, gitlab, gitlab-releases, goreleaser, nodejs, npm, semver-release
- Language: JavaScript
- Homepage: https://npmjs.com/package/nscoop
- Size: 772 KB
- Stars: 1
- Watchers: 3
- Forks: 2
- Open Issues: 32
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# nscoop
Install portable cross-platform executable binaries via NPM.
## What does it mean?
When building a cross-compiled portable binaries which works on Windows, Linux, Mac etc., how to distribute them to users? When a new release published, how to let users update the binary?`nscoop` makes it easy to install or update binaries directly from github releases.
## But, Why NPM?
- NPM already installed on almost developers
- Works across any platform.
- NPM makes binary available on `$PATH`. Your app works immeditly after installation.## How does `nscoop` work?
`nscoop` identifies and downloads the right binary for the current oparating system from latest releases of the Git repo provided, and creates symlink to the executable binary using [npm-bin](https://docs.npmjs.com/cli/bin.html) which makes the command available for use.## Requirements
- npm## Installation
```console
// Install nscoop
$ npm install -g nscoop
// Install any binary on github repo
$ nscoop install pgollangi/netselect```
## Inspriration
- [Scoop](https://scoop.sh/)
- [Homebrew](https://brew.sh/)## What kind of apps can `nscoop` install?
If you have a public git repo available on github which releases portable binaries. Thats all you need to make those binaries installed on any OS using `nscoop`.## Author
[Prasanna Kumar](https://pgollangi.github.io/tabs/about)