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
mishaker1 reply#
I searched for todo management for years and I tested tons of apps. But as a developer this is the solution I use that works well for me:

Use YAML as a todo list, you can organise your things like:
Perso:

  - Take an appointment at ...

  - ...
Client1:

  - Do something

  - ...
Then put it in todo.yml in your Google Drive (for backup):

/Users/mishaker/Google Drive/My Drive/todo.yml
Then add an alias on your cli:
alias todo="subl /Volumes/GoogleDrive/My\ Drive/todo.yml"
Voilà, that's a simple solution which works for me.

cwmartin#
That is very similar to the Taskpaper syntax if you end up wanting some additional tooling in the future.

https://www.taskpaper.com

nobody_nothing1 reply#
This is great!

I wrote Margin[1] for similar reasons. But because I wanted to be able to incorporate notes as well as to-dos, absolutely anything can go between two square brackets in Margin:
[ ] denotes a to-do item
[x] denotes item marked as done
[anything] denotes an annotation of type "anything"
At first blush, it would appear Margin and [x]it! are compatible, with some very minor differences. Feel free to draw inspo from the Margin spec, and hit me up if you want to combine / collab.
[1] https://margin.love

mmcgaha#
Exactly this. I also use ( ) to denote things that others owe me.
mherrmann1 reply#
A little note to other HNers: The demo on the web site is clickable.

To OP: Very cool. I've switched to it from Markdown for my monthly goal-setting. I like the Sublime Text plugin.

jotaen1 reply#
Have you also tried checking all the items?
mherrmann1 reply#
Haha ;)
jotaen#
I’m seriously considering to make that mandatory via the spec. :D
wodenokoto2 replies#
> [an item] MUST start at the beginning of a line with a checkbox.

Why no subitem?

    [] large task
      [] subtask 1
      [] subtask2
I use this all the time.
jotaen#
I also thought about this, but I have postponed it for now, because there are some implications with this (see here: https://github.com/jotaen/xit/discussions/2). So I thought it’s better to properly think this through beforehand.
nhecker#
I use subitems pretty heavily in my todo_notes.md file as well; to work around the concern over conflict of state, I pay attention to only the checked status of the `large task`. If that parent is not checked off, I know there are still pending subtasks. So I won't really care if there are un-checked subtasks; as long as the parent task is checked I know I can ignore it and move on. Maybe that could be formalized a bit more strongly but since it's only my eyes which will see my todo 99% of the time, I'm fine with it and I know the convention.

Load more comments