A couple of months ago I bought a Raspberry Pi 5. Here's what came out of it.
I didn't have a specific goal. The main idea was to stop using cloud VDS (I had 3 on DigitalOcean), thereby slightly reducing monthly costs.
Since I have a static IP, I decided to move some of my personal services onto it.
But the Raspberry Pi 5 even exceeded my expectations.
Now, let's go in order.
I ordered it from the official distributor, who delivers to Serbia - GalagoMarket. Delivery from Slovenia took a little more than 2 weeks.
P.s. At the time, I didn’t know that the import tax to Serbia is 30% if the item's price exceeds 50 euros.
I decided to order the full set so I wouldn't have to deal with additional parts:
The whole set cost 115 euros plus DHL shipping — 30 euros.
I paid the tax and the bill for the services of the company that processes the documents at the border.
In total, it came to around 170 euros.
Thus, the total cost of the set was equivalent to 8.5 months of VDS rental.
So, what is it for?
The first thing I installed was Ubuntu 24, not the server version, but with a graphical interface. Why? I'll explain later.
Main pet services I use in daily life:
A custom-made cloud for quickly uploading images and files to the cloud and getting a link to insert them somewhere, based on nodejs and DigitalOcean Spaces (I won’t give a link to the code, it's really bad).
image-converter a converter and resizer for web images, allowing you to compress photos and decode them into jpeg, webp, or aif using ffmpeg quickly and easily, optimized for mobile devices;
Telegram bots ranging from simple ones like:
get_my_data_bot - lets you get information about your user;
to more complex ones like:
sub_track_bot - analyzes the attendance of Telegram groups and monitors user activity in the group. It gives the owner the ability to get data for analysis. Access is currently by request only;
SrpskiPrijateljBot - a bot that translates between Serbian and Russian with the ability to recognize text from an image and voice the text using OpenAI.
Air Quality Monitoring Bot - a bot that notifies about increased temperature or air pollution in the apartment based on ThingSpeak and nodemcu.
To run my services, I use pm2, Docker and nginx.
For quick automations n8n.
For backups rclone and DigitalOcean Spaces.
For protection against attacks, I set up Cloudflare (free plan), which proxies requests to my domains to nginx.
By the way, DNS record management is also done through Cloudflare, which is much more convenient than the registrar’s dashboard.
Next, nginx on the Raspberry Pi receives the requests and proxies them to the appropriate Raspberry Pi ports.
But that's not all.
At the same time, my Raspberry Pi 5 is used as a home media server.
Since the rented apartment has an old, inexpensive TV without the ability to install apps, I connected the Raspberry Pi to it, which is where the graphical interface comes in handy.
Thus, you can watch movies, listen to music, and browse YouTube right from the couch.
For easy switching between movies, I quickly assembled a solution in the form of a one-pager based on airtable, airtable API, js and Omdbapi API, so when adding a link to the movie and its title in the table, the poster and description are automatically loaded and displayed on the home page of Chromium on the Raspberry when opened.
In addition, the Raspberry Pi 5 has Bluetooth, making it easy to connect to an audio system.
In the end, it turns into a media solution for watching movies and listening to music while also running the services.
How do you use your Raspberry Pi?