A minimalist-neobrutalism style blog that transforms Markdown notes into a website deployed to GitHub Pages. Built with Astro + TailwindCSS, featuring bold typography, sharp borders, and a vibrant color scheme.
git clone https://github.com/chenxing-dev/blog.git
cd blog
npm install
npm run dev
-
Create New Posts
Add Markdown files tosrc/content/blog/
:--- title: "Your Post Title" date: 2025-01-01 description: "Brief description of your post" category: "terminal" # terminal/config/desktop/etc. tags: ["tag1", "tag2"] --- ## Your Content Here
-
Local Development
npm run dev
View at
http://localhost:4321/blog/
-
Build & Deploy
npm run deploy
Auto-publishes to
https://<username>.github.io/blog
blog/
├── src/
│ ├── components/
│ │ ├── Header.astro
│ │ └── GithubIcon.astro
│ ├── content/
│ │ └── blog/ # Markdown posts
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ ├── [id].astro # Dynamic post routes
│ └── 404.astro
│ └── index.astro
│ ├── lib/
│ │ └── readTime.js # Read time calculator
│ └── styles/
└── astro.config.mjs
- Configure in
astro.config.mjs
:export default defineConfig({ site: 'https://change.this', base: '/' });
- Push to the master branch
git add .
git commit -m 'changed astro config'
git push -u origin master
MIT License - see LICENSE
Made with 🖤 by 陈刑