513 points · by jessegrosjean · 4y ago · 236 comments
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
- "respects your computer's memory and battery"
- "uses open file formats"
- "is scriptable"
Feels like we should also think about these kinds of things when we think about "organic" software. Kudos to the developer for these.
In Bike it's fast enough that when you scroll it just updates what you can see on the screen. This means you only pay memory for visible text. For most macOS apps scrolling performance is achieved by pre-rendering before and after the visible scroll area. So you pay for that cache and you also pay for the background processing required by pre-rendering.
Also consider simple things like window resize. In Bike that only effects visible text. If you open a large document in TextEdit you will see that resize is quite slow and processor and memory intensive. (you can test with https://www.hogbaysoftware.com/posts/moby-dick-workout/). And then after that resize there's lots of background processing to refill a bunch of layout caches I guess. On the other hand resize is instant and only does work for visible text in Bike.
I don't think the animations are expensive, but it's hard to test because that work happens in Mac OS window server and I'm not an expert there. If they really are a problem and you are on battery then you can turn off animations in preferences.
Unfortunately, I've been drawn in by the linking functionality in Roam/Logseq and cannot go back to a simple outliner, though this makes me want to.
I don't think I'm a fan of the animated cursor while typing. It somehow makes the typing feel slower, like it takes some physical effort for the cursor to push forward.
I used to focus a lot on structuring and organizing things properly before. But after I started using linking, tags, ref embeds etc. more I found that I was more productive by just quickly dumping specific things into poorly organized isolated notes, and adding headers, cross-linking/organizing/merging them much later if they survive.
I later learnt (to my surprise) that people had written whole books about similar methodologies (zettelkasten etc.) but yet to sit down and explore any of them.
Also yet need to remember that you don't need to wait for it, sometimes you might just get mesmerized by it and then it feels slow, but if you just type it will keep up with you. It's only ever the "last" animation that fully completes if you are typing fast.
My two cents, default disable so it feels faster, it sounded like speed and smoothness was one of the many selling points.
I think you started working on this around the time I was working on multi-block text selection in Notion. I remember seeing a preview tweet in a Andy Matuschak thread and thinking “great minds!”. When I started working on it, I was so surprised that no outliner I tested had multi-item text selection! It’s a unique fusion. I’m curious about how you handled deletions across different indent levels… Do you know of any other outliners with it besides Bike and Notion?
Bike's editor is pretty much:
OutlinerLayer RowLayers LineFragmentLayers
I use CoreText to line break and render into each LineFragmentLayer. A whole new level of performance is possible if I knew more metal/opengl, but right now rendering text on CPU and sending as line fragments to CoreAnimation.
> Do you know of any other outliners with it besides Bike and Notion?
It's hard to define "outliner". This has been a main feature of TaskPaper for a long time... but TaskPaper is maybe a bit more "text editor" than outliner. Also tools like orgmode and probably lots more are pretty much outliners and also have all text editor features.
But yeah, for tools that feel more like an outliner it's not a common feature. In particular Bike even allows you too over indent and movies lines around without moving children. I think that's pretty unique, and goes together with multiline selection in Bike's case.
They been working lots of interesting features in but stick to the basics that everything starts as a list. You would be surprised what is possible w/ just a list!
Is 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.
Horses for courses I guess.
Bike looks neat though.
<spews out vitriol>
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.
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.
That said, the fluid animations in Bike look great, and the video was very slick! Nice work.
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).
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.
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.
I am the developer and always looking for feedback on the app. So let me know any thoughts!
https://support.hogbaysoftware.com/t/how-does-bike-relate-to...
I think core summary is:
1. Wanted to control own text editor. Building off NSTextView was limiting 2. Wanted to use structured document format. Plain text was limiting
So, how do you add a "soft linebreak" - so that I get a line break in a single node (so that I can have e.g. 3 paragraphs on a node).
The things I've tried (enter, shift-enter, etc) all create a new node below - and the manual doesn't give any clue.
I'm also blessed with a computer that has a "mute" button if I didn't want to hear it.
You assume that the web page is the only source of audio happening on a device. If someone is listening to something on their machine while browsing articles and then needs to stop whatever is playing because the website is taking over the audio, that's very poor UX and is indeed insensitive to the user.
Suppose you have a screen reader and now you cannot hear it because a video is unnecessarily blaring music that you can't hide. 99.99% of all websites offer the user individual audio control over playing content -- for a reason.
I do struggle to understand the value proposition though. I've been using Bear for outlining, admittedly smallish lists. It's macOS native, supports things like pasting in images, video, markdown, checkboxes, etc.. and is supported by a tiny subscription fee or free. I've never run into performance problems.
Some people just want to work on massive outlines with either text or links and nothing else, move those list items around frequently, and to those people $30 might be cheap. As a product it seems tricky to me, but I'd love to hear from anyone who's the perfect customer, and how this hits the mark for you. As in, what the hell do you plan day-to-day?
Also I quite like the icon, and the nature of it being incredibly simple. In a sense, it reminds me of the first version of IA Writer.
So value proposition... It's a unique surface for your ideas. The way that it "feels" is important and different than any other app. If that helps you think then Bike might be fore you.
In another comment I said Fluid = Animation... and it does, but there's another aspect of fluid with Bike. If you try most any outliner there are pretty rigid tools. A little hard to explain, but they don't feel "fluid" like a text editor. There are limits and constraints. Bike is different in that it has all the capabilities of an outliner, but it also has all the freedom of a text editor. You can select over multiple lines, cursor moves like a text editor.
Not sure that I've explained that last bit well... but try a good outliner like Workflowy. Then try Bike, beyond the animations (they can be turned off in preferences) Bikes core editing commands feel different.
I have an ultrawide, and if I could work in this app full screen and centered with just a click or two, it would be pretty 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.
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.
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.
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.
If you do the Tombo.exe type thing, please let me know --- I'd be delighted to have something like that on MacOS.
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.
Bike will also read/write .opml files. You should be able to share with iOS outliner that way I think.
Scriptability is a huge feature here, and something that WF users have been asking about for a long time.
If you could offer this on multiple devices & OSes, and provide a sync feature, then I'd be very interested in switching.
Steve Jobs
I like that the product references this quote for the logo as well as the fact that's it's on macOS.
https://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.
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.
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.
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?
quick question: why you chose to go with HTML instead of making OPML the default file format? I'm not judging, I'm just curious.
Also (not sure this will happen, but I plan to try) I expect to add different node types. For example right now every node is a paragraph. In future might have ... A HEADING (innovation I know). Again that maps really well to HTML, not as well to OPML.
Plus I just like the fact that .bike files are HTML. Makes me confident that they will live and be readable far into the future.
For example, Dynalist use this idea for their files
And node itself is heading, while when they need paragraph with heading they create _note="" attribute into <outline> element
But for my own use I over time realized that was a mistake. All the parsing and formatting adds complexity. I think rich text (which to be clear Bike does not yet have, though I will add soon) is a simpler way to work from user perspective. Just issue commands instead of remember and see formatting rules. It's cleaner and simpler for my uses.
Anyway, congratulations on the impressive first public release. The more outliners the better in my opinion.
Having said that, you know very well what a tough sell it is the more general purpose a tool is, and this is very general purpose. I hope having it out there spurs some ideas around how the novel features of this infrastructure can be the basis for some more concrete and easier to market solutions.
https://code.visualstudio.com/blogs/2018/03/23/text-buffer-r...
I did a lot work using b+tree in a bigger project that I could never quite finish. Finally gave up a year ago and grabbed leftover code to make Bike. Bike is using a pretty dumb data structure, but good enough for now. Hope one day to add back the more performant b+tree stuff.
Bike certainly _looks_ nicer than org-mode!
If I add or move a line does Bike rewrites the whole file and updates the in-mem sorted-dict op mentioned?
If you add a line then rows after it in the array get shifted.
Edit: I'm not able to force-click on words to look them up (but right click > Look Up "x" still works). This would also be helpful on URLs, too.
see:
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.
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.
I might, after using it, find that it’s just too simple and I need an aircraft carrier after all, but my impression right now is that the Obsidian-vs-Bike comparison is not 1:1 enough to be fair.
A cargo bike perhaps, but if you call Obsidian an aircraft carrier already then there aren't much metaphores left for software which does way more and is (feels) slower than Obsidian.
Just quickly clicking around makes it look like you are not working on it. It's explained, but it would be better to change some things around so it doesn't look completely dead. E.g.
> You can follow our daily progress / We share our progress daily and share everything, from code to finances.
> This is today's entry (Apr 28 '22).
It also gives false hope one could see the product in two weeks (which was a week ago).
In fact that would be a pretty great service (for someone else to develop). "Dropbox", but for strutted data (xml, json, whatever) that knows how to merge trees and make use if unique ids. Maybe it wouldn't work, each merge situation needs a special case solution. But for Bike files at least I think it might work pretty well.
Shelf is really simple - the JS implementation is tiny (https://github.com/dglittle/shelf) and a walkthrough of the algorithm here is a quick read: https://bartoszsypytkowski.com/shelf-crdt/amp/
It wouldn’t handle character level sync - but would let you merge documents at a rows/items/blocks level.
So https://www.simperium.com/overview/ might be a low-effort option to add syncing without managing your own server.
> - Data transparently moves across mobile, web, and desktop versions of your app
> - Your users can read and write data even when they're offline
> - Multiple users can collaborate with the same data at the same time
> Simperium persists your data for you in buckets... Every Simperium object is JSON data that is stored in a bucket.
> Simperium does some basic conflict resolution for you automatically... When two edits are made for the same field though, Simperium supports automatic resolution for strings (currently) and will merge the two edits together.
Not a copy, but a leaf with multiple parents.
I think this format is fantastic for Show HN threads.
https://en.wikipedia.org/wiki/Outliner
I'm not criticising use of the term, it seems familiar to (also used by) several commenters here, I just hadn't come across it. Guessed 'bulleted notes app' from the submission, which is close enough I suppose.