TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A plain-text file format for todos and check lists

452 点作者 jotaen大约 3 年前
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.<p>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.<p>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.<p>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.<p>Website with demo: <a href="https:&#x2F;&#x2F;xit.jotaen.net" rel="nofollow">https:&#x2F;&#x2F;xit.jotaen.net</a><p>File specification: <a href="https:&#x2F;&#x2F;github.com&#x2F;jotaen&#x2F;xit&#x2F;blob&#x2F;main&#x2F;Specification.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jotaen&#x2F;xit&#x2F;blob&#x2F;main&#x2F;Specification.md</a>

63 条评论

tconfrey大约 3 年前
+1 for plain-text for all the points you mention, particularly &quot;data-first with tools on top&quot;. But why reinvent the wheel when the org-mode format is well established and does everything you want, and more?<p>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 <a href="https:&#x2F;&#x2F;braintool.org" rel="nofollow">https:&#x2F;&#x2F;braintool.org</a> see the list below. BrainTool (mainly a bookmark manager) has an elemental to-do system, I&#x27;d love to have my users be able to use your tool for todos.<p>NB see also Karl Voit&#x27;s push for org markup awareness outside of Emacs via Orgdown: <a href="https:&#x2F;&#x2F;gitlab.com&#x2F;publicvoit&#x2F;orgdown" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;publicvoit&#x2F;orgdown</a>.<p>------ ORG-MODE TOOLS OUTSIDE EMACS<p><a href="https:&#x2F;&#x2F;plainorg.com" rel="nofollow">https:&#x2F;&#x2F;plainorg.com</a><p><a href="https:&#x2F;&#x2F;flathabits.com" rel="nofollow">https:&#x2F;&#x2F;flathabits.com</a><p><a href="https:&#x2F;&#x2F;beorg.app" rel="nofollow">https:&#x2F;&#x2F;beorg.app</a><p><a href="https:&#x2F;&#x2F;braintool.org" rel="nofollow">https:&#x2F;&#x2F;braintool.org</a><p><a href="https:&#x2F;&#x2F;easyorgmode.com" rel="nofollow">https:&#x2F;&#x2F;easyorgmode.com</a><p><a href="https:&#x2F;&#x2F;logseq.com" rel="nofollow">https:&#x2F;&#x2F;logseq.com</a><p><a href="https:&#x2F;&#x2F;organice.200ok.ch" rel="nofollow">https:&#x2F;&#x2F;organice.200ok.ch</a><p><a href="https:&#x2F;&#x2F;orgro.org" rel="nofollow">https:&#x2F;&#x2F;orgro.org</a><p><a href="http:&#x2F;&#x2F;orgzly.com" rel="nofollow">http:&#x2F;&#x2F;orgzly.com</a>
评论 #30882776 未加载
评论 #30883119 未加载
评论 #30885804 未加载
评论 #30882707 未加载
评论 #30883003 未加载
D13Fd大约 3 年前
I am conflicted on this.<p>The spec is nice. I love the recognition that dates may be imprecise (e.g., 2022-05 -- although I would count that as the last day of the period, 23:59:59 on 2022-05-31, rather than the first day of the next period, 2022-06-01). I like the thought that went into it and the nice presentation.<p>On the other hand, I do not think this is necessary or even all that helpful in the real world. You don&#x27;t need a standardized format if you are writing to do items manually in a text editor. You just write them. In the vast majority of cases no one is going to see them but you. Time spent conforming to a spec is time wasted.<p>A formal spec also doesn&#x27;t help much for apps to use this format. There is not a huge need for portability between to do apps, and for most users to do items are ephemeral and not something that needs to be archived and revisited. Even if an app adopted this, being tied to a plain text format would likely hinder feature development, including the ability to sync across multiple devices. Beyond that, different to do apps use different systems of categorization and tagging, so really in practice I doubt this will become any kind of standardized format.<p>So, all told, it is a beautiful effort, nicely presented, but I think it is unnecessary.
评论 #30880458 未加载
评论 #30880020 未加载
评论 #30880060 未加载
评论 #30880259 未加载
评论 #30881513 未加载
评论 #30880098 未加载
评论 #30880407 未加载
评论 #30882158 未加载
评论 #30880074 未加载
评论 #30881998 未加载
divbzero大约 3 年前
As an alternative, the todo.txt format [1][2] first defined in 2006 [3] is supported by a CLI client (desktop) and several GUI clients (desktop, mobile, web).<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;todotxt&#x2F;todo.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;todotxt&#x2F;todo.txt</a><p>[2]: <a href="http:&#x2F;&#x2F;todotxt.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;todotxt.org&#x2F;</a><p>[3]: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20060701121920&#x2F;https:&#x2F;&#x2F;lifehacker.com&#x2F;software&#x2F;top&#x2F;geek-to-live--readerwritten-todotxt-manager-173018.php" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20060701121920&#x2F;https:&#x2F;&#x2F;lifehacke...</a>
评论 #30884877 未加载
评论 #30884014 未加载
jotaen大约 3 年前
Clickable links:<p>Website with demo: <a href="https:&#x2F;&#x2F;xit.jotaen.net" rel="nofollow">https:&#x2F;&#x2F;xit.jotaen.net</a><p>File specification: <a href="https:&#x2F;&#x2F;github.com&#x2F;jotaen&#x2F;xit&#x2F;blob&#x2F;main&#x2F;Specification.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jotaen&#x2F;xit&#x2F;blob&#x2F;main&#x2F;Specification.md</a>
MattyRad大约 3 年前
Any todo list that doesn&#x27;t account for dependency tasks is exclusively limited to short term planning (i.e. days not weeks). After skimming the spec, I don&#x27;t think dependency tasks are accounted for?<p>For example, say this is my (out of order) to-do list:<p>- [ ] Mix ingredients<p>- [ ] Eat cake<p>- [ ] Bake a cake<p>- [ ] Find cake pan<p>These tasks need to be done in a specific order, but reading the list top to bottom doesn&#x27;t make sense.<p>So let&#x27;s denote dependencies with indentation:<p>- [ ] Eat cake<p><pre><code> - [ ] Bake a cake - [ ] Find cake pan - [ ] Mix ingredients </code></pre> By specifying order through indentation, we&#x27;ve now created a DAG that orders and contextualizes tasks; with the most actionable tasks having the largest indentation. This is how I organize my plaintext to-do files, but afaict no todo list software is able to handle large task trees gracefully- with the exception of <i>grit</i>, which is more of an experiment (but the readme is incredibly well written and describes the DAG problem to a tee).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;climech&#x2F;grit" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;climech&#x2F;grit</a><p>Does anyone know if org-mode handles complex task trees gracefully? All the examples I&#x27;ve found online were trivial (i.e. one task deep)
评论 #30887664 未加载
halostatue大约 3 年前
Looks interesting. It doesn’t have a formal specification, but there may be things from TaskPaper <a href="https:&#x2F;&#x2F;www.taskpaper.com&#x2F;guide&#x2F;getting-started&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.taskpaper.com&#x2F;guide&#x2F;getting-started&#x2F;</a> that you may find interesting.<p>There are lots of things that support the basic TaskPaper format: <a href="https:&#x2F;&#x2F;support.hogbaysoftware.com&#x2F;t&#x2F;taskpaper-extensions-wiki&#x2F;1628&#x2F;1" rel="nofollow">https:&#x2F;&#x2F;support.hogbaysoftware.com&#x2F;t&#x2F;taskpaper-extensions-wi...</a>
kitplummer大约 3 年前
This is awesome! Super appreciate the effort on this.<p>One challenge I&#x27;ve had is the file-based concept. And it losing &quot;shape&quot; quickly. I taken a few whacks at something different and have settled on a CLI-based kanban-y thing: <a href="https:&#x2F;&#x2F;github.com&#x2F;kitplummer&#x2F;clikan" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kitplummer&#x2F;clikan</a><p>But this lacks things like tags - which I appreciate as long as they are searchable in some form.
评论 #30879645 未加载
评论 #30880295 未加载
评论 #30879782 未加载
jrib大约 3 年前
I like it.<p>I do something similar for my todo file but organize by date. Most recent date first. Every day I review unchecked items from the previous day and move them to today or mark them obsolete.<p>It has the added functionality of serving as a nice log of my work.<p>So it looks something like this:<p><pre><code> 2022-04-01 ========== [ ] do a thing 2022-03-31 ========== [x] foo the baz</code></pre>
评论 #30885621 未加载
Giho大约 3 年前
There is a todo format that I use daily called todotxt. It has even application support on most platforms or you just write manually in a txt file. Easy to overview by yourself. In combination with Syncthing I have a very seamless experience where ever I go.<p><a href="http:&#x2F;&#x2F;todotxt.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;todotxt.org&#x2F;</a> <a href="https:&#x2F;&#x2F;syncthing.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;syncthing.net&#x2F;</a>
_h9mb大约 3 年前
I had a similar insight some years ago. I write my TODOs mixed with text in markdown notes and use a CLI to do nice things like exploration and journaling. It purposefully doesn&#x27;t have any state besides the notes in itself.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;danisztls&#x2F;journal" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;danisztls&#x2F;journal</a><p>Lately I&#x27;m rarely using it because most of the things that I really have to do (work) are on my email inbox or containerized in project dirs. And for the later I just run &#x27;rg &quot;TODO:&quot;&#x27; in the project dir.
评论 #30882711 未加载
dugmartin大约 3 年前
I have my own informal format that doesn&#x27;t use the [], just single characters<p><pre><code> - this is an unstarted todo &#x2F; this is a started todo x this is a finished todo ~ this is a todo I&#x27;m not going to do </code></pre> It works well for me.
评论 #30882389 未加载
评论 #30884838 未加载
tyingq大约 3 年前
Looks interesting. Might be worth looking at the Emacs Org Mode support for TODO lists[1]. Just as a reference for how someone else dealt with TODOs in a text format, but with a pretty complete feature set.<p>[1] <a href="https:&#x2F;&#x2F;orgmode.org&#x2F;org.html#TODO-Extensions" rel="nofollow">https:&#x2F;&#x2F;orgmode.org&#x2F;org.html#TODO-Extensions</a>
neurocat123大约 3 年前
Just my 2¢: I&#x27;m also using plain text files as a &#x27;mind-dump&#x27;&#x2F;exocortex&#x2F;organsation system. After a while, the file tends to get rather big, and so I need some coarse hierarchical levels, like &#x27;random cool stuff to look at when idle&#x27;, &#x27;high priority stuff&#x2F;this week&#x27;, &#x27;medium priority stuff&#x2F;this month&#x27;, etc. A copious amount of unicode and especially ASCII art helps me a lot to find sections quickly. Behold my elite retro headers like<p><pre><code> ╗ ║ TODAY ╚═════════════════════════════════════════════╗ </code></pre> and grab-box of symbols:<p><pre><code> ↗↙⋇⟡*═╔╗╚╝║∙◽◼▪→▶▷▸▹⇒⇨◉๏⦿⊙○●⭗⭘⭘ ────── ∗ ⋅◈⋅ ∗ ────── </code></pre> Markdown-style headers (with - or = underlines) also help a lot to organise within the top-level sections. In general I find it very helpful to re-use Markdown (or reStructuredText) syntax, even if it&#x27;s not rendered.
ryanolsonx大约 3 年前
This is really cool. I dig it.<p>I like that there&#x27;s a Sublime Text package for it. Seeing my plain text todos with nice syntax highlighting is a perk.<p>I maintain a Zenburn color scheme[0] for Sublime Text. After playing with this, I added specialized support for [x]it! and I think it looks pretty good[1].<p>[0]: <a href="https:&#x2F;&#x2F;packagecontrol.io&#x2F;packages&#x2F;Zenburn%20Color%20Scheme" rel="nofollow">https:&#x2F;&#x2F;packagecontrol.io&#x2F;packages&#x2F;Zenburn%20Color%20Scheme</a><p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;ryanolsonx&#x2F;sublimetext-zenburn-theme&#x2F;issues&#x2F;2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ryanolsonx&#x2F;sublimetext-zenburn-theme&#x2F;issu...</a>
_andrei_大约 3 年前
Looks like quite similar to my own document &#x2F; task management grammar [1].<p>I wrote a small library to parse mine, and built many tools on top of it, including editor support, various CLIs for task management, calendar, activity tracking, content consumption, etc.<p>I invested a lot of time into learning Emacs, got into using Org, but Emacs is just too slow, and I got to a point where customizing the tool for what I want was harder than building a custom tool.<p>[1] <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;Nm6e31W.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;Nm6e31W.png</a> * sorry for ma english
wim大约 3 年前
This is very cool!<p>We&#x27;re actually building an editor&#x2F;IDE of sorts from scratch, but specifically for &quot;todo.txt&quot; (<a href="https:&#x2F;&#x2F;thymer.com" rel="nofollow">https:&#x2F;&#x2F;thymer.com</a> if you&#x27;re interested). I think a lot of parts of your spec would fit really well with the concepts we were thinking of (like the status in between [ ], due dates, #tags..). Maybe we should add compatibility for this spec as well (for things like autocomplete, and export&#x2F;import).<p>Thanks for posting, really helpful for portability to have more standards like these!
mpalczewski大约 3 年前
I switched away from Workflowy to a plain text file format. Load times are quicker, navigation is quicker, can use keyboard only without a mouse, the UX can keep up with the pace of my thinking.<p>I prefer vimwiki for this purpose <a href="https:&#x2F;&#x2F;github.com&#x2F;vimwiki&#x2F;vimwiki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vimwiki&#x2F;vimwiki</a><p>You can get plugins that sync it to a git repository. I love this.<p>There&#x27;s also task warrior plugins, though I haven&#x27;t figured out how that would for me, seems to get away from simple text files at that point.
sloankev大约 3 年前
Very cool! I made something very similar to this as a VS Code extension[1]. Inspired by the bullet journal method.<p>[1] <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=blt.blt" rel="nofollow">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=blt.blt</a>
评论 #30882160 未加载
评论 #30881111 未加载
softwarebeware大约 3 年前
This is really cool. I am endlessly fascinated by the proliferation of &quot;productivity apps&quot; when I find the same thing as you: that they are quite unnecessary.<p>My approach is similar. I already take notes via a Bash script. I configure a particular &quot;label&quot; for any todos and (essentially) just grep for them, excluding those that are crossed out (with Markdown tildes). This approach works great for me as a Staff Engineer in a large tech company. Reference: <a href="https:&#x2F;&#x2F;github.com&#x2F;scottashipp&#x2F;noted&#x2F;blob&#x2F;main&#x2F;subcommands.md#todos" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;scottashipp&#x2F;noted&#x2F;blob&#x2F;main&#x2F;subcommands.m...</a><p>I also wanted to mention there are several related ideas &#x2F; movements around the web. One of the biggest is todotxt. In case you hadn&#x27;t heard of it: <a href="https:&#x2F;&#x2F;github.com&#x2F;todotxt&#x2F;todo.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;todotxt&#x2F;todo.txt</a>
评论 #30879665 未加载
zamubafoo大约 3 年前
Only thing I would think of changing would be allowing for the use of colons in tags to provide tag namespaces. Then it&#x27;s fairly trivial to implement things like created on date, completion date, and the like since it&#x27;s just &quot;#created-on:yyyy-mm-dd&quot; or &quot;#completed-on:yyyy-mm-dd&quot;.<p>It also allows users more generic organization options, with filtering based on the namespaced tags being something trivial, but ultimately up to the user or the app that is interfacing with the xit file.
mishaker大约 3 年前
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:<p>Use YAML as a todo list, you can organise your things like:<p>Perso:<p><pre><code> - Take an appointment at ... - ... </code></pre> Client1:<p><pre><code> - Do something - ... </code></pre> Then put it in todo.yml in your Google Drive (for backup):<p>&#x2F;Users&#x2F;mishaker&#x2F;Google Drive&#x2F;My Drive&#x2F;todo.yml<p>Then add an alias on your cli:<p>alias todo=&quot;subl &#x2F;Volumes&#x2F;GoogleDrive&#x2F;My\ Drive&#x2F;todo.yml&quot;<p>Voilà, that&#x27;s a simple solution which works for me.
评论 #30887916 未加载
nobody_nothing大约 3 年前
This is great!<p>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:<p>[ ] denotes a to-do item<p>[x] denotes item marked as done<p>[anything] denotes an annotation of type &quot;anything&quot;<p>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 &#x2F; collab.<p>[1] <a href="https:&#x2F;&#x2F;margin.love" rel="nofollow">https:&#x2F;&#x2F;margin.love</a>
评论 #30884467 未加载
mherrmann大约 3 年前
A little note to other HNers: The demo on the web site is clickable.<p>To OP: Very cool. I&#x27;ve switched to it from Markdown for my monthly goal-setting. I like the Sublime Text plugin.
评论 #30886660 未加载
wodenokoto大约 3 年前
&gt; [an item] MUST start at the beginning of a line with a checkbox.<p>Why no subitem?<p><pre><code> [] large task [] subtask 1 [] subtask2 </code></pre> I use this all the time.
评论 #30879836 未加载
评论 #30880427 未加载
ChanderG大约 3 年前
Shameless plug. For those who use Orgmode, but think that Agenda is a bit too heavyweight to manage Todos, I created a Magit like interface to manage Todos (in an orgmode file): <a href="https:&#x2F;&#x2F;github.com&#x2F;ChanderG&#x2F;toodoo.el" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ChanderG&#x2F;toodoo.el</a>
cehrlich大约 3 年前
Interesting idea, I like the premise that people might build fancy ways to interact with this such as VSCode addons with a &#x27;real&#x27; UI, but there will always be a plaintext fallback.<p>I already manage my hobby software projects using plaintext files, using a made-up syntax that is not quite org-mode, not quite xit, but that I&#x27;m also not too strongly attached to.<p>The one thing that jumps out of me that would make it hard to switch to xit that the spec currently doesn&#x27;t allow lines to start with whitespace, which I use for grouping things. I settled on 2 spaces, but could also see 4 maybe being a better choice because of how it makes things line up.<p>(presented here with additional spacing because hn doesn&#x27;t parse single newlines)<p>UI<p>[ ] Buttons<p><pre><code> [ ] Front page call to action [ ] Make it red [ ] Make it really big [ ] General [ ] Increase padding [ ] Stronger drop shadow</code></pre>
评论 #30886655 未加载
gorgoiler大约 3 年前
Nice, kind of weird like a bullet journal. Very ergonomic.<p>For bonus points you should provide an LSP server that lints and syntax checks your <i>xit!</i> files.<p>Why? Extracting data from notes is really useful. Even if it’s just to reformat them. To extract data they must first be parsed, and to be parsed they must be free of errors.
roberthahn大约 3 年前
Good work! I might just try this out in my next attempt to GTD<p>I’d like to suggest thinking more deeply about dates. I love that you opted to use the yyyy-mm-dd format and I also think it’s great that you’re making things flexible because life is messy.<p>The problem I see is this; suppose I’m in a text editor and I want to see my todos ordered by due date. This will help me see what’s coming up.<p>The advantage of using a yyyy-mm-dd format is that it makes things really easy to sort in reverse lexicographic order. However, with dates coming in at any point in the todo, sorting might be tricky. The week-style date format would also be tricky to sort properly.<p>Granted, this is an option for tools to solve! But if the primary tool is a text editor, then this might be an area that could use refinement.<p>Again: love the work you put into this and I also love the ergonomics! Thanks for sharing!
评论 #30882663 未加载
navjack27大约 3 年前
I made this which is suitable for my needs when mixed with Obsidian. <a href="https:&#x2F;&#x2F;github.com&#x2F;navjack&#x2F;ConsoleJournal&#x2F;blob&#x2F;main&#x2F;journal.ps1" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;navjack&#x2F;ConsoleJournal&#x2F;blob&#x2F;main&#x2F;journal....</a>
bccdee大约 3 年前
I ended up reaching a similar conclusion after I went looking for a todo app that suited my needs. I had very few requirements and I was surprised nothing satisfied them. I wanted something (1) that allows me to attach dates to tasks; (2) that lists tasks by date in a calendar; (3) that is local-only — not a web app, no cloud sync or anything, and not too many extraneous features.<p>I couldn&#x27;t find anything that met those criteria without also having a bunch of extra features and a subscription service tacked on, and eventually I just wrote a script for scraping a text file and printing out all the lines tagged with dates (e.g. @jun-10) in order. That&#x27;s the only real functionality I needed that a text file can&#x27;t satisfy on its own, and it&#x27;s been working great so far.
评论 #30882138 未加载
jkl5xx大约 3 年前
I’ve naturally developed a similar syntax to this and recently dumped all my notes into NotePlan 3. It’s been one of the best task management&#x2F;note taking solutions I’ve found yet (not an ad, just an enthusiastic user!) With a little bit of find-and-replace in your favorite editor, you get great UX across platforms and all the benefits of plaintext without too many additions&#x2F;deviations from standard markdown.<p>The one big addition I’d make to this syntax is a time estimate. I use the syntax ~15m or ~2.5h etc. With the autotimebox plugin in Noteplan 3, I’m able to automatically fill in blank space on my calendar with these as events. If things come up and the day doesn’t go as planned, I just run autotimebox again and it finds a new time for them
netgusto大约 3 年前
Wow such a coincidence! I recently toyed on such a spec for my shell prompt task manager <a href="https:&#x2F;&#x2F;github.com&#x2F;netgusto&#x2F;tax" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;netgusto&#x2F;tax</a> (I display it in my prompt and my tmux session bar, it&#x27;s nice to keep current work in focus)<p>I&#x27;m certainly going to look into implementing the spec.<p>Some questions&#x2F;suggestions:<p><pre><code> * do you plan support for text unrelated to tasks ? * do you plan support for sections &#x2F; nested sections? * idea suggestion: in tax (linked above) we use markdown bold to notify &quot;focused&quot; tasks and sections, ie the one(s) that should be front and center; ex: - [ ] **This is a focused task**</code></pre>
评论 #30882080 未加载
fladd大约 3 年前
Nice, but (like most tools) misses the crucial feature of start (or scheduled) dates.<p>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.<p><pre><code> [ ] An example task with a @tag [ ] A subtask with start AND due date &gt;2022-04-02 &lt;2022-04-09 [x] A prioritized subtask ! [x] An subtask with higher priority !! NEXT Another task defined by a keyword </code></pre> [0] <a href="https:&#x2F;&#x2F;zim-wiki.org" rel="nofollow">https:&#x2F;&#x2F;zim-wiki.org</a>
ZYinMD大约 3 年前
I haven&#x27;t checked the Sublime package because I&#x27;m not very familiar with Sublime (anymore), but I have some experience developing VSCode themes. Did you need to use &quot;tokens &#x2F; scopes&quot; 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?
评论 #30884315 未加载
bachmeier大约 3 年前
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大约 3 年前
Plain text rocks. After trying dozens of &quot;productivity apps&quot;, I&#x27;ve settled on using two simple sh aliases:<p>alias todos=&quot;emacs -nw ~&#x2F;todo.txt;&quot; alias today=&quot;head -n 7 ~&#x2F;todo.txt&quot;<p>and a homegrown binary &quot;todo&quot; command that preprends its arguments to ~&#x2F;todo.txt (more precisely, while ignoring the first two lines of the existing file, which say &quot;TODO&quot; and &quot;----&quot;, respectively).<p>Missing: version control.
wforfang大约 3 年前
I do something similar but I include informational notes as well (not just action items&#x2F;todo&#x27;s).<p><pre><code> * incomplete todo ~ completed todo - informational </code></pre> Each day I create a new note, titled by date. Grep the folder for topics or incomplete action items. No tooling or overhead needed. I have never felt the need to syntax &quot;ongoing&quot; or &quot;obsolete&quot; items. It&#x27;s either open or closed.
mrleinad大约 3 年前
It looks great, I&#x27;d have to give it a try to be able to have an opinion on it though.<p>Did you try PlainTasks? You might be able to borrow a few ideas from it too.<p>Congrats!
aimor大约 3 年前
I like it, is very close to what I&#x27;ve been using to keep my own to-do lists: Instead of &quot;[ ]&quot; I just use &quot;-&quot; or &quot;x&quot;.<p>The only thing I do that this doesn&#x27;t mention is nested lists:<p><pre><code> [ ] This task has subtasks [x] Post about it on HN [ ] See if someone else already did</code></pre>
评论 #30888711 未加载
reaperducer大约 3 年前
Kinda sorta related, on macOS, if you choose to store your Notes in a plain old e-mail server, they are stored as text files very similar to this.<p>Or at least they were last time I checked a few years ago. It was very handy to be able to access my Notes and lists from a regular old webmail interface.
Siira大约 3 年前
<a href="https:&#x2F;&#x2F;github.com&#x2F;Vhyrro&#x2F;neorg" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;Vhyrro&#x2F;neorg</a> is a neovim format inspired by org-mode. It should be easier than learning the real org-mode. The real-org mode is not that hard to use though IMO.
chrisweekly大约 3 年前
You do you, and thanks for sharing, but it&#x27;d be pretty tough to convince me Markdown isn&#x27;t the right underlying format for whatever client or functionality you might want to build. See eg Obsidian and its amazing plugins to see what I mean.
softwarebeware大约 3 年前
One other small thought I have is about the name. It&#x27;s common to use &quot;xit&quot; in popular JavaScript test framework like Mocha and Jasmine to indicate an excluded test. Could cause some ambiguity or an unwanted association.
woile大约 3 年前
Nice work! I use a obsidian with reminder plugin and I end up writing something similar:<p>- [ ] work (@2022-04-04) - [X] not work<p>I like the priority features though, didn&#x27;t think of that, but I haven&#x27;t needed it much (I try to keep them in order of priority)
dllthomas大约 3 年前
I have a couple scripts that manipulate a stupidly simple &quot;every line is a todo&quot; format &quot;.ck&quot; file anywhere up from the CWD, combined with logic in my PROMPT_COMMAND to print the top item.
quickthrower2大约 3 年前
Dont dwell on choosing todo apps. Pick any reasonable one and use it alot. Habit &gt; software.<p>The main thing you need is for it to sync. Text file and dropbox is fine.<p>The Microsoft one is pretty advanced and easy to use. That is my go to.
Jellyspice大约 3 年前
interesting, I also happen to switched to vscode to manage my notes and todos. I use Todo+ <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=fabiospampinato.vscode-todo-plus" rel="nofollow">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=fabiospa...</a> for managing my todo list, what I like about todo+ is that it has simple formatting and I&#x27;m able to track start and end time of the task, it also has this little counter at the the top of the list to track finish&#x2F;total tasks.
shakezula大约 3 年前
It&#x27;s bullet journal notation meets plain-text format and I dig it.<p>I use pure text files for a lot of things, too, and I already use a similar system, but it&#x27;s definitely more free-form.<p>Cool idea!
stewbrew大约 3 年前
I think you should discuss pro&#x2F;cons wrt&#x2F; other (more established) formats like todo.txt that provide a wide variety of tools.
la_fayette大约 3 年前
Looks great, I am quite happy with todo.txt and all apps and tools available. Have you ever looked into that? It seems quite similar...
didip大约 3 年前
I thought of something similar, so I just write it in a YAML + Markdown format and push it to github as private publishing.
eternityforest大约 3 年前
This is so wonderful! I hope it becomes a standard, and we get calandering&#x2F;reminder type tools to work with it.
djtriptych大约 3 年前
Heh - just did the same thing over the last week to compile my task list into trello cards to share out =)
sunshi23大约 3 年前
I also have cycled through many todo apps and tried to make my own. I ended up using pen and paper.
cjohnson318大约 3 年前
How do the &quot;tags with values&quot; work? What is the intended use case?
评论 #30880983 未加载
vietvu大约 3 年前
I have come back to plain text and sublimetext too. Simple and just works.
MattRix大约 3 年前
This is great! This is the nearly the exact format I’ve been using myself.
jashmota大约 3 年前
Obsidian is pretty easy to use to maintain a to-do list as well.
zachwill大约 3 年前
Great work on this — love the website demo!
forgotpwd16大约 3 年前
What you didn&#x27;t liked with todo.txt?
评论 #30880341 未加载
jbverschoor大约 3 年前
Already allin on noteplan.
syngrog66大约 3 年前
vi TODO
terminal_d大约 3 年前
Why reinvent the wheel, when Org-Mode exists?