Getting started
In this tutorial, you install vylk on your computer, open it in your web browser, and write your first note. You need about ten minutes and permission to install programs on your computer.
vylk is a notes app that you run yourself. It has two parts:
- The vylk program runs on your computer and stores your notes.
- Your web browser shows the app. You write and read your notes there.
The program must keep running while you use the app. To learn more, read How vylk works.
Install vylk
Find the section for your computer and follow its steps. Each section ends with the command that starts vylk.
In each start command, replace replace-with-your-password with a password that you choose. You use this password to sign in to vylk. Keep the quotes around it.
Ubuntu or Debian
- Open the Terminal app.
- Add the toxdes package repository. You do this only once.
sudo apt update && sudo apt install -y ca-certificates curl gnupg && curl -fsSL https://packages.toxdes.com/apt/pubkey.gpg | sudo gpg --dearmor --yes -o /usr/share/keyrings/toxdes-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/toxdes-archive-keyring.gpg] https://packages.toxdes.com/apt stable main" | sudo tee /etc/apt/sources.list.d/toxdes.list && sudo apt update- Install vylk.
sudo apt install vylk- Start vylk.
VYLK_PASSWORD='replace-with-your-password' vylkFedora
- Open the Terminal app.
- Add the toxdes package repository. You do this only once.
printf '%s\n' '[toxdes]' 'name=Toxdes' 'baseurl=https://packages.toxdes.com/rpm' 'enabled=1' 'gpgcheck=1' 'repo_gpgcheck=1' 'gpgkey=https://packages.toxdes.com/rpm/pubkey.gpg' | sudo tee /etc/yum.repos.d/toxdes.repo- Install vylk.
sudo dnf install vylk- Start vylk.
VYLK_PASSWORD='replace-with-your-password' vylkArch Linux
- Open a terminal.
- Install the
vylk-binpackage from the AUR. Thevylkpackage builds the latest release from source, andvylk-gitbuilds the newest development code.
yay -S vylk-bin- Start vylk.
VYLK_PASSWORD='replace-with-your-password' vylkOther Linux systems
- Open a terminal.
- Download vylk and install it to
/usr/bin/vylk. For an ARM processor, replaceamd64witharm64.
curl -fsSL https://packages.toxdes.com/releases/vylk_3.1.3_amd64.tar.gz | sudo tar xzC /- Start vylk.
VYLK_PASSWORD='replace-with-your-password' vylkmacOS
- Open the Terminal app.
- Install vylk with Homebrew.
brew install toxdes/tap/vylk- Start vylk.
VYLK_PASSWORD='replace-with-your-password' vylkIf you do not use Homebrew, download the ZIP file for your Mac instead. Use Apple silicon for an M-series processor and Intel for an Intel processor. Extract it, open Terminal in the extracted folder, and start vylk with ./vylk in place of vylk.
Windows
- Download vylk for Windows.
- Open the folder that contains the downloaded file.
- Right-click an empty area of the folder, and then select Open in Terminal.
- Set your password.
$env:VYLK_PASSWORD="replace-with-your-password"- Start vylk.
.\vylk_windows_amd64_3.1.3.exeDocker
If you already use Docker, you can run vylk in a container on Linux, macOS, or Windows. The vylk-data volume keeps your notes when you replace the container.
docker run -d --name vylk -p 127.0.0.1:8080:8080 -e VYLK_PASSWORD='replace-with-your-password' -v vylk-data:/data toxdes/vylk:3.1.3The container does not open your browser. Go to the next section and open the address yourself.
Open vylk
When vylk starts, it prints a line like this one:
vylk running on :8080 (notes: /home/you/notes, db: ./vylk.db)vylk also opens http://127.0.0.1:8080 in your web browser. If no browser window opens, go to http://localhost:8080 yourself.
You see the Password field.
- Enter the password from your start command.
- Select Sign in.
You see your notes list. It is empty.
If the terminal shows address already in use, another program uses port 8080. Start vylk on another port. For example, put PORT=8081 before VYLK_PASSWORD in the start command, and then open http://localhost:8081.
Write your first note
- Select New note.
- In Title, enter
Shopping list. - In Tags, enter
home. - In the large text area, enter this text:
- [ ] Bread
- [ ] **Milk**This text is Markdown, a simple way to format plain text. You can also select text and use the toolbar buttons above the editor, such as Bold and Task list.
- Select the Split view button above the editor. Hold the pointer over a button to see its name.
The preview opens next to the editor. It shows two checkboxes, and "Milk" is in bold.
- In the preview, select the checkbox next to "Bread".
The text in the editor changes to - [x] Bread. vylk saves your note as you type. The status next to the note shows Saved when the note is stored.
- Select the Back to notes arrow.
Your note is in the list, with the home tag. Above the list, select home to show only the notes that have that tag. Select All to show every note again.
Stop and restart vylk
- In the terminal, press
Ctrl+C.
The terminal shows shutting down..., and vylk stops. The app in your browser stops working until you start vylk again. Your notes stay on your computer.
- Run the start command again from the same folder.
Your note is still there. vylk keeps notes in the notes folder and the vylk.db file, inside the folder where you started it. Start vylk from the same folder every time, or vylk starts with an empty notes list.
For Docker, use docker stop vylk and docker start vylk.