Hosting Guide

self-host this website

crnobog@terminal ~ $ echo "Prerequisites"
Node.js 18+ or Bun 1.0+ installed
Git installed
Text editor (VS Code recommended)

Setup Steps

1

Clone Repository

git clone https://github.com/crnobog69/crnobog69.github.io.git

Download the source code to your local machine

2

Install Dependencies

cd crnobog69.github.io && bun install

Install all required packages using Bun (faster than npm)

3

Development Server

bun run dev

Start local development server on http://localhost:4321

4

Build for Production

bun run build

Generate static files in the dist/ directory

Deployment Options

Connect your GitHub repository to Vercel
Configure build settings: Framework = Astro
Deploy automatically on git push

Cloudflare Pages

Visit →
Connect repository to Cloudflare Pages
Set build command: bun run build
Set output directory: dist
Deploy on commits to main branch

Netlify

Visit →
Import project from Git repository
Build command: bun run build
Publish directory: dist
Deploy site automatically

Self-Hosted VPS

Build project locally: bun run build
Upload dist/ folder to your server
Configure web server (nginx/apache)
Point domain to server IP
crnobog@terminal ~ $ cat notes.txt

• This is a static Astro site - no server required

• All content is generated at build time

• Bun is significantly faster than npm for installs

• The radio player requires HTTPS for some streams

• Dashboard ping functionality has CORS limitations (everything works when self-hosted)

• Customize themes in src/layouts/Layout.astro

• Customize Dashboard in src/pages/dash.astro

• You can use PM2 to keep your website running in the background

crnobog@terminal ~ _

© crnobog