Live data from Hacker News

Poll: What's your favorite static site generator?

news.ycombinator.com

11–20 of 124 posts

Re: Poll: What's your favorite static site generator?

#15

bash and wget. Simple example: for f in `ls *.php`; do wget http://myexample.com/$f -O $f.html; done; rename 's/\.php\.html/.html/' * sed -i 's/\.php/.html/g' *.html

Bash, markdown and hope.

Sample...

http://sohcahtoa.org.uk/pages/publish-a-web-site-with-bash-s...

it is horrid, but it works for me.

Seriously, how about a voting option for something like 'homebrew'?

Re: Poll: What's your favorite static site generator?

#19
Years ago we want to do this and I didn't know any tool for it. I develop the application internally and we used wget mirroring to statically deploy it.

Initially I thought it would suck but turns out wget is way better than I thought. With the combination of ssh etc. We build a simple script that deploys takes mirror of the website and deploys it.

After about 5-6 years, it's still in production with no issues. Internally it's a wiki style, simple database model home grown ASP.NET application.

Post reply on HN