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 commentshttps://apps.apple.com/us/app/bike-outliner/id1588292384?mt=...
Mac App Store version is subscription based. I know many people don't like that, that's why my direct download version is not subscription based... but for Mac App Store upgrades are a pain/impossible. So subscription.
This is a very cool idea. Might make note-taking a lot easier. I’m looking forward to trying it out.
Two things I would love to see in any outliner:
1) Support Harvard and other outline format. I grew up outlining in Harvard and this bullet list stuff is maddening. The developer told me that OutlineEdit will not support it, period, so it's not a deal-breaker.
2) Horizontal outlining. Sometimes it's nice to have a hierarchy that expands and folds to the side. There was a Mac app called Tree 2 that did this but it is long unsupported.
Daily TaskPaper guy, so this is a great development.
I have thoughts (no plans yet) about plugin API that can use web view as output layer. The idea being that an outliner can be used for many things. For example you can create a calendar where the hierarchy is year/month/day. Neat, but not really a perfect solution for a calendar. So the idea with plugin API + Web View is that you could use that outliner calendar data to generate a nicer view. This keeps the outliner simple and uniform, but also gives you data specific view.
I think that same solution might work for Tree style view, or Harvard bullet list view. It would be sorta like a markdown app, content on one side (the outliner), generated polished result on the other.
No promises, but that's how I think I would implement those features in Bike.
Hope this is constructive, I don't mean to be negative, the app looks fantastic!
With 16GB RAM, and the HDDs replaced with SSDs it is a perfectly capable desktop. I would upgrade macOS if I could, but it may be time to move it to Fedora. That won't solve the root issue with Mac apps - Intel architectures don't evolve so fast as a machine with this performance capacity becoming unsupported.
All comments shown.
Couldn't load more comments. Check your connection and try again.