Installation
Create a new Silica vault and run it locally.
Silica keeps your repository focused on content. You write Markdown; Silica builds and serves the website.
- Scaffold a project.
- Add Markdown files under
content/. - Run
npm run devand openhttp://localhost:3000. - Edit content — the site rebuilds automatically as you save.
Create a new vault
npx create-silica my-vault
cd my-vault
npm install
npm run devThis gives you a ready-to-edit vault:
content/index.md— your home pagecontent/notes/getting-started.md— a starter notesilica.config.ts— site settingspackage.jsonwithdev,build, andstartscripts.env.example, aDockerfile, and a GitHub Actions workflow for deployment
From there, the only folders you touch are content/ (your pages) and public/ (static files like a favicon).
Add Silica to an existing folder of notes
If you already have a vault, point Silica at it by creating a silica.config.ts next to your content/ folder and adding the silica commands to package.json. See Project structure for the expected layout.
Backlinks