Show HN: Bike – macOS Native Outliner (opens in a new tab)hogbaysoftware.com
513 pointsGive 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 commentsIs there any way to change the font? As a developer, non-monospace fonts feel foreign for composing text.
That and ability to zoom in/out or increase/decrease font size.
I'm getting a lot of request for also adding changing the underlying font. Will likely add that sooner then later now since lots of people seem to need.
Continue this thread — 1 reply
[0] https://www.mindnode.com/
[1] https://reflect.app
Horses for courses I guess.
Bike looks neat though.
It's a tough balance. Software doesn't age like fine wine sitting on a shelf - it lives in a dynamic environment. It's more akin to produce that will rot over time. Even if no new features are added, it still requires maintenance - by someone.
Having said that, I’m not sure a subscription model makes sense for an app like MindNode, since I’d bet a majority of its users only work on mind maps sporadically That’s conjecture on my part, of course, and I could be absolutely wrong, but I suspect people who do everything with mind maps are fairly few and far between. Paying annually for Ulysses, a writing app I really do use every day, is one thing; paying for MindNode, which I use maybe once a quarter, is a big ask.
I am all for layers of features that cost money to unlock, but never ever ever on a subscription basis. It's like every developer out there heard that SaaS is where the money is at and decided that applied to their project out of dogma rather than a well reasoned business case.
That said, the fluid animations in Bike look great, and the video was very slick! Nice work.
OrgMode relies on emacs, which is not exactly in the same class of software that this is. This is "one thing well" stuff. Emacs and OrgMode are pretty much the other side of the continuum.
My job frequently has me switching between different desktop operating systems and mobile, so for me a simple clear text approach works the best, and org-mode and Markdown has that nailed down.
So for now my tools are limited to Sublime Text on the desktop (with the OrgExtended plugin), Obsidian for my markdown notes (though sublime/vs code would work just as well), and BeOrg/PlainOrg on the iOS side of things, with simple file synchronization to keep files synchronized across platforms.
Ironically, TaskPaper was the tool that got me started on the cleartext approach (also written by the author of Bike).
OmniOutliner feels like it has a separate text field for each node. Bike feels like a text editor when you're editing a document with nodes, which to me is more natural.
All comments shown.
Couldn't load more comments. Check your connection and try again.