Betula website


Pre-built packages

Thanks to the help of the volunteers, whom we warmly thank, Betula is available in some of software repositories. See the available version on Repology:

For other operating systems, there are no known packages. If you know of them or want to make one, please do get in touch!


Building is the process of turning source code into a working application. The final application is just one executable file called betula, it is the program you need. You can build Betula on any modern system.

You would have to rebuild Betula in order to update to a newer version.


Betula is mostly written in Go programming language but its database-handling part is written in C programming language. For building Betula, you would need compilers for both language.

Installing C. Every major OS distribution offers a C compiler. Pick any. gcc would work fine. To install it on Ubuntu, run the following command:

sudo apt install gcc

Refer to your OS documentation to learn how to install C on a different system.

Installing Go. Many OS offer outdated Go. If you know your distribution offers a sufficiently fresh one (1.19 or newer), go with it. Otherwise, get a copy from Go website and install it properly. See Go's installation guide.

For Ubuntu, the following sequence of commands is known to install Go 1.21:. Run these commands in a terminal.

Installing Betula

Semiautomatic installation with go install

This is the recommended method. Run the following command. Replace latest with specific version identifiers, if you want to install an older version. Note: you cannot install version 1.0.0 this way due to a mistake made when releasing it.

CGO_ENABLED=1 go install

It will install a betula binary in $GOPATH/bin. If you have your $PATH configured correctly, you can run Betula as such:

betula links.betula

If your system does not see betula program, you might write out the full path to betula file.

Manual installation with git

This method is universal: you can build any release, including unstable development versions. Some people find this approach simpler than the previous one. Run:

git clone
cd betula
git checkout v1.2.0 # or whatever
CGO_ENABLED=1 go build -o betula ./cmd/betula

To start the program, run:

./betula links.betula

First run

  1. Betula is live on http://localhost:1738. Visit it.

  2. Betula asks you to set up your account. Pick a username and a password. Afterwards, use it to log in to Betula.

  3. Use!

    • Make sure to configure Settings properly.

    • Do not forget to backup your *.betula file! This is where your data lives.


You have a functioning Betula. You can stop here and use it forever. However, if you want to have your Betula available on the internet with a domain and HTTPS, you will need a reverse proxy.