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
./albums
and add albums to it - run
npm install
oryarn
to install dependencies - run
node importer.js
to 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.html
as 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.