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

Earlier comments
spython1 reply#
I really like FoldingText that was also your development. Sadly, it's been discontinued. Looking forward to see if Bike feels as great as FoldingText.
nnwright1 reply#
FoldingText was an absolute work of art, best outliner I've ever used. It's one of those pieces of software I keep using, long after it has been discontinued, holding my breath with each OS release to see if this is the one that breaks it. That will literally be the only thing that keeps me from using it. I sincerely hope Bike adopts a lot of the same features!
jessegrosjean#
Thanks I'm glad you liked it. Please note that I sold FoldingText to https://doubledogsoftware.com and it's still being worked on. I don't know full set of plans, but when I sold last summer (right before dedicating fully to Bike) the goal was to get the code into a modern state that would keep working for years to come.
twohaibei1 reply#
I've been using workflowy.com - looks VERY similar.
lf-non1 reply#
Workflowy is a truly category-defining solution that inspired an entire generation of similar products.

I wanted a (preferably open-source) alternative which I could use with self-managed storage/sync without sharing any data and found Logseq to be pretty good.

alephnan1 reply#
You mean like Org-mode?
lf-non#
Umm ... I have always associated org mode with powerusers because of the implicit learning curve of emacs. Tools like workflowy/logseq are dead simple because anyone who has ever used a bullet list can instantly get productive.

I know that logseq also supports org files, but I am not well versed enough with org to comment how well it stacks up against emacs.

readbeard1 reply#
Cool! I would like to be able to use j and k to navigate up and down when in item selection mode, a la vim (to avoid moving hand to arrow keys).
jessegrosjean#
I plan to do more with single key shortcuts in outline mode, just haven't had time to really think it through. Want to make sure I have a plan before I just start adding them.

Load more comments