by Iuz on 2/24/25, 2:51 PM with 138 comments
by emacsen on 2/28/25, 8:03 AM
I use plain text accounting for my business, and it's lovely to be able to enter bookkeeping data with a plain text editor and keep it all under version control, but the next step is using a program such as hledger or beancount to work with that data.
I'd love to work with plain text calendar software, but it would still need to do things such as provide a mechanism to work on my desktop and mobile device. It would need to handle recurring events automatically, and it would need to allow me to invite others to events and ideally to track when they've accepted or rejected my invites.
I'd need to be able to update, cancel or propose to move events in such a way that others would be updated.
I wish I knew of a good command line tool to interact with CalDav or similar servers, or that I could maintain my calendar in a file format and then handle the synchronization automatically.
Maybe calendar.txt could play a role in that, but on its own, it's not quite enough for me.
by lblume on 2/28/25, 7:48 AM
The Unix philosophy is often recited as "do one thing, and do it well". This does one thing, but doesn't do it well at all.
by hoherd on 2/28/25, 3:43 PM
## 2025-02-27 W09 Thursday
- Team standup
- Looking up flights to Venus
- Meeting with Acme
- Discuss hydrocoptic marzlevanes
- TODO: read up on them <http://example.com/docs/hydrocoptic-marzlevanes>
- (personal) Feed the dragon
- #5934 Fix glitch in dingle arm reciprocator
I kind of like the calendar.txt idea of prefixing every line with the date, because it makes grepping easier, but at the same time, it doesn't allow for sub-lists and more detailed notes about what was worked on. It hasn't been a big enough problem to deal with though, because of things like `grep -i -B10 encabulator`The vim macro I use is:
" Macro To Do Today
nmap mtdt <esc>O<CR><esc>k"=strftime('## %F W%V %A')<CR>Pa<CR><CR>-
by guessmyname on 2/28/25, 8:21 AM
It sounds super dumb but it works so well.
The main feature is that I can categorize the events (personal, family, work, friends, etc.) and share individual URL’s with other people. Admitedly, I didn’t try solving this problem with Google Calendar, Apple Calendar, or any other calendar service, mostly because I wanted to own my data and also learn a bit more about CalDav itself.
by neilv on 2/28/25, 8:31 AM
https://www.neilvandyke.org/todotxt/
In some ways it worked well, but there were a few drawbacks, and eventually I switched to native calendar programs on desktop and mobile.
Drawbacks I personally felt:
* In the text file, recurring tasks didn't show up when I looked into the future, such as to schedule an appointment.
* Calendar invites over email weren't integrated, so I had to enter and update those manually anyway. (Though one advantage over the native calendar programs I use now is that todo.txt doesn't force the appointment headline someone else wrote into my calendar view, and refuse to let me edit it in my local copy.)
* I had to keep editing dates on tasks manually, every day, for my "current day view" of top of the file to work with priorities.
* No visual calendar views with the tools I was using.
* No device sync with the tools I was using (though possible).
* There are only so many ways in which I was willing to be a weirdo at once, and this one didn't make the cut.
I don't discourage anyone from trying todo.txt or calendar.txt. Just a heads-up of some things you might want to find solutions/workarounds for.
by Communitivity on 2/28/25, 2:13 PM
Use calendar.txt format and method with the following changes:
1) Use markdown, with a top level heading of Calendar (so inclusion is easier) and the portion
2) Use :tag: instead of +tag. Tags can be run together (:tag:tag2:). This helps with Org mode compatibility
3) Third level heading for each event in day, following same format as calendar.txt
4) text under heading is for notes about the event
5) Searching and seeing info on event in day, or summary about day is no longer easy with grep. This is the biggest drawback from not using calendar.txt. Overcome by writing a tool mgrep that is specifically designed to search markdown files in a Markdown aware way (search headings or specific level of headings, show all headings under matching heading or just one level under, show all content under matching headings, search text and show either lines or section text is in optionally along with ancestry of headings).
6) Create CalendarMDMode, minor mode designed to facilitate calendar.md use and editing within Emacs, requires OrgMode, things like shortcuts for new date, new event, in-editor use of mgrep, etc.
7) Attempt to add CalendarMD support to Helix, which is my daily notes editor, using the as-yet unlanded Scheme based plugin system (see https://github.com/helix-editor/helix/pull/8675 )
by bArray on 2/28/25, 11:11 AM
* [ ] YYYY-MM-DD
* [ ] 1800: Dinner with parents
* [x] Walk the dog
* [ ] YYYY-MM-DD
* [ ] 0900: Interview new recruit
* [ ] Prepare interview questions
* [ ] Upload result to HR system
This worked really well for me and was easily searchable. One benefit would be that it is easily trackable in Git.These days I have a little A6 lined notebook and manually list tasks there. Each page is a new day and the tasks are listed similarly. The only modification is that sometimes I put some letters to theme a task, i.e.:
* [ ] YYYY-MM-DD
* [x] Home: Walk the dog
by jaza on 2/28/25, 10:49 AM
Also: claims to be "one thing per line", yet allows and encourages multiple events on one line (as long as they're on the same day). This is a calendar - is an event not the main "thing" we're dealing with?!
by kleiba on 2/28/25, 10:10 AM
https://www.gnu.org/software/emacs/manual/html_node/emacs/Fo...
by nxobject on 2/28/25, 3:21 PM
There are a few more structured formats for calendaring that share the virtues of their workflows: if we used JSON, would jq be a UNIXy tool? What about sqllite and commandline queries? Both would be much more easier for my overloaded mind - especially when parsing records - without adding more inherent complexity beyond a sufficiently overloaded raw text calendar.
by kragen on 2/28/25, 4:44 PM
Anyone who knows me will tell you I am not very organized. Possibly this is why.
Android support is definitely substandard, even with Termux.
It's not foolproof. On one occasion I typed in the month wrong, though in the right place in the file. When I noticed that the line was out of order, I moved it to where the date said it should be. Arriving a month late, I discovered that the studio space I'd paid for no longer existed.
by ndegruchy on 2/24/25, 2:57 PM
by p4bl0 on 2/28/25, 7:13 PM
My text calendar management script is still available here: https://code.up8.edu/pablo/myutils/-/blob/master/kal
by kruffalon on 2/28/25, 8:19 AM
There might be value in checking that out.
Personally I haven't used it in years, but the latest release is from this year so it seems active.
by slmjkdbtl on 2/28/25, 2:29 PM
by thesuitonym on 2/28/25, 7:33 PM
It would be cool if there were a crash course on this stuff, but even that wouldn't work well, because the first time you use a unixy system, it would be too much information to retain, and subsequent times you're likely to just gloss over all this stuff.
Perhaps the only real solution is asking about what you want to do on messages boards, and hoping some weird old curmudgeon who is familiar with the small program you want to use sees your question.
by roland35 on 2/28/25, 12:26 PM
For example, I recently scheduled a dentist appointment 6 months from now. Unless I scroll through the calendar, or specifically search for it, there is no easy way to find that I added that event.
by jeroenhd on 2/28/25, 12:07 PM
Using a full stop as a separator seems rather limiting, something less likely to appear in an event description such as a vertical pipe would make more sense. Now you'd need some kind of weird logic to write an event titled "read top 10 news.ycombinator.com articles". Using @ as a special character also means you can't store "email support@localhost.com" as an event title.
And, of course, everything is hard coded in English, using English style time notation.
This seems like a fine solution for a personal file format but everyone will probably have to modify it to fit their own needs. If I were to use it, I'd violate the "spec" all over the place by time and date notation alone. This could be fixed by adding some kind of header, but I doubt any full application will ever support a format like this so it's hardly a problem.
If I were to use this as a file format, I'd add headers to store things like language, default time zone, ltr vs rtl, and alter the separator characters. Adding something like a title, an author, and the moment of last edit might also be useful.
I'd personally also probably store events as separate, duplicate lines. That way, you can easily add an event to the bottom of the file without having to find/replace an existing date (or generate an entirely new line). Using basic POSIX tools you can easily get the events back to a single line without making scripts too difficult to read. Assuming culture and other headers match, you'd be able to import another calendar file by simply appending the event lines.
by s0fasurfa on 2/28/25, 3:45 PM
If you want to follow UNIX philosophy, why don't you write an augmenter/converter tool `caug` that adds "computed" information such as week number, weekday or even relative date?
> cat calendar-src.txt
2025
====
03-01 9-12 project groups
> cat calendar-src.txt | caug
2025-03-01 w09 09:00-12:00 project groups +tomorrow
+thisweek
> cat calendar-src.txt | caug | grep "thisweek"
2025-03-01 w09 09:00-12:00 project groups +tomorrow
+thisweek
by BuildTheRobots on 2/28/25, 5:20 PM
by smikhanov on 2/28/25, 7:36 AM
- one line per event, so good luck finding multi-day events like “Grandma is visiting”;
- rigid metadata (dates, week numbers, weekdays) stored right next to the editable data (events), so copy-pasting errors are inevitable;
- the most important feature of the real calendar software (reminders) is thrown out;
- grepping is really not how most people interact with a calendar.
If you’re ready to ditch reminders, attachments, locations, use the paper diary planner. At least it won’t let you screw the dates with botched copy-paste.
Update: also, sorting by date must be done manually, my god.
by janpot on 2/28/25, 5:07 PM
by Brajeshwar on 2/28/25, 8:53 AM
by miles on 2/28/25, 8:33 AM
3 days ago, 7 points, 0 comments https://news.ycombinator.com/item?id=43169019
1004 days ago, 202 points, 93 comments https://news.ycombinator.com/item?id=31574125
by noduerme on 2/28/25, 11:27 AM
by dim13 on 3/1/25, 9:10 AM
by account-5 on 2/28/25, 1:59 PM
With that in mind I don't see how this is a replacement for caldav. Sure looking at the plain text of a caldav file is worse, especially one generated by a computer, but at least all expected calendar functionality is included. Though the sprawling RFC is hardly simple to follow or implement.
by sunshine-o on 2/28/25, 11:04 AM
I just create files in a folder with the `yyyy-MM-dd-hh:mm` format. I use `XX` for recurring events.
I use `at` for reminders/notifications.
by jrm4 on 2/28/25, 5:00 PM
by j7ake on 3/1/25, 4:46 AM
The point of calendars is to align with other people’s lives
by pydry on 2/28/25, 9:49 AM
It's like this, but better. I actually get notifications from my calendar text file. I can set some of them as alarms.
by tero on 2/28/25, 9:00 AM
https://web.archive.org/web/20250216110151/https://terokarvi...
by arrty88 on 2/28/25, 1:00 PM
`YY-MM-DD:HH:MMa (Optional repeat cron definition) "Event string"`
by _glass on 2/28/25, 11:47 AM
by Jotalea on 2/28/25, 12:38 PM
by 65 on 2/28/25, 3:47 PM
by dewey on 2/28/25, 12:41 PM
Editing this on mobile sounds very annoying.
by ulrischa on 3/1/25, 8:15 AM
by doenwe on 2/28/25, 5:20 PM
by doenwe on 2/28/25, 5:18 PM
by gherard5555 on 2/28/25, 11:17 AM