Scratching my own itch: Building Notebag
Tags: showdev, javascript, vue, development
Published: 2020-05-02 20:08:03

---
title: "Scratching my own itch: Building Notebag"
description: "The story of my annoyance with other note taking tools and finally pulling the trigger to scratch my own itch."
published: true
cover_image: https://pretzelhands.com/assets/posts/notebag-dev-to.png
canonical_url: https://pretzelhands.com/posts/scratching-the-itch
tags: #showdev, #javascript, #vue, #development
---

> Notebag is on [Product Hunt!](https://producthunt.com/posts/notebag-2) Check it out!

> This post was originally published on [my personal blog](https://pretzelhands.com/posts/scratching-the-itch)

I was never any good at coming up with ideas. I'm not sure whether you could attribute it to a lack of creativity, my life being "boring" by many peoples standards or whether I've just been satisfied with existing solutions to all of my discomforts and problems.

Well, except for that one thing where I never found a satisfying solution: Note taking. I tried a few different approaches. For a while I would put my notes into my IDEs scratch file feature. That wasn't exactly a very scalable or searchable solution, but it was good enough for storing code snippets in. 

For another while I had my writings in Apple Notes. I liked the simplicity of it, but it didn't have support for typing out notes in Markdown, which made formatting cumbersome. 

Then I tried note taking wunderkind Bear, which is beloved by many. And for a while I was very happy with it. It has a wonderful set of features and *great* user experience. Seriously, hats off to the people at Bear. But I still had to reach for my mouse to do things every now and then. And there was still the thing where I had to either open the app on demand or switch around all my open windows with `Cmd-Tab`. It still felt off.

This entire journey went on for a good year or so. I had fought off the idea of writing a note taking app because I felt
that:

* A) It would be super complicated
* B) The market for note taking apps is incredibly over saturated

I still believe that the second point holds true to a certain extent. There is certainly a lot of competition out there. But the first point was shattered when I found out about a lovely little thing called [tiptap](https://tiptap.scrumpy.io/). It's based on ProseMirror which is a wonderful library for building rich text editors.

And on [March 7, 2020](https://twitter.com/pretzelhds/status/1236402270373318667) I finally got fed up enough to start writing code. (Although there were [earlier](https://twitter.com/pretzelhds/status/1226198239289978880) [indicators](https://twitter.com/pretzelhds/status/1235257841088368640) of what was about to happen).

## Development

[Notebag](https://notebag.app) is an Electron-based app since I am primarily a web developer and native code seems scary. I would have loved
to give Swift a try, but in the end stuck to what I know best. For the frontend I landed on Vue since that is what Tiptap uses and I don't really hold much of a strong opinion in the great war of the frontend frameworks.

One great thing that allowed development to move quickly is Prosemirrors concept of input rules. These are essentially little functions that take a regex you want to search for and then spit out appropriate HTML for the thing you just entered. This is what powers all of the Markdown formatting as well as a few custom functionalities such as the nestable categories
and Zettelkasten-type links.

For most of March I was still working on this very sporadically as I was pre-occupied with contracting work for most of my week. Sadly due to the world going a bit haywire I ended up having not so much contract work anymore by April at which point I started focusing on the development in earnest.

Within a week or so I had implemented most of the barebones features of a note taking app (funnily enough, switching between notes was one of the last ones. Oops!) And I sent out my first beta builds. At this point the app [looked a bit like a boring Apple Notes clone.](https://twitter.com/pretzelhds/status/1246074902941057024)

This is what I sent out to a few trusted beta testers

## Differentiating the app

This was also the time at which I started drilling down on what I consider the unique selling points of the app. At first there is the omnibar or "Go To Anything". This is essentially the same thing as in any modern IDE or code editor.

![Omnibar](https://pbs.twimg.com/media/EVROgAKWkAAIvT8?format=jpg&name=large)

You have a full fuzzy search for your notes. And this is also where the keyboard focus really took overhand. I spent a good chunk of the next two weeks assigning `tabindex`es to every important element, writing countless `:hover, :active, :focus` styles and adding numerous keyboard bindings that you can use to get around the app.

There was lots of talking with beta testers and refining and implementing and polishing. You never expect how much there is to do until you start writing it down and ending up with a todo list in the mid double digits.

## How do I even marketing

Once the app reached a reasonably stable level of maturity, I had to get around to the point I am the worst at. The one I had pushed away again and again for as long as I could: I had to build [a landing page](https://notebag.app) to market 
this thing. Oh dear

The struggles started with naming. In total I went through 27 names before the right one appeared. Some of them were: Keynote, Typemark, Markflow, Swiftnote, Feathermark, Keynib, and Crosskey. The final name wasn't even my idea. The credit for it goes to [Shaun Farrugia](https://twitter.com/h0h0h0). But I liked it and it stuck.

Next came logo design. I've always had a certain love for RPGs and I liked the way the old timey bags full of gold looked. It's not a perfect fit for the app at hand, but the design came together quickly and I was quite pleased.

<img src="https://notebag.app/assets/logo.png" style="width: 300px; display: block; margin: 4rem auto">

And finally the landing page. I grabbed myself a bit of Tailwind and Jekyll and got to work. For what its worth I still have no idea how marketing experts do it, but I discussed the copy with people, I polished the experience of reading it  for the first time, I made sure it looks decent on all the devices I have around and then it got pushed to live.

Since going live it managed to convince three people to get the app, so I guess I'm not doing too bad!

## Launching

And here we stand, shortly before the big launch. This is really the first time I have built a proper product of my own and I am excited and also terrified of where the journey goes next. Here's hoping that the name "Notebag" can eventually stand proudly among the big stars of note taking.

Look for the launch on ProductHunt on Monday, May 4! And in the meantime, feel free to check out Notebag at [notebag.app!](https://notebag.app)