Categories
Projects

Radio Player PWA

Progressive Web Apps. A concept I’ve fallen in love with the moment I heard about it, and I wanted to make one ever since. Yet, you know how it is, one side project was put away on the shelf, once a new side project popped up in my head. And another. And yet another one.

Why Radio Player? Eh, I already had it ready and working, but it didn’t feel pampered enough. You know, like it was missing something. Besides, I really like the concept of being able to install a web page as an app and actually make it work like one and it was a great candidate for it.

My first attempt was to make the existing page a PWA. This failed miserably, as page had a lot of legacy code, had a few libraries installed (long live the jQuery), and it looked like it was put together in five minutes (it was an hour, but back then it had to work, not look pretty). I’ve started from scratch.

This time I decided to challenge myself – I’ve written the new one using pure JS.

Was it worth it? Heck yeah. The whole app is 450 kB, that’s including the stations cover images! All the app structure is handled by service worker, so will load from local cache and yay, it’s installable!

The whole app is as easy to use as it can be. Just click on your radio station and it’ll start playing. You can also favourite stations, and next time the app will display just the favourites – you can use the menu to view all of them again. One can also use the built-in search.

Categories
Projects

BerryBackup

Have you ever needed to copy files from one media to another, on the go?

As you might, or might not know, I like taking pictures. A lot of them. I do go on a weekend getaways with a complete set of tech gadgets one can take and run without access to the power outlet – so, anything with a battery.

You know what I also like? Making backups. As a wise somebody once said, people are divided into ones making backups and ones that will make backups. It seems I fit the first group, having previously lost a whole summer worth of photos because of single memory card failure.

So, I would like to make a copy on a separate physical drive. What would you use? A laptop? Sure, probably the easiest way. But running your laptop in the car is hardly convenient. Believe me, I’ve tried. One of those extremely overpriced HDDs, which have an option to connect SD card, then? Hell no, have you seen their price tags?

Categories
HomeServer Projects

HS3: 2020 update

Well. 2019. Long year, in which I had a little time for my personal projects, unfortunately. One of my new year, new me things is to turn that around and spend more time on the thing I enjoy the most, including coding, of course.

The main con of having too little time is that you make shortcuts, which lead to the technical debt. That was something I had to deal with. HS3 was therefore almost rewritten, which in the retrospective was a good thing – taught me, that you cannot rush everything, especially the software design. Now, with that knowledge stuck in my brain, I present to you 2020’s version of the Home Server project.