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
Show all comments
Showing thread 30 of 69
But I think this animation is important. Bike is a "tool for thought". I think the way that it "feels/animation" is important. Bike's build built from the ground up to support this. Check out the movie or better yet try the download. Typing feels a bit smoother, text slides into place.
And yes it can be turned off. And no it doesn't slow you down, animations are canceled if you type again before they finish.
I don't have a Mac to try this on, but slides into place sounds like what Microsoft does in Outlook and I ended up turning it off.
Maybe it's not the same thing though. In Outlook (and some other Office programs) as you type the text seems to appear a little more slowly and the cursor glides to the right. To me, it always felt laggy and so I turned it off.
1. "Fluid" (smoothly animated) editing. You could argue it's not important, but this is something new and unique to Bike. Bike is a "tool for thought". I think how the app feels is an important aspect.
2. macOS native app, of course this is a plus and minus. But if you are on a Mac Bike will generally us a lot less resources then those apps and integrate better with the rest of the system.
3. Local files in open formats. Logseq has this of Course, but I think there's something pretty nice about having your outline just be simple HTML. Easy to parse, easy to work with, should be able to view and make sense of as long as web's around.
4. Faster. Bike is designed to work on somewhat big outlines. Moby Dick has been my test file. It opens instantly. I've just pasted that into Logseq and my computer is working hard a few minutes later. Not sure how workflowy does because it puts me over quotas.
Bike has a pretty unique foundation compared to other outliner apps. It's also missing a lot of higher level features that I plan to build out over time.
Also, when dragging-dropping, I found it way too easy to make empty nodes which was disconcerting.
However, I am looking at it now, and while it's a nice little app, it's not an outliner and I am not sure if I am going to be able to find any use for it.
Outliners are explained here: http://outliners.scripting.com/
Why are you comparing Logseq to one?