Under The Hood

The engineering behind this website. Scroll to explore.

Chapter 01

Curl Compatible

You don't have to leave the terminal to view my site now XD

mebin@terminal:~
~ curl https://mebin.in

Built from Scratch

No Jekyll, no Hugo. I made a custom SSG named called Not-An-SSG (amazing naming skills, I'm aware)

View Source Code →
Chapter 02

Custom SSG

Why use someone else's generator when you can build exactly what you need?

It converts Markdown files to HTML with syntax highlighting and custom styling, giving me complete control over the build process.

Chapter 03

Raspberry Pi Powered

This entire website runs on a Raspberry Pi 3 sitting in my room.

One of the main objectives was to be as frugal as possible. No VMs, no cloud providers. Just raw hardware and lots of tinkering and poking around.

pi@raspberrypi:~ $ cat /proc/cpuinfo | grep Model

Model : Raspberry Pi 3 Model B+


pi@raspberrypi:~ $ uptime

21:30:00 up 420 days, 13:37, 1 user, load average: 0.05, 0.03, 0.01

You Cloudflare My Pi

Secure Tunnel (No Public IP)

Chapter 04

No Port Forwarding

Cloudflare Tunnels used to expose my Raspberry Pi to the internet.

No opening ports on my router. No messing with CGNAT. Cheap, secure, fast, and comes with the peace of mind Cloudflare offers.

Chapter 05

Global CDN

Images are served from a Cloudflare R2 bucket using their global CDN.

While the Pi handles dynamic content, heavy static assets are offloaded. Not-An-SSG automatically uploads new assets to R2 during the build process.

Auto-Upload
SSG pushes assets to R2
Global Delivery
Cached at edge locations

POST /webhook/deploy HTTP/1.1

Host: mebin.in

X-GitHub-Event: push


✓ Signature Verified

➜ Pulling latest changes...

➜ Running build script...

➜ Restarting service...

✓ Deployment Successful (2.4s)

Chapter 06

Automated CI/CD

Built using simple webhooks. No complex pipelines.

Write a blog post, push to main, and it's live within seconds. The Pi listens for webhook notifications, pulls changes, rebuilds, and restarts automatically.

Chapter 07

SSH in Browser

Access my Raspberry Pi via SSH directly from any web browser.

I could SSH into my PI from a smart fridge (I hope I don't see this day), but it is handy when I don't have my laptop and need to check on the server remotely from a mobile device.

sshpi.mebin.in

Connected to raspberrypi

Authentication Successful