rssr personal setup
I wrote about my rssr program in the last post and wanted to show my setup to give an idea on how I actually use it.
I have a directory on my computer called feeds/, and inside is a script called update-feeds.sh along with a config file called tiktok_officialvarg.conf.
update-feeds.sh
#!/usr/bin/env bash
# Copyright (c) 2025 Jim
# /
out="tiktok_officialvarg"
/home/jamie/code/rssr/rssr -e -c ${out}.conf ${out}.xml &&
rsync ${out}.xml jimscorner:/var/www/jimscorner.co.uk/public/feeds/${out}.xml
tiktok_officialvarg.conf
[rss]
title = TikTok feed of @officialvarg
link = https://jimscorner.co.uk/feeds/tiktok_officialvarg.xml
description = An rssr generated rss feed for the TikTok user @officialvarg
[TikTok]
secUid = MS4wLjABAAAAzXa4i_wZ8O3DdHEsw-sKLizL7VlFfiNvZ9IHI5_U94CB6JNedAdyJWKEd2bmODPM
For a basic overview, rssr runs with the -c option pointing to my tiktok_officialvarg.conf file and runs with the -e option, meaning rssr will not overwrite our feed if no new changes are detected and exits with an error code of 1.
If changes are found then it creates/overwrites a file called {out}.xml and then rsync’s the new file to my website server.
update-feeds.sh is called every hour through a crontab setup shown here.
55 * * * * cd /home/jamie/code/feeds && ./update-feeds.sh
As shown it’ll be very easy to add more feeds in future, but for now I only need the one.