micro-gallery

February 4, 2018 ยท View on GitHub

Like zeit's serve, but for images.

Share you folder(s) of images with a single command.

Demo

https://micro-gallery.now.sh

Demo source

https://micro-gallery.now.sh/_src

There isn't much "source" to talk about though, it is mainly a folder of images and a package.json file.

Usage

Install it (requires Node v6.0.0 and above)

$ npm install -g micro-gallery

Run it

$ gallery [options] <path>

Options

UsageDescriptionDefault value
-h, --helpOutput all available options-
-v, --versionThe version tag of the micro-gallery instance on your device-
-p, --port [port]A custom port on which the app will be running3000
-d, --devUse development mode. When active assets and template aren't cached-

Contribute

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Uninstall now-serve if it's already installed: npm uninstall -g micro-gallery
  3. Link it to the global module directory: npm link
  4. Transpile the source code and watch for changes: npm start