• Stars
    star
    313
  • Rank 133,714 (Top 3 %)
  • Language
    Go
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated 28 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A clean and tidy decentralized package manager.

Nami

🗣 News 🩸 Youtube

The easy way to download anything from anywhere. All files are stored in $HOME/.nami.

❤️ A project by txthinking.com

Install

bash <(curl https://bash.ooo/nami.sh)

⚠️ Windows user should run in Git Bash, Video

Example

nami install brook
nami list
nami remove brook

You can also upgrade nami by nami

nami install nami

With HTTPS_PROXY environment

export HTTPS_PROXY=http://127.0.0.1:8010
nami install brook

Keep PATH with sudo

sudo visudo
Defaults        !env_reset
# Defaults       secure_path=...

All officially maintained packages

Package Description Website
7z 7-Zip is a file archiver with a high compression ratio. Website
agg asciinema gif generator Website
brook-manager A Web UI for fully automatic management of Brook. 一个全自动管理 Brook 的 Web UI Website
brook A cross-platform network tool designed for developers. 一个为开发者设计的跨平台网络工具. Website
brookscript Brook One-click script. 一键安装脚本 Website
bun Incredibly fast JavaScript runtime, bundler, transpiler and package manager – all in one. Website
caddy Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS Website
cidr-merger A simple command line tool to merge ip/ip cidr/ip range, supports IPv4/IPv6 Website
cloudflare cloudflare cli Website
cloudupload Upload files to multiple Cloud Storage in parallel. Automatically apply for ssl certificate with your domain. Website
cowsay cowsay is reborn. Neo Cowsay has written in Go. Website
d2 D2 is a modern diagram scripting language that turns text to diagrams. Website
deno A modern runtime for JavaScript and TypeScript. Website
denobundle Bundle assets into the binary with deno compile Website
fd A simple, fast and user-friendly alternative to 'find' Website
ffmpeg A complete, cross-platform solution to record, convert and stream audio and video. Website
filelink Upload and download file in command line Website
fzf A command-line fuzzy finder Website
hancock Manage multiple remote servers and execute commands remotely. 管理多个远程服务器并远程执行命令 Website
hey HTTP load generator, ApacheBench (ab) replacement Website
httpserver This is a very simple http static server, sometimes we need it for testing Website
icnsify Easily create .icns files (Mac Icons) Website
ipatool Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store Website
ix command line pastebin. Website
jinbe Jinbe can add auto start command at boot. Zero-Configuration. Jinbe 可以添加开机自动启动命令. 无需配置. Website
joker Joker can turn process into daemon. Zero-Configuration. Joker 可以将进程变成守护进程. 无需配置. Website
jb jb = javascript + bash Website
jq Command-line JSON processor Website
mad Generate root CA and derivative certificate for any domains and any IPs. 为任何域名和 IP 生成证书 Website
markdown markdown converter Website
marp A CLI interface for Marp and Marpit based converters Website
minify Go minifiers for web formats Website
nami The easy way to download anything from anywhere. 从任何地方下载任何东西 Website
nico A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration. Website
protoc Protocol Buffers - Google's data interchange format Website
rsrc Tool for embedding .ico & manifest resources in Go programs for Windows. Website
shadowsocks A Rust port of shadowsocks Website
sitemap Build sitemap.xml Website
sshexec A command-line tool to execute remote command through ssh Website
stuntman NAT type detection. NAT 类型检测 Website
tun2brook Proxy all traffic just one line command. tun2socks, tun2brook. IPv4 and IPv6, TCP and UDP. 只需一行命令. 让系统所有流量全部走 socks5, brook server, brook wsserver, brook wssserver. Website
yt-dlp Command-line program to download videos from YouTube.com and other video sites Website
zoro zoro can help you expose local server to external network. Support both TCP/UDP, of course support HTTP. Zero-Configuration. zoro 帮助你将本地端口暴露在外网.支持 TCP/UDP, 当然也支持 HTTP. 内网穿透. Website

How to create a package

Step 1

Create exmaple.js, write jb script to save commands into nami.cache_dir

Step 2

Test exmaple.js, nami install ./exmaple.js

Step 3

Fork nami project, put exmaple.js to package directory, create PR, then you can nami install example

OR

Put exmaple.js to your own http server, then you can nami install https://yourserver.com/exmaple.js

Checkout example httpserver.js and shadowsocks.js

The nami variable has built-in jb.

Most commonly used

  • nami.os: linux/darwin/windows/...
  • nami.arch: amd64/arm64/...
  • nami.cache_dir: you just need to put the command file here. A special text file name version is used to save the version number

Infrequently used

  • nami.home_dir: user home dir
  • nami.bin_dir: nami bin dir
  • nami.copied_dir: This is usually used if the command to be installed is running, 1: first get the process command, 2: then stop the process, 3: then copy the command from cache_dir to bin_dir, 4: then copy the command from cache_dir to copied_dir, 5: run the previously stopped process again
  • nami.tmp_dir: tmp dir, you can do some prepare working

License

Licensed under The GPLv3 License

More Repositories

1

brook

A cross-platform programmable network tool
Go
14,577
star
2

google-hosts

Google hosts generator
Shell
3,327
star
3

zoro

zoro can help you expose local server to external network. Support both TCP/UDP, of course support HTTP. Zero-Configuration.
Go
1,540
star
4

socks5

SOCKS Protocol Version 5 Library in Go. Full TCP/UDP and IPv4/IPv6 support
Go
667
star
5

tun2brook

Proxy all traffic just one line command. tun2socks, tun2brook. IPv4 and IPv6, TCP and UDP.
Go
272
star
6

blackwhite

https://github.com/txthinking/brook/tree/master/programmable
JavaScript
246
star
7

joker

Joker can turn process into daemon. Zero-Configuration
C
188
star
8

brook-manager

Brook Manager is a Brook management system for medium to large merchants.
HTML
122
star
9

nico

A HTTP3 web server for reverse proxy and single page application, automatically apply for ssl certificate, Zero-Configuration.
Go
119
star
10

bypass

https://github.com/txthinking/brook/tree/master/programmable
JavaScript
96
star
11

Mailer

A lightweight PHP SMTP mail sender
PHP
93
star
12

frank

Frank is a REST API automated testing tool like Postman but in command line. Auto generate markdown API document.
Go
91
star
13

socks5-configurator

Configure your Chrome with socks5 proxy
JavaScript
56
star
14

z

z - process manager
Zig
55
star
15

mad

Generate root CA and derivative certificate for any domains and any IPs.
Go
42
star
16

mailx

A lightweight SMTP mail library
Go
26
star
17

soso

HTML
26
star
18

crypto

crypto: Encryption, Hash, Encoding Library
Go
26
star
19

cloudupload

Upload files to multiple Cloud Storage in parallel. Automatically apply for ssl certificate with your domain.
Go
25
star
20

wiresharkhelper

https://www.txthinking.com
21
star
21

jb

jb: write script in an easier way than bash
Zig
20
star
22

bash

One-Click Scripts.
JavaScript
19
star
23

runnergroup

RunnerGroup is like sync.WaitGroup, the diffrence is if one task stops, all will be stopped.
Go
19
star
24

x

A util library on golang.
Go
17
star
25

hancock

Manage multiple remote servers and execute commands remotely
Go
16
star
26

sshexec

A command-line tool to execute remote command through ssh
Go
16
star
27

filelink

Upload and download file in command line
JavaScript
15
star
28

denobundle

Bundle assets into the binary with deno compile
JavaScript
14
star
29

httpserver

This is a very simple http static server, sometimes we need it for testing
Shell
11
star
30

denolib

A Deno library to keep everything small.
JavaScript
11
star
31

testsocks5

Test TCP and UDP of socks5 server
Shell
10
star
32

shiliew

An encrypted, undetectable, simple business proxy/VPN.
9
star
33

markdown

markdown converter and documentation generator
JavaScript
8
star
34

mail-checker

A chrome extension for checking unseen mail count. http://goo.gl/U4XkPR
JavaScript
8
star
35

coding-principle

建议编码风格
5
star
36

pingpong

TCP & UDP echo but with address
JavaScript
5
star
37

cloudflare

cloudflare cli
Shell
5
star
38

php-multipart-form-data-leak

POC for php multipart form data leak, make cpu full
Go
4
star
39

no-referer-image

A chrome extention for removing referer header when requesting image
JavaScript
3
star
40

codeinstall

HTML
3
star
41

txthinking

https://www.txthinking.com
2
star
42

testbrook

JavaScript
1
star
43

sitemap

Build sitemap.xml
JavaScript
1
star