Teedy is a simple and modern open-source note-taking app, designed to be more flexible and lightweight than alternatives like Evernote and OneNote. If you're looking for a self-hosted, privacy-first alternative for your note-taking needs, Teedy is worth a try. In this tutorial, we will install Teedy on EndeavourOS Latest, a popular Arch-based Linux distribution.
Teedy requires the following dependencies to be installed on your system:
Use the following command to install these dependencies:
sudo pacman -S postgresql redis
Teedy is available as a pre-compiled binary for Linux. You can download the latest release from the official website. Alternatively, you can use the following command to download and extract the latest version:
curl -L -o teedy.tar.gz https://github.com/sismics/docs-teedy/blob/master/downloads/latest/teedy-linux.amd64.tar.gz?raw=true
tar zxvf teedy.tar.gz
Now, let's move the extracted binary to the /opt
directory:
sudo mv teedy /opt/
Teedy uses PostgreSQL as its database backend, so you need to create a new database and user for Teedy.
First, let's create a new database user:
sudo -u postgres createuser -P teedy
You will be prompted to enter a password for the new user.
Next, let's create a new database and grant all privileges to the teedy user:
sudo -u postgres createdb -O teedy teedy
To configure Teedy, you need to create a new configuration file. You can use the example configuration file provided in the Teedy installation directory as a template.
Copy the example configuration file to a new file:
sudo cp /opt/teedy/conf/teedy.example.yml /opt/teedy/conf/teedy.yml
Now, open the configuration file with your favorite text editor:
sudo nano /opt/teedy/conf/teedy.yml
In this file, you need to enter the following configuration settings:
server:
port: 8330 # or any other port of your choice
db:
host: localhost
port: 5432
name: teedy
user: teedy
password: <enter your password here>
redis:
host: localhost
port: 6379
password:
user:
signup_disabled: false
default_group: 1 # leave it as is
password_reset_disabled: false
admin:
username: admin
email: <enter your email here>
guests_can_read: true
Save and close the file.
You can now start Teedy with the following command:
/opt/teedy/teedy start
You should see the following output:
2021/08/23 05:23:24 Config loaded from /opt/teedy/conf/teedy.yml
2021/08/23 05:23:24 Starting Teedy on :8330...
Open your web browser and go to http://localhost:8330
. You should see the Teedy login page.
Enter your Teedy admin username and password (as entered in the configuration file) to log in.
Congratulations! You have successfully installed Teedy on EndeavourOS Latest. You can now start creating and organizing your notes in Teedy.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!