The problem#
A few months ago, I wrote about using todo.txt to keep track of household tasks. The key word there being "household": many of the tasks I'm tracking are not performed on a computer. I mentioned this issue in the post, that I wanted to look into some way to view those tasks not from my computer.
The solution#
I wrote todotxt-to-html, a very simple script that takes a todo.txt file (with thresholds and due dates as supported by Sleek) and outputs it as HTML. Since Sleek auto-saves on every change to the file, using a script like my compile on save script, it regenerates the HTML file to keep it always up-to-date:
watch_todo.sh /path/to/todo.txt /path/to/webdir/
Also copy or link todo.css
into /path/to/webdir/
.
Use nginx or some other web server to make /path/to/webdir/
available on your local network and then share the link to your
smartphone or whatever other device you want to view your TODO list on.