Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreasmcdermott/micro-gallery
Like zeit's list, but for images.
https://github.com/andreasmcdermott/micro-gallery
Last synced: 2 months ago
JSON representation
Like zeit's list, but for images.
- Host: GitHub
- URL: https://github.com/andreasmcdermott/micro-gallery
- Owner: andreasmcdermott
- License: mit
- Created: 2016-09-19T02:54:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-04T03:40:27.000Z (almost 7 years ago)
- Last Synced: 2024-10-13T11:39:31.844Z (3 months ago)
- Language: JavaScript
- Homepage: https://micro-gallery.now.sh
- Size: 21.5 KB
- Stars: 36
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micro - micro-gallery - Like Vercel's serve, but for images. (Built with Micro / Utilities)
README
# micro-gallery
Like [zeit's serve](https://github.com/zeit/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]
```### Options
| Usage | Description | Default value |
| ---------------------- | ----------- | ------------------ |
| -h, --help | Output all available options | - |
| -v, --version | The version tag of the micro-gallery instance on your device | - |
| -p, --port [port] | A custom port on which the app will be running | 3000 |
| -d, --dev | Use development mode. When active assets and template aren't cached | - |## Contribute
1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) 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`