Skip to content

Repository files navigation

The Unlabeled

A personal blog. Previous attempts didn't pass the vibe check — this one might.

Live: the-unlabeled.com


Stack

Layer Tech
Build Vite
UI Framework GOV.UK Frontend v5.9
Styling GOV.UK CSS + custom style.css overrides
Scripting Vanilla JS
Database & Auth Supabase
Markdown marked + EasyMDE
Charts Chart.js + chartjs-plugin-zoom
Push notifications web-push
Analytics Vercel Analytics + Vercel Speed Insights
Deploy Vercel

The GOV.UK design system handles layout and accessibility. src/style.css customises it to feel less like a government portal.


Project Structure

the-unlabeled/
├── api/             # Vercel serverless functions (article SSR, sitemap, push)
├── public/          # Static assets (favicon, sw.js, manifest)
├── src/
│   ├── components/  # Shared UI components (Layout, Grid, Comments, etc.)
│   ├── data/        # Supabase query helpers
│   ├── lib/         # Utilities (auth, validation, logger, markdown, etc.)
│   ├── pages/       # Page renderers (one file per route)
│   ├── main.js      # Entry point and client-side router
│   └── style.css    # GOV.UK overrides & custom styles
├── index.html
├── vercel.json
└── package.json

Getting Started

pnpm install
pnpm run dev

Other scripts:

pnpm run build    # Production build
pnpm run preview  # Preview the production build locally

Copy .env.example to .env.local and fill in your Supabase and VAPID keys before running locally.


Roadmap

  • Database integration (Supabase)
  • Markdown support for article content
  • Comments and voting system
  • Push notifications
  • Admin panel
  • More articles, presumably

Status

Work in progress. Things will break and change without warning.

Contributors

Languages