Be useful
Build small tools and projects that solve a real problem, save time or make useful information easier to reach.
Brightcore is a personal space for practical projects, useful tools and experiments made to help people in small, real ways — with a focus on technology, clear thinking and continuous learning.
Build small tools and projects that solve a real problem, save time or make useful information easier to reach.
Document the process clearly: what was built, what failed and what was learned along the way.
Use technology thoughtfully — with respect for people, privacy, public information and the communities that use it.
A Discord bot for the Slovenian precipitation radar. It checks whether the official ARSO radar animation has changed and posts an updated link to the official source in a selected Discord channel. It keeps only its newest post, making the latest radar easier to access without re-uploading ARSO imagery.
Before you start: Vremenar posts a link to the official ARSO / meteo.si radar source; it does not upload a copy of ARSO imagery. Source: ARSO. Vremenar is an independent, non-commercial project and is not affiliated with or endorsed by ARSO. Never share your bot token, publish it in screenshots or commit it to GitHub. Replace every placeholder in CAPITAL LETTERS with your own value.
Open Terminal and install Python, virtual-environment support and pip.
Create a folder in your home directory, create an isolated Python environment, then install the libraries.
In the Discord Developer Portal create a new application, open Bot and choose Add Bot. Under OAuth2 → URL Generator, select the bot scope and invite it with only: View Channel, Send Messages, Attach Files and Read Message History. Do not give it Administrator permission.
In Discord enable User Settings → Advanced → Developer Mode. Right-click the target text channel and select Copy Channel ID. You will add this number to bot.py.
Create the source file and paste the Vremenar link-only code. Change only CHANNEL_ID to your own channel ID. Do not put your token in this file.
Save in nano with Ctrl + O, press Enter, then exit with Ctrl + X.
Create a root-owned environment file. Replace PASTE_YOUR_TOKEN_HERE with the bot token copied from the Discord Developer Portal.
Run the bot manually first. If it connects and posts the official ARSO link after a radar change, stop it with Ctrl + C.
Find your Linux username with whoami. Replace YOUR_LINUX_USERNAME below with that exact result, then create the service file.
Reload systemd after saving the service, enable automatic startup and start the bot.
The successful status contains active (running).
Use the last command to see live logs if the bot does not post a link.
Confirm the channel ID and check the bot has View Channel, Send Messages, Attach Files and Read Message History in the target channel.
Regenerate it immediately in the Discord Developer Portal, update /etc/vremenar.env, then run sudo systemctl restart vremenar.
Run journalctl -u vremenar -f. The most common mistakes are a wrong Linux username, wrong file path or a missing Python package.
Source: ARSO / meteo.si. Vremenar links to the official radar source. Users remain responsible for complying with the source provider’s current terms and applicable law.
Brightcore is an independent personal project space created and maintained by Timotheus. It collects useful experiments, practical learning and work that aims to make a small positive difference.