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
soci2 replies#
I've been refraining myself to upgrade to MacOSX 11 in order to not mess with my dev environment. Are you planning to release it for MaxOSX 10.14 or lower?
jessegrosjean1 reply#
Sorry I don't. So much still to do on Bike, I think my time is better spent building up the app feature set.
Doctor_Fegg1 reply#
Please do at least put the minimum required version on the homepage (maybe in small text below the "Download" button or something).
jessegrosjean1 reply#
A bit late, but added, I always forget that bit.

Continue this thread — 1 reply

sh1mmer1 reply#
This looks great.

One small suggestion would be to add a "collapse parent" keyboard shortcut since this is something I imagine using a lot after scanning one or more items in a list. Perhaps Shift-Command-0 might be a good fit for that.

jessegrosjean1 reply#
I don't think I want to add to many specialized shortcuts, but if you ask in the hogbaysoftware support forums I'm happy to write an AppleScript to do this, and then that can be assigned a keyboard shortcut.

Also generally for collapsing items I use outline mode: Press escape key, and then you can just use left/right arrows to expand collapse items. Maybe not what you are after, but that's how I find I'm always collapsing/expanding things in Bike.

pvg#
In OmniOutliner, the collapse row shortcut will collapse the parent which takes care of the specialized extra keybind. What seems odd is OmniOutliner and Bike's outline/collapse row keys are reversed with cmd-0 and cmd-9 doing collapsing and expanding in one and expanding and collapsing in the other.
WillAdams1 reply#
Nice!

Do you think you could add support for pandoc to export to other formats and import things?
Another option --- possible to set it up so that each node is a text file (or other file format, see pandoc above) and they are grouped using file directories? The nifty Tombo notepad worked thus, and I found it really nice for keeping notes --- for bonus points, multiple files in a directory which have the same name would show as a single node, but have a toggle at the top to select which file extension one is viewing, w/ an option for "all" which expands them so that one can see all of them.

jessegrosjean1 reply#
> Do you think you could add support for pandoc to export to other formats and import things?

Maybe, but not likely soon. Bike does already provide read/write support for .bike (html subset), .opml, and .txt. I think best route is to work from those file formats.
> Another option --- possible to set it up so that each node is a text file (or other file format, see pandoc above) and they are grouped using file directories?
I've long wanted to try something like that. It would be very fun, but I don't expect Bike will do this.

WillAdams#
Well, you could just work up a pandoc file to get to/from the .bike format, then you'd get it all by supporting pandoc.

If you do the Tombo.exe type thing, please let me know --- I'd be delighted to have something like that on MacOS.

reaperducer#
Happy to see this available as both a standalone download, and through the App Store.

I'm a big supporter of indie software, but I've had some recent bad experiences that make me gravitate toward the App Store again.
One of them is just a plain old boring MP3 Tag Editor. When I migrated to an M1 MacBook, it no longer worked. I contacted the author, and it took him a couple of months to respond. Once he did, he said I used it on too many computers, so I can't use it anymore. I used it:
1. The computer I purchased the software on, which I no longer have and was recycled.
2. The computer that replaced the first computer, which I no longer use and gave to my wife, who does not use the software.
3. The computer I replaced computer #2 with, which I used temporarily until I got my current computer. The old computer is now a headless media server in the closet.
The author says there's no way to override his copy protection, or to give me a new license key. "I don't have technical options to resolve such an issue."
Great. So I switched to another (more expensive) MP3 tag editor. But this one I bought through the App Store, so I know it will continue working, even if I upgrade my machine.

Load more comments