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
- Host: GitHub
- URL: https://github.com/nebrius/images-to-website
- Owner: nebrius
- License: gpl-3.0
- Created: 2020-09-07T23:14:58.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-09-08T00:21:55.000Z (almost 6 years ago)
- Last Synced: 2025-02-08T08:46:59.515Z (over 1 year ago)
- Language: JavaScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 .