Show HN: A plain-text file format for todos and check lists
452 pointsRather 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
Show all comments
Showing thread 1 of 67
There are an increasing number of tools using org-mode as a plain-text data store, so you are more likely to be able to participate in a tool ecosystem. In addition to my own https://braintool.org see the list below. BrainTool (mainly a bookmark manager) has an elemental to-do system, I'd love to have my users be able to use your tool for todos.
NB see also Karl Voit's push for org markup awareness outside of Emacs via Orgdown: https://gitlab.com/publicvoit/orgdown.
------ ORG-MODE TOOLS OUTSIDE EMACS
https://plainorg.com
https://flathabits.com
https://beorg.app
https://braintool.org
https://easyorgmode.com
https://logseq.com
https://organice.200ok.ch
https://orgro.org
http://orgzly.com
A mobile-friendly interface that enables jotting things down quickly while on the go… (coincidentally, fully typing “- [ ] remember the milk” is clunky on mobile, switching keyboard, etc).
Also powered by plain text, so you can drop down to the details whenever you want to (including your mobile) with all the portability associated with it.
disclosure: I wrote https://plainorg.com and https://flathabits.com because I wanted a frictionless mobile experience without giving up on org markup (plain text).
Mobile devices require context-aware, guided data entry/editing interfaces.
Continue this thread — 1 reply
How did you create the videos at the top of the page? It's very well done
Continue this thread — 2 replies
Orgro displays the file as "rich" text, so it is not a "hard-coded" UI; it's much closer to viewing the file as you would in Emacs.
That said, it is definitely lacking compared to Emacs: it's a viewer only and mostly doesn't interpret the file contents; you can't execute code blocks, etc.
Anyway here's the definitive argument for org as markup of choice: https://karl-voit.at/2017/09/23/orgmode-as-markup-only/
** DONE bug narrow edit card shows item under bullet which is confusing. :dev:099:It would for sure be nice to have a definitive spec to point to, independent of the emacs ecosystem.
BTW see below the first few lines of my dev-log.org file for yesterday. I think its pretty readable!
* <2022-03-30 Wed>
** DONE Today [83%]
** DONE get rid of link in welcome topic, too confusing :dev:099:
** Instructions for running BrainTool locally:
Continue this thread — 4 replies
The "rendering" I see in an open org-mode file right now is a) coloring and b) collapsing. So apart from hiding and coloring things I think what emacs shows is exactly the source, at least in my configuration. Did I miss something?
So.... when I tried to use Org in VSCode, Vim, Notepad etc, it just sucked. Not even a comparison. In that case, Markdown was better. Maybe I'll look at it again. But like the OP (in the sense of making up my own thing) I have dabbled in creating my own clone of Org-mode based on a Markdown spec.
So it's possible that I just got very much used to how org-mode "source" looks.
A popular view of Org files that comes already builtin in Emacs is the agenda view.
The agenda view lets you query all todos, incoming deadlines, scheduled appointments, etc. harvested from a list of Org files.
For example, I can quickly see all todos, incoming deadlines, scheduled appointments, holidays etc. for an arbitrary period of time, say week 40 of 2022.
Continue this thread — 1 reply
- Headings: Markdown uses #, Org uses asterisks.
- Italic: Markdown uses asterisks or underscores, Org uses /
- Bold: Markdown uses double asteriskes, Org uses asterisks
- Inline Code: Markdown uses backticks, Org uses =
- List items: both use dashes
- Links: Markdown uses [description](url), Org uses [[url][description]]
- Code blocks: Markdown indents each line by four spaces, or some modern dialects use tripe backquotes, Org uses #+begin_src, #+end_src tags
Continue this thread — 1 reply
[1] https://github.com/nvim-orgmode/orgmode
Is there a formal specification or documentation on the format? When I've previously read about integrating org-mode support in other threads, the lack of specification outside of "whatever org-mode does" was the biggest blocker.