This is a small importer script to import albums into ipfs wrapped with a neat gui from nanogallery2.
If you want to know what to expect, heres an example.
- create
./albumsand add albums to it - run
npm installoryarnto install dependencies - run
node importer.jsto import all files
to add new albums just add them (and only them) to ./albums and run node importer.js again.
- The gallery can be customized in the
index.htmlas it wont be replaced by updates. - Having non jpeg or png files in the albums will cause a crash!
- Multi level albums dont work as nanogallery2 doesnt support that (AFAIK). This script will still import them though.