项目作者: victoriadrake

项目描述 :
Automagical gallery page generator.
高级语言: JavaScript
项目地址: git://github.com/victoriadrake/acme-gallery.git
创建时间: 2017-11-25T02:47:35Z
项目社区:https://github.com/victoriadrake/acme-gallery

开源协议:GNU Affero General Public License v3.0

下载


acme-gallery: Automagically create a pure CSS gallery web page from a folder of image files

See a working example here: victoria.dev/tokyo-life

acme-gallery creates an HTML page with CSS styling included. You can add the page to your website as a standalone gallery, or extract the HTML and styling to mix into other pages. Some comfort with HTML and CSS is recommended for the latter.

Files provided

  • index.html (generated from index.pug)
  • style.css (generated from style.sass)
  • gulpfile.js
  • package.json

Usage (command line)

1. Clone the repository

  1. $ git clone https://github.com/victoriadrake/acme-gallery.git

2. Enter the repo directory and download dependencies

This tool makes use of Node.js and npm. You can find instructions for installing these here: https://docs.npmjs.com/getting-started/installing-node

  1. $ cd acme-gallery
  2. $ npm install

These images will be optimized for you.

4. Optionally, edit the .sass and .pug files

You may wish to change the styling, or the page’s title and description.

In acme-gallery/, run:

  1. $ gulp generate

The program will output a public/ folder containing the files for your gallery page.

License

Copyright (C) 2018 Victoria Drake

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see https://www.gnu.org/licenses.

Acme Corp.

Mail order catalog.