March 14, 2024, 9:02 a.m. | Nicolas Frankel

DEV Community dev.to

Recently, I mentioned how I refactored the script that kept my GitHub profile up-to-date. Since Geecon Prague, I'm also a happy owner of a Raspberry Pi:





// Detect dark theme
var iframe = document.getElementById('tweet-1715313240568197233-92');
if (document.body.className.includes('dark-theme')) {
iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=1715313240568197233&theme=dark"
}




Though the current setup works flawlessly - and is free, I wanted to experiment with self-hosted runners. Here are my findings.





Context


GitHub offers a large free usage of GitHub Actions:



GitHub Actions usage is free for standard GitHub-hosted …

action body current dark detect document free github github action githubactions iframe profile raspberry raspberrypi run script theme up-to-date var

SOC 2 Manager, Audit and Certification

@ Deloitte | US and CA Multiple Locations

Security Officer Hospital Laguna Beach

@ Allied Universal | Laguna Beach, CA, United States

Sr. Cloud DevSecOps Engineer

@ Oracle | NOIDA, UTTAR PRADESH, India

Cloud Operations Security Engineer

@ Elekta | Crawley - Cornerstone

Cybersecurity – Senior Information System Security Manager (ISSM)

@ Boeing | USA - Seal Beach, CA

Engineering -- Tech Risk -- Security Architecture -- VP -- Dallas

@ Goldman Sachs | Dallas, Texas, United States