R
R
RA Docs
Search…
upload.radioangrezi.de
A dedicated uploader service
upload.radioangrezi.de is a modular system build around the open source tus protocol for resumable file uploads. It consists of three systemd services which are explained below in greater detail.
currently everyone can upload files without further restrictions. only .wav, .ogg, .mp3 files can be imported into libretime though.

tusd

Description
A server implementation for the tus protocol written in go. sends events to angrezi-tusd-hooks
Directory
/usr/local/sbin/tusd
Systemd File
/var/angrezi/angrezi-tusd-hooks/tusd.service
Exposed at
http://upload.radioangrezi.de/files via reverse proxy

angrezi-tusd-hooks

Description
A locally running webserver which is called by tusd if a state of an upload changes.
Currently is triggers when an upload is finished, renames the file to its original name and imports it to libetrime.
Directory
/var/angrezi/angrezi-tusd-hooks/
.service
/var/angrezi/angrezi-tusd-hooks/angrezi-tusd-hooks.service
.env
/var/angrezi/angrezi-tusd-hooks/.env
Exposed at
only locally

angrezi-uploader

Description
A javascript web client build around https://uppy.io.
The dist folder is served at http://upload.radioangrezi.de .
Directory
/var/angrezi/angrezi-uploader
.conf
/var/angrezi/angrezi-uploader/angrezi-uploader.conf
Exposed at
http://upload.radioangrezi.de/
Last modified 1yr ago
Copy link
Contents