0.8.1 • Published 4 years ago

@sammacbeth/dat-seeder v0.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

@sammacbeth/dat-seeder

A CLI tool for seeding several dats from a single machine.

Install

npm install -g @sammacbeth/dat-seeder

Usage

$ dat-seeder --help
Usage: dat-seeder [options] [addresses...]

Options:
  -f --file <dats>          File containing a list of dats to seed
  -d --cachedir <cachedir>  Folder to store dats (default: "./dat")
  -p --port <port>          Swarm listen port
  -h, --help                output usage information

You can either specify dat addresses to seed from the command line, or provide a file that contains addresses on each line:

dat-seeder dat.foundation sammacbeth.eu

or

printf "dat.foundation\nsammacbeth.eu" > dats.txt
dat-seeder -f dats.txt

License

MIT