Lurker News
After having cycled through various CLI-based todo apps, I started to realise that I actually don’t need a tool at all for managing my todos. Most of the time, my use cases are quite simple, like viewing my todo items, checking them off, or adding a new one.

Rather than having to memorise CLI commands for these interactions (which I’m not super good at), I figured that it’s easier for me to use my text editor directly, and have an editor plugin help me with the visual structure and some convenience functionality. So, kind-of similar to Emacs Org Mode, but without having to use Emacs. I personally use Sublime Text, and even though I enjoy it a lot, I don’t like being bound to specific tools.
I think the best basis for staying independent is to have a data format that’s properly specified and meaningful on its own. This puts the data first, and it allows the tools to be built on top and shared (or interchanged) more easily.
This is what [x]it! is about, which is a plain-text file format for todos and check lists. I’m curious for thoughts and feedback. There is obviously not much tooling support (yet), but feel free to create something if the idea resonates with you.
Website with demo: https://xit.jotaen.net
File specification: https://github.com/jotaen/xit/blob/main/Specification.md

Comments (164) 67 threads

Earlier comments
fladd#
Nice, but (like most tools) misses the crucial feature of start (or scheduled) dates.

I think of one the best plain text implementations of a todo system is the one that is a bit hidden in the task plugin that comes with Zim Wiki [0]. It has start and due dates, nested tasks, priority flags, keywords (which can function as GTD states for instance) and tags.

  [ ] An example task with a @tag
    [ ] A subtask with start AND due date >2022-04-02 <2022-04-09
    [x] A prioritized subtask !
    [x] An subtask with higher priority !!
  NEXT Another task defined by a keyword
[0] https://zim-wiki.org
ZYinMD1 reply#
I haven't checked the Sublime package because I'm not very familiar with Sublime (anymore), but I have some experience developing VSCode themes. Did you need to use "tokens / scopes" to hack the colors? E.g. the color theme of the IDE (whatever theme the user is using at the moment) will paint variables in a certain color, functions in another color, arguments in a third color, etc, so you use regex to parse the text file, identify things that you want to color, then set them to be variables, functions, arguments, etc, so the text editor will give them different colors?
ZYinMD1 reply#
Thanks, just to confirm: if you want the users to see nice colors out of the box (no matter what theme they use) without needing to customizing anything in their settings, then you'd have to utilize common scopes like variables / functions / errors in a hacky way, correct?
jotaen#
Yes. What I did is try to choose default (common) scopes that have a high chance of being coloured the way I want, e.g. for the `[x]` token I use `markup.inserted` which is for markup diffs, so it should be green. Or `markup.underline` for the headlines. But the options are pretty limited.
bachmeier#
Looks like a decent format for human readability, but I think the more important things once you get more than 20 or so items are (a) maintaining, (b) rearranging, and (c) querying. You have to be able to remove completed items and move open items into different places. You have to limit the tasks you are viewing to those relevant in the moment. Perhaps there is a way to use an existing system like Taskwarrior to do the querying and rearranging.
jll29#
Plain text rocks. After trying dozens of "productivity apps", I've settled on using two simple sh aliases:

alias todos="emacs -nw ~/todo.txt;" alias today="head -n 7 ~/todo.txt"
and a homegrown binary "todo" command that preprends its arguments to ~/todo.txt (more precisely, while ignoring the first two lines of the existing file, which say "TODO" and "----", respectively).
Missing: version control.

Load more comments