An open API service indexing awesome lists of open source software.

https://github.com/nebrius/images-to-website

A bespoke script to convert a series of images to a website
https://github.com/nebrius/images-to-website

Last synced: over 1 year ago
JSON representation

A bespoke script to convert a series of images to a website

Awesome Lists containing this project

README

          

# images-to-website

A bespoke script to convert a series of images to a website. Once the script has run, you can upload it to your web server.

## Installation

Run these commands from your terminal to install this script:

```
git clone https://github.com/nebrius/images-to-website.git
cd images-to-website
npm install
```

## Usage

Once the script is installed, add images to the `content` folder, named with the format `0001.jpg`. The script will generate
a corresponding HTML file that links to previous and next images, if applicable. Once your images are in the folder, run this
command:

```
npm run generate
```

If you'd like to tweak the style, take a look at the `template.handlebars` file.

## License

Copyright (c) Bryan Hughes

This file is part of Home Lights.

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

Home Lights 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with Home Lights. If not, see .