Vault CMS (Plugin)
Vault CMS is the core plugin that coordinates the experience. When you first open the vault, a setup wizard guides you through configuring Obsidian to work with your Astro project.
The wizard auto-detects your Astro project, lets you configure content types and properties, and sets up all the companion plugins. If something seems off during the process, ensure you have copied the vault folder to a location within your Astro project (usually src/content).
Once configured, restart Obsidian and start at Home Base.
Commands
Section titled “Commands”- Open setup wizard: Re-run the configuration wizard at any time.
- Check Vault CMS setup: Run a health check on your installation and configuration.
- Download and apply preset: Sync your local configuration with a remote preset repository.
Setup Wizard
Section titled “Setup Wizard”The wizard walks you through 10 steps:
- Welcome: Overview of the setup process.
- Project Detection: Locates your Astro project by identifying config files (
astro.config.mjs, etc.). - Content Types: Scans your project to identify and categorize content folders (posts, pages, docs, etc.).
- Properties: Analyzes existing content to map properties (title, date, description, etc.).
- Plugin Configuration: Configures Bases CMS, Astro Composer, SEO, default content type, and editing toolbar preferences in one consolidated step.
- Optional Plugins: Enable or disable recommended ecosystem plugins.
- Ignore Files: Automatically optimizes
.gitignoreand Vite configurations for your project. - Git Integration: Securely links your project to GitHub (PAT stored in Obsidian Secrets). Can initialize Git, create a repository, and perform the initial push.
- Deployment: Provides deployment instructions tailored to your platform (Netlify, Vercel, Cloudflare, or GitHub Pages).
- Finalize: Review summary and apply the final configuration.
Bases CMS Folder Detection
Section titled “Bases CMS Folder Detection”The wizard dynamically detects your Bases CMS home file. It searches the following folders in order of preference:
| Folder | File names checked |
|---|---|
_bases | Home.base, home.base, index.base |
bases | Home.base, home.base, index.base |
_home | Home.base, home.base, index.base |
home | Home.base, home.base, index.base |
_base | Home.base, home.base, index.base |
base | Home.base, home.base, index.base |
If no existing file is found, the wizard defaults to creating _bases/Home.base.
Astro Theme Presets
Section titled “Astro Theme Presets”Vault CMS supports curated configuration presets for popular Astro themes. These presets automatically map content types, properties, and folder structures to match your theme’s expectations.
- Starlight
- Slate
- Chiri
Use the Download and apply preset command to fetch the latest configurations from the Vault CMS Presets repository.