Skip to content

link108/byah

Repository files navigation

BYAH

Lightweight self-hosted personal blog and bio site built with Astro, TypeScript, Markdown/MDX, and plain CSS.

Commands

Install dependencies:

npm install

Run the local dev server:

npm run dev

Build the static site:

npm run build

Docker

Build the image:

docker build -t byah-site .

Run the container:

docker run --rm -p 8080:80 byah-site

Content

Add a new blog post:

  1. Create src/content/blog/my-post.md or src/content/blog/my-post.mdx.
  2. Add title, date, summary, tags, and draft in frontmatter.

Add a new project:

  1. Create src/content/projects/my-project.md.
  2. Add title, status, summary, stack, links, and featured in frontmatter.

Add a new link:

  1. Create src/content/links/my-link.json.
  2. Add title, url, date, tags, and note.

Notes

  • Update src/site.config.ts to change the site title, author, description, base URL, accent color, email, and GitHub link.
  • RSS is generated at /rss.xml.
  • Draft blog posts are excluded from generated blog pages and indexes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors