Skip to content

bstrong/blog

Repository files navigation

Blog

Personal blog built with Astro and the UINUX Blog Theme, deployed on Cloudflare Pages.

Setup

npm install
npx lefthook install

Development

npm run dev

The site will be available at http://localhost:4321.

Scripts

Command Description
npm run dev Start dev server
npm run build Build static site to dist/
npm run preview Preview the build locally
npm run lint Run Biome linter
npm run lint:fix Run Biome linter with auto-fix
npm run format Format files with Biome

Adding a Post

Create a new .md or .mdx file in src/content/posts/:

---
title: "Post Title"
description: "A short summary for listings and meta tags"
date: 2026-01-01
---

Post content goes here.

The filename becomes the URL slug (e.g., my-post.md -> /posts/my-post).

Drafts are managed via git branches -- write on a branch, merge to main to publish.

CI/CD

Pushes to main trigger a GitHub Actions workflow (.github/workflows/ci.yml) that runs lint and build. Deployment to Cloudflare Pages via Wrangler is configured but currently disabled in the workflow.

About

My personal blog

Resources

Stars

Watchers

Forks

Contributors