Taking notes with Laverna, a web-based information organizer

Taking notes with Laverna, a web-based information organizer

Keep your notes secure yet accessible with this basic, easy-to-use open source app.

Writing in a notebook
Image credits : 

Pexels, via Pixabay. CC0.

x

Get the newsletter

Join the 85,000 open source advocates who receive our giveaway alerts and article roundups.

I don’t know anyone who doesn’t take notes. Most of the people I know use an online note-taking application like Evernote, Simplenote, or Google Keep.

All of those are good tools, but they’re proprietary. And you have to wonder about the privacy of your information—especially in light of Evernote’s great privacy flip-flop of 2016. If you want more control over your notes and your data, you need to turn to an open source tool—preferably one that you can host yourself.

And there are a number of good open source alternatives to Evernote. One of these is Laverna. Let’s take a look at it.

Getting Laverna

You can host Laverna yourself or use the web version.

Since I have nowhere to host the application, I’ll focus here on using the web version of Laverna. Aside from the installation and setting up storage (more on that below), I’m told that the experience with a self-hosted version of Laverna is the same.

Setting up Laverna

To start using Laverna right away, click the Start using now button on the front page of Laverna.cc.

On the welcome screen, click Next. You’ll be asked to enter an encryption password to secure your notes and get to them when you need to. You’ll also be asked to choose a way to synchronize your notes. I’ll discuss synchronization in a moment, so just enter a password and click Next.

When you log in, you'll see a blank canvas:

Storing your notes

Before diving into how to use Laverna, let’s walk through how to store your notes.

Out of the box, Laverna stores your notes in your browser’s cache. The problem with that is when you clear the cache, you lose your notes. You can also store your notes using:

  • Dropbox, a popular and proprietary web-based file syncing and storing service
  • remoteStorage, which offers a way for web applications to store information in the cloud.

Using Dropbox is convenient, but it’s proprietary. There are also concerns about privacy and surveillance. Laverna encrypts your notes before saving them, but not all encryption is foolproof. Even if you don’t have anything illegal or sensitive in your notes, they’re no one’s business but your own.

remoteStorage, on the other hand, is kind of techie to set up. There are few hosted storage services out there. I use 5apps.

To change how Laverna stores your notes, click the hamburger menu in the top-left corner. Click Settings and then Sync.

Select the service you want to use, then click Save. After that, click the left arrow in the top-left corner. You’ll be asked to authorize Laverna with the service you chose.

Using Laverna

With that out of the way, let’s get down to using Laverna. Create a new note by clicking the New Note icon, which opens the note editor:

Type a title for your note, then start typing the note in the left pane of the editor. The right pane displays a preview of your note:

You can format your notes using Markdown; add formatting using your keyboard or the toolbar at the top of the window.

You can also embed an image or file from your computer into a note, or link to one on the web. When you embed an image, it’s stored with your note.

When you’re done, click Save.

Organizing your notes

Like some other note-taking tools, Laverna lists the last note that you created or edited at the top. If you have a lot of notes, it can take a bit of work to find the one you're looking for.

To better organize your notes, you can group them into notebooks, where you can quickly filter them based on a topic or a grouping.

When you’re creating or editing a note, you can select a notebook from the Select notebook list in the top-left corner of the window. If you don’t have any notebooks, select Add a new notebook from the list and type the notebook’s name.

You can also make that notebook a child of another notebook. Let’s say, for example, you maintain three blogs. You can create a notebook called Blog Post Notes and name children for each blog.

To filter your notes by notebook, click the hamburger menu, followed by the name of a notebook. Only the notes in the notebook you choose will appear in the list.

Using Laverna across devices

I use Laverna on my laptop and on an eight-inch tablet running LineageOS. Getting the two devices to use the same storage and display the same notes takes a little work.

First, you’ll need to export your settings. Log into wherever you’re using Laverna and click the hamburger menu. Click Settings, then Import & Export. Under Settings, click Export settings. Laverna saves a file named laverna-settings.json to your device.

Copy that file to the other device or devices on which you want to use Laverna. You can do that by emailing it to yourself or by syncing the file across devices using an application like ownCloud or Nextcloud.

On the other device, click Import on the splash screen. Otherwise, click the hamburger menu and then Settings > Import & Export. Click Import settings. Find the JSON file with your settings, click Open and then Save.

Laverna will ask you to:

  • Log back in using your password.
  • Register with the storage service you’re using.

Repeat this process for each device that you want to use. It’s cumbersome, I know. I’ve done it. You should need to do it only once per device, though.

Final thoughts

Once you set up Laverna, it’s easy to use and has just the right features for what I need to do. I’m hoping that the developers can expand the storage and syncing options to include open source applications like Nextcloud and ownCloud.

While Laverna doesn’t have all the bells and whistles of a note-taking application like Evernote, it does a great job of letting you take and organize your notes. The fact that Laverna is open source and supports Markdown are two additional great reasons to use it.

Topics

About the author

That idiot Scott Nesbitt ...
Scott Nesbitt - I'm a long-time user of free/open source software, and write various things for both fun and profit. I don't take myself all that seriously and I do all of my own stunts. You can find me at these fine establishments on the web: Twitter, Mastodon, GitLab...