Pronounced "nugget" 🍗
Expose files from a Docker container via temporary HTTP links for easy download.
💡 Tip:
ngetis integrated with github.com/jr-k/d4s when youshellinto a volume, perfect for quickly grabbing files!
With host network (simpler, recommended):
docker run -it --rm --network host -v /path/to/data:/data ghcr.io/jr-k/ngetWith port mapping:
docker run -it --rm -p 33000-33100:33000-33100 -v /path/to/data:/data ghcr.io/jr-k/ngetnget myfile.txt # Expose a file (expires in 10 min)
nget -e 60 myfile.txt # Custom expiration (60 seconds)
nget myfolder/ # Expose a directory (auto tar'd)
nget ls # List active sessions
nget kill 1 # Kill session by number or UUID
nget prune # Kill all sessions| Option | Description |
|---|---|
-e <seconds> |
Set expiration time (default: 600) |
| Command | Description |
|---|---|
ls |
List active sessions |
kill <id> |
Kill a session |
prune |
Kill all sessions |
MIT