Owning my Garmin data

Over the last month, I took some time to build a tiny WordPress plugin that fetches data from my Garmin Connect platform and displays it on my website. Currently the workflow only pulls activity data from the platform - which was my focus for this month. With modifications to the python script, I think this can be extended further to fetch any type of data from the platform. Here’s a rundown of the publishing workflow so far: ...

May 29, 2021 · 2 min · 340 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

State of The Networks - Feb 2021

A quick rundown on the state of the home-servers I run or applications I host on the cloud. Published while listening to: Malang With our temporary relocation, I currently manage two ‘home-labs’ - one which I remotely manage with a WireGuard tunnel and the other just a local-access only setup. The remote home-lab is essentially a Nextcloud server running on a DietPi OS spun on an RPi4. I pulled down the HAProxy config on the fronting server since that was no longer required. ...

February 5, 2021 · 2 min · 426 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

State of The Networks – Jun 2020

A quick rundown on the state of the home-servers I run or applications I host on the cloud. My ‘Homelab’ setup has not changed much since my last update in January. I did add in a switch and installed a wireguard vpn on the RPI 3B+ that fronts as a reverse proxy for the Nextcloud media devices. I also got a Seagate 2TB drive and built two partitions into it. One acts as a backup for my Nextcloud files and the other is a ‘cold backup’ of my Hetzner cloud instance. ...

June 18, 2020 · 2 min · 290 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Deploying Known on a docker stack

To migrate my php applications that did not have a handy docker-compose available, I needed a vanilla setup for my stack-based docker environment. Known is one of those apps and so the first step was to build that PHP environment. Setting up a Dockerhub repository and building a custom PHP image [If you decide to use my image, you would not have to build this yourself. Skip ahead to the Deploying Known section] ...

April 28, 2020 · 3 min · 538 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Weeknote 17 - Covid19, Webmentions and Migrations

A glimpse of the past week and the few articles, podcasts, tools, videos and music that captivated my attention: This week I got a better handle at deploying and maintaining docker images. With that squared out, I decided to decommission the Digital Ocean servers that I had setup back in 2017 and migrate the applications over to my Hetzner server. I no longer have to rely on ServerPilot. All my applications are now deployed as docker containers fronted by #Traefik as a reverse proxy. ...

April 24, 2020 · 5 min · 856 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Self-hosting Jitsi video conferencing

Jit.si is a terrific, secure video-conferencing #alternative to #Zoom and obviously comes with all the open-source awesomeness. Call clarity is amazing and with a room capacity of 100+ (and potentially much more, driven by network and server capabilities), it’s an absolute no-brainer to switch over. Use Jitsi Meet on the desktop or use one of their slick android, F-droid or iPhone apps on hand-held devices to organise your video conferences. With the recent push to video-conferencing most meetings, I decided to setup my own instance. This was way more straightforward than I thought! I am currenty running it as a docker container, fronted with #Traefik for encryption. Configuration and installation steps mentioned below assume you have access to a domain name and server with docker already installed. ...

April 19, 2020 · 2 min · 409 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

State of The Networks - Jan 2020

A quick rundown on the state of the home-servers I run or applications I host on the cloud. Last week I opened up my Nextcloud instance for external access. Now, since my brother’s RPi4 was already exposed on the same network, I had to setup a reverse proxy on another RPi3 to access both simultaneously behind the router. Here’s the current setup: Proxy server: An RPi3 running on Raspbian Buster Lite with HAProxy installed to handle the reverse proxy. Here’s the gist of the code that’s handling all the heavy lifting. Since SSL is handled by the other servers themselves, all I needed was a quick pass-through handshake from HAProxy. ...

February 4, 2020 · 2 min · 390 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Network auto-latch

I realised the raspberry pi that hosts my nextcloud setup wasn’t quite latching back on to the network if the router was turned off or if the internet was sketchy. Was a pain to hard boot the device manually to reset it. Decided to write a short script to reset the network connection when it noticed something was off. ping -c4 192.168.0.1 > /dev/null if [ $? != 0 ] then echo "SOS..Restarting eth0 for network latch" /sbin/ifdown 'eth0' sleep 5 /sbin/ifup --force 'eth0' fi A chron job runs every 10 minutes to take pulse of the network, runs the above code and picks up connectivity without manual intervention! ...

October 25, 2019 · 1 min · 109 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Bringing the cloud home

I finally got my Shoebox server setup working! I now have three Single board Computer [SBC] working in tandem behind my home router to accomplish what I’ve been wanting to do for quite sometime now - Setting up an easy-to-maintain, in-house server for all my data and web hosting needs. Fixing this all together has been a tremendous learning experience. I still need to weed out some pesky issues but I believe I have the bearing right now. ...

February 26, 2019 · 2 min · 390 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]

Migrations, Workflows and Awesomeness

Since mid 2016, I’ve been wanting to consolidate all the portals I manage. Having set them up on separate domain spaces, It was getting excruciatingly difficult to update/maintain/upgrade them. The admin interface at times was dead slow and I had restrictions with server permissions which wasn’t quite helpful. My first thought was to procure a home server and host all the portals from there. Besides speed and control, It would also give me flexibility to tinker with other self-hosted apps that I’ve been itching to work on. It looked like a great solution but I knew it would also need me to invest a lot of time, getting up to speed with server administration. With my new running schedule and several other things, time was a luxury I didn’t have and I was soon scouting for alternatives. ...

March 3, 2017 · 3 min · 619 words · map[email:ssphugo@srkn.anonaddy.com name:Srikanth Perinkulam nick:SSP]