Easiest Static Sites on Dokku!

I love dokku but deploying a simple HTML site is actually quite annoying, so I made dokku-pages.

1. Install

npm i -g dokku-pages

2. Deploy Dokku Site

dokku-pages deploy -g dokku@mysite.com:app -d dist --minimal

That’s it!


And by using the minimal flag you can also save a tonne of space in your dokku instance.

Deploy Command Dokku Type Image Size
deploy ... Herokuish Build Pack 1.5 GB
deploy ... --minimal Docker Build 22 MB

That’s a saving of 98.5%!

Anyway, hopefully someone else finds this useful.

Reach for the bolt first...

An industrius mechanical engineer is designing a machine and is faced with the problem of attaching a component to another component. What does he do? Well he quickly solves the problem, by selecting several bolts which would hold the two components together… just as he had thousands of times before…

Read More

Scraping MyUni (Canvas LMS)

So it was time to study for uni exams, this meant that I needed to revise the content in all of the lectures. But wait! the lecture slides are only accessible through a convoluted website system called Canvas LMS.


  • System only allows one pdf to downloaded at a time
  • Each pdf requires 2 link clicks to download
  • Too many mouse clicks:

40 pdf's * 2 links * 4 courses = 320 clicks!

Solution: Scrape it

Read More