Lurker News
Bike’s most original feature is the “fluid” text editing. Lots of text editors have animated some interactions (cursor movement, insert newline, etc), but I think Bike is the first designed from the ground up to support fluid editing.

Give it a try, it feels different. (movie on home page if you don't have Mac)
Other Features:
• In text mode Bike works like a normal text editor. In outline mode rows are constrained to outline hierarchy.
• .bike file format is HTML subset, so files are easy to parse and manipulate. Bike also supports .opml and .txt.
• Scriptable via AppleScript. Javascript plugin API also expected in future, though no timing on that.
• Architecture needed to support fluid editing also makes Bike faster/more scalable than most (all?) outliners and many text editors. I test performance using the Moby Dick Workout[^1].
Implementation Notes:
• View is built using CALayers[^2].
• Animations are performed by Core animation and Motion[^3] lib.
• View performance is determined by visible text, not document size.
Model representation is interesting in that it’s just a flat list of rows. Each row has a `level` property, outline structure is determined dynamically. View implementation requires that each row has a unique ID.
I’m using OrderedDictionary from Swift Collections[^4] to store rows. This is Bike’s performance bottleneck for large outlines. Eventually I may change to augmented b+tree and then should be able to work with gigabytes worth of outline. That will be fun, but not sure it’s actually needed. Already probably fast enough for 99% of use cases as is.
Hope you find Bike interesting. I’m happy to answer any questions.
[^1]: https://www.hogbaysoftware.com/posts/moby-dick-workout/
[^2]: https://developer.apple.com/documentation/quartzcore/calayer
[^3]: https://github.com/b3ll/Motion
[^4]: https://github.com/apple/swift-collections

Comments (236) 69 threads

Show all comments

Showing thread 2 of 69

kall3 replies#
This is an impressively well stripped down app. It's all I ever wanted from OmniOutliner (remember when it shipped with OS X?).

Unfortunately, I've been drawn in by the linking functionality in Roam/Logseq and cannot go back to a simple outliner, though this makes me want to.
I don't think I'm a fan of the animated cursor while typing. It somehow makes the typing feel slower, like it takes some physical effort for the cursor to push forward.

jessegrosjean1 reply#
It can feel that way for some people. Seems different per user, there's a preference to change the speed in settings.

Also yet need to remember that you don't need to wait for it, sometimes you might just get mesmerized by it and then it feels slow, but if you just type it will keep up with you. It's only ever the "last" animation that fully completes if you are typing fast.

marcuskaz#
I'll have to try it again, I didn't realize there was a setting for it. I uninstalled it because the typing felt really slow and awkward.

My two cents, default disable so it feels faster, it sounded like speed and smoothness was one of the many selling points.

lf-non#
Yes, I am in the same boat. I started using Logseq when I switched to linux as my primary workstation and could no longer use OmniOutliner.

I used to focus a lot on structuring and organizing things properly before. But after I started using linking, tags, ref embeds etc. more I found that I was more productive by just quickly dumping specific things into poorly organized isolated notes, and adding headers, cross-linking/organizing/merging them much later if they survive.
I later learnt (to my surprise) that people had written whole books about similar methodologies (zettelkasten etc.) but yet to sit down and explore any of them.

zaphod4prez#
Another plug for linking... I loved Taskpaper and would be very interested in adopting Bike, but I need those sweet links/backlinks