1. 1
  1.  

  2. 4

    Reminds me of todo.txt.

    1. 2

      A glorified (or nodified) ed. huh.

      1. 2

        Eh, I think ed would be a little better one some fronts, because with this one is constantly typing cheq (or an alias) to manipulate said lists, where with Ed, you’re at a (sort of) interactive prompt. Adding an interactive mode here could be an interesting addition, maybe behind an -i flag

        1. 1

          The checklist data is stored as JSON in the default cache folder for your user in your operating system (maybe something like ~/.cache/cheq/data.json) so that makes it easy to work with.

          I also built a little PHP page on my web server that reads the same JSON file from my disk and builds a tiny bit of HTML so I have a pretty preview of my checklist that others can check to see where I’m at on things: http://caduceus.io/todo.php

          :3

          1. 2

            I’m sure it is a good exercise for you to familiarize yourself with node / json / php / html / web server, and I sincerely hope you have learned a lot through this process.

            The following is just my end of day rant on the modern computing. So much things is just piles upon piles of garbage trying to implement simple old tools. Here is the ed implementation to the functionality in the gif (seriously, what’s the point of video taping scrolling texts?),

            % ed
            ,n
            ?
            a
            x Task 1
            x Task 2
            x Task 3
            x Task 4
            . 
            ,n
            1	x Task 1
            2	x Task 2
            3	x Task 3
            4	x Task 4
            1s/$/ #work/
            2s/$/ #work/
            ,n
            1	x Task 1 #work
            2	x Task 2 #work
            3	x Task 3
            4	x Task 4
            g/#work/n 
            1	x Task 1 #work
            2	x Task 2 #work
            1s/^x/o/
            2s/^x/o/
            3s/^x/o/
            g/^x/n
            4	x Task 4
            g/^o/n
            1	o Task 1 #work
            2	o Task 2 #work
            3	o Task 3
            g/^o/d
            ,n
            1	x Task 4
            1c
            x New title 
            .
            ,n
            1	x New title
            1s/$/ #something/
            ,n
            1	x New title #something
            1s/ #.*//
            ,n
            1	x New title
            
        2. 1

          It’s my first non-web-related software project, and the first time I’m distributing prebuilt binaries for windows/linux/mac!