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.
Snap can be installed from the command line on openSUSE Leap 15.x and Tumbleweed.
You need first add the snappy repository from the terminal. Choose the appropriate command depending on your installed openSUSE flavor.
Tumbleweed:
sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Tumbleweed snappy
Leap 15.x:
sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.6 snappy
If needed, Swap out openSUSE_Leap_15. for, openSUSE_Leap_16.0 if you’re using a different version of openSUSE.
With the repository added, import its GPG key:
sudo zypper --gpg-auto-import-keys refresh
Finally, upgrade the package cache to include the new snappy repository:
sudo zypper dup --from snappy
Snap can now be installed with the following:
sudo zypper install snapd
You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands:
sudo systemctl enable --now snapd
sudo systemctl enable --now snapd.apparmor
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.