simple and WP2Static are both open source static site generators. simple is written in JavaScript and WP2Static is written in PHP.
Property | simple | WP2Static |
---|---|---|
Language | JavaScript | PHP |
Templates | Markdown | |
License | MIT | Unlicense |
#Simple
Simple is a static blog generator with a single static page. You can write you blog online, and it will generate static html files at your repo named username.github.io
which is supported by github pages
##Demo
##Usage
With Simple and github pages you can easily create your static blog. Here is what you need to do.
your_user_name.github.io
(remember to check Initilize and create README
).Initilize
to set up basic files for your static blog site.(maybe a little slow)Go
and start writing.New post
to create a new post and when finish writing click save
to generate the static page.your_user_name.github.io
site and enjoy it!You can use your own blog name, just modify the main.json
file, and change name="username"
.
You can use disqus comment system, just modify the main.json
file, and change disqus_shortname=""
to disqus_shortname="your_shortname"
.
You can use your own custom domain, just modify the CNAME
file.(see also)
##Features
##Custom
The template files are at /src/template
, so you can modify the template files and css files. If you want use your own theme you can clone the project, modify the template files and push the entire src
folder in your gh-pages
branch which will allow you generate your own static blog.
##Todo
Enhance error display, Search, Sitemap, Rss
##License
MIT licensed.
WordPress plugin to publish a static copy of your site to GitHub Pages, S3, Netlify or anywhere else you can pipe into your CI/CD workflow.
Formerly, "WP Static Site Generator"
For all the reasons why to use it and the benefits of going static, visit https://wp2static.com. For documentation, there's a site for that, too.