Tuwunel is a featureful Matrix homeserver.
You can use it instead of Synapse with your favorite client, bridge or bot. It is written entirely in Rust to be a scalable, low-cost, enterprise-ready, community-driven alternative, fully implementing the Matrix Specification for all but the most niche uses.
This project is the official successor to conduwuit after it reached stability. Tuwunel is now used by many companies with a vested interest in its continued development by full-time staff. It is primarily sponsored by the government of Switzerland 🇨🇠where it is currently deployed for citizens.
The API service is accessible by default at http://localhost:8008
See https://github.com/matrix-construct/tuwunel for more details.
Tuwunel
Post install command to check if service is running well and responses:
sudo snap logs tuwunel-tak
Post install commands required to access media folders and see resources, if your database or any other file need to be stored outside the snap data area:
sudo snap connect tuwunel-tak:removable-media
sudo snap connect tuwunel-tak:mount-observe
!!! Files can only be written in a directory owned by root !!!
!!! /home base directory content is not readable !!!
This is due to current behavior and restrictions of snaps by Canonical.
Check common doc in FAQ if you want to setup data in /home directory.
Minimal configuration
Configuration file 'tuwunel.toml' is located in "$SNAP_DATA/etc/tuwunel/tuwunel.toml" accessible through "/var/snap/tuwunel-tak/current/etc/tuwunel/tuwunel.toml" with default snapd installation
(Recommended) Store your database in $SNAP_COMMON which is accessible through simlink "/var/common"
database_path = "/var/common/var/lib/tuwunel" ; your database will be saved in "$SNAP_COMMON/var/lib/tuwunel"
database_path = "var/lib/tuwunel" # your database will be saved in "$SNAP_DATA/var/lib/tuwunel" this way
$SNAP_COMMON is the common data kept for each new release of the snap ; $SNAP_DATA is data copied from current snap release to the new one
(Alternative) To store your database in '/home' folder, do not forget to connect "removable-media", and read common documentation on my github
New user registration is disabled by default (cf. @'allow_registration')
etc...
Please read the toml-integrated doc and Tuwunel official doc
To restart the service with new configuration, use the command:
sudo snap restart tuwunel-tak
Information:
Status:
You are about to open
Do you wish to proceed?
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
On Arch Linux, snap can be installed from the Arch User Repository (AUR). The manual build process is the Arch-supported install method for AUR packages, and you’ll need the prerequisites installed before you can install any AUR package. You can then install snap with the following:
git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
sudo systemctl enable --now snapd.socket
If AppArmor is enabled in your system, enable the service which loads AppArmor profiles for snaps:
sudo systemctl enable --now snapd.apparmor.service
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap and /snap:
sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install tuwunel-tak, simply use the following command:
sudo snap install tuwunel-tak --beta
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.