ghost convert static website
1.0.0
This project contains scripts to convert a local ghost website into a static website, which can then be uploaded to a static web host.
wget
to download target website into a static website
/sitemap.xml
, parsing and downloading the individual sitemap filescss
and js
filename (ghost specific)css
and js
references in index.html
files (ghost specific)Run ./build_static_website
, which prompts you for your localhost website and your live website.
Example
Enter the domain of your localhost server:
localhost:2368
Enter the domain of your live website:
mysite.com
A copy of the static website is written to the path ../ghost-static-generated/
.
Upload it to a static web host!