Something went wrong. Try again.
my website built in astro
Something went wrong. Try again.
Files
- Astro 65%
- JavaScript 21%
- TypeScript 8%
- CSS 6%
README.md
cyrave.net #
Jen's personal site. Astro 5 + Tailwind v4, Catppuccin Mocha, terminal-inspired. Content is pulled from the CopperMind Obsidian vault at build time.
Stack #
- Astro 5 — content-first, static by default
- Tailwind v4 — CSS-native
@theme, Catppuccin Mocha palette matched to MISTWEAVER - ATProto (Bluesky) — per-post comments via
app.bsky.feed.getPostThread, recent-skeets feed viaapp.bsky.feed.getAuthorFeed. No server required.
Running locally #
pnpm install
pnpm dev # runs sync-vault, then astro dev
Open http://localhost:4321.
Where content comes from #
Posts live in the CopperMind vault at ~/ExMem/Obsidian/CopperMind/Writing/.
scripts/sync-vault.mjs runs before every build and:
- Walks
Writing/**/*.md - Picks any file with
is_published: truein frontmatter - Rewrites
[[wikilinks]],![[embeds]], and Obsidian callouts - Writes normalized Markdown to
src/content/blog/(gitignored)
The vault is read-only. The script never modifies anything under CopperMind/.
If you want to publish a new post:
- Open the note in Obsidian
- Add
is_published: trueto the frontmatter - Run
pnpm build(orpnpm dev— sync runs first)
Optional frontmatter:
title(required — falls back to filename)description— shown in list view and meta tagspubDate/publishDate/date— publish date, any parseable formatheroImage— URLtags— YAML listisFeatured— pins to top of listblueskyUri— Bluesky post URL or AT URI; when present, replies to that post render as comments
ATProto #
- Handle:
cyrave.net(configured insrc/consts.ts) - Comments: each post can carry
blueskyUriin frontmatter; the client-side component fetches the thread frompublic.api.bsky.appand renders replies. - Feed:
BlueskyFeed.astroon the homepage fetches the 5 most recent skeets.
To add comments to a post:
- Create a skeet on Bluesky linking to the post
- Copy the post URL (
https://bsky.app/profile/cyrave.net/post/3kabc...) - Paste it into the vault note's frontmatter as
blueskyUri: https://... - Rebuild
Scripts #
| Command | What it does |
|---|---|
pnpm dev |
Sync vault, start dev server |
pnpm build |
Sync vault, build to dist/ |
pnpm preview |
Preview the built site locally |
pnpm sync |
Sync vault only |
Styling #
The palette is copied verbatim from MISTWEAVER/mistweaver_tui/src/theme.rs so the web
UI stays visually aligned with the TUI tools. See src/styles/global.css for the full
@theme block and STYLE_GUIDE comments in src/components/ for role conventions.