A modern digital garden built with Astro, featuring wikilinks, backlinks, graph visualization, and full-text search.
- Wikilink Support: Use
[[Page Name]]syntax to link between notes - Backlinks: Automatically see which pages link to the current page
- Graph Visualization: Interactive D3 force-directed graph of note connections
- Full-Text Search: Fast search across all notes with Cmd+K shortcut
- Table of Contents: Auto-generated TOC with scroll highlighting
- Tags: Organize notes with tags and browse by tag
- Dark Mode: System-aware theme with manual toggle
- Responsive: Three-column layout that adapts to screen size
- Fast: Built with Astro for optimal performance
- Smart Caching: LocalStorage caching prevents layout jitter
/
βββ public/ # Static assets (favicon, images)
βββ src/
β βββ components/ # Astro and React components
β βββ content/
β β βββ vault/ # Your notes (.md), bases (.base), canvases (.canvas)
β β βββ bibliography.bib # Citation references
β βββ layouts/ # Page layouts
β βββ pages/ # Routes and API endpoints
β βββ plugins/ # Remark/Rehype plugins
β βββ styles/ # Global CSS
β βββ utils/ # Utility functions
β βββ config.ts # Site configuration
βββ package.json
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
bun install |
Installs dependencies |
bun run dev |
Starts local dev server at localhost:4321 |
bun run build |
Build your production site to ./dist/ |
bun run preview |
Preview your build locally, before deploying |
bun run astro ... |
Run CLI commands like astro add, astro check |
After cloning this template, customize it for your site:
- Update site title, description, and logo in
src/config.ts - Modify footer links in
src/config.ts - Customize theme colors and typography in
src/config.ts - Replace logo in
public/ametrine.png - Delete or replace example notes in
src/content/vault/ - Update
baseUrlinsrc/config.tsfor production deployment
- Edit
src/config.tsto change site title, theme, and typography - Customize styles in
src/styles/global.css
Build your site for production:
bun run buildDeploy the ./dist/ folder to any static hosting service (Vercel, Netlify, Cloudflare Pages, etc.)
Inspired by Quartz
MIT