3 ms·
If you want to get really exotic, you can check out the Haskell version of this tool. My site (http://dave.fayr.am http://dave.fayr.am) does the same thing usin
by KirinDave 15y ago
If you want to get really exotic, you can check out the Haskell version of this tool. My site (http://dave.fayr.am http://dave.fayr.am) does the same thing using Hakyll and S3. You can see the code here: https://github.com/KirinDave/public-website https://github.com/KirinDave/public-website
- gwern 15y agohttp://www.gwern.net http://www.gwern.net is built on Hakyll as well; I'm currently hosting the static files on NFSN, but they're noticeably more expensive than Amazon S3 and I've been thinking of doing the same thing. What did you have to do to get S3 working?
- KirinDave 15y agoBasically nothing. I drag-drop the produced site via S3 Browser.app. I need to fix that part of the workflow; it's a little awkward here.
- wunki 15y agoI'm also using Hakyll for my site (http://www.wunki.org http://www.wunki.org). Used Jekyll before, but I didn't think the markdown libraries were up to par with Pandoc. You can browse the source code of my site here: https://github.com/wunki/www.wunki.org https://github.com/wunki/www.wunki.org. I also threw together a script (./publish) that first gzips the static files and then uploads them to S3 with the correct headers (gzip and cache-control). Finally, it invalidates the old files on Cloudfront. Combined I get a very fast site, while keeping the cost low. Again, you can find it all in the github repository.