C Vault
Decentralized intelligence library for digital assets. Content collections with Zod-validated security levels, encryption layer, archive workflows. Astro 6 + Tailwind CSS v4.
๐ Why C Vault?
A self-hosted intelligence library that turns scattered digital resources into a structured, searchable vault. Each asset is classified with a security level, category, and status so sensitive references stay locked down while public ones stay open.
Runs locally โ no public deployment. Your vault, your rules.
๐ฏ Key Features
| Feature | Status | Description |
|---|---|---|
| Content Collections | โ | Astro v6 glob loader auto-indexes every markdown/MDX resource. |
| Security Levels (1-5) | โ | Zod schema enforces a securityLevel per asset for tiered access. |
| Status Workflow | โ | Three states (draft / published / archived) for the editorial pipeline. |
| Encryption Layer | โ | Dedicated encryption.astro page for cipher-based asset handling. |
| Library & Archives | โ | Split views for active knowledge base vs long-term archive storage. |
๐ Architecture
c-vault/
โโโ public/ # Static dashboard assets
โโโ src/
โ โโโ components/ # UI building blocks
โ โโโ content/ # Markdown resources collection
โ โ โโโ resources/ # Individual asset entries
โ โโโ content.config.ts # Zod schema + loader config
โ โโโ data/ # Structured seed data
โ โโโ layouts/ # Shared page shells
โ โโโ pages/ # routes (index, library, archives, encryption)
โ โโโ styles/ # Tailwind v4 global styles
โ โโโ types/ # TypeScript type defs
โ โโโ utils/ # Helper functions
โโโ astro.config.mjs
โโโ .env.example # Local config template
๐ Quick Start
Prerequisites
- Node.js >= 22.12.0
Local Setup
# Clone the repository
git clone https://github.com/Curzyori/c-vault.git
cd c-vault
# Install dependencies
npm install
# Copy env template
cp .env.example .env
# Start dev server
npm run dev
Open http://localhost:4321 and start indexing your resources.
๐ผ๏ธ Preview
<p align="center"> <img src="public/dashboard-1.png" alt="Vault Overview" width="48%"/> <img src="public/dashboard-2.png" alt="Library View" width="48%"/> </p>๐ License
This project is released under the MIT License โ see LICENSE for full text.
โ Support
If this project is useful, consider supporting its development!
<p align="center"> <a href="https://donate.curzy.dev/"><strong>๐ Donate via Crypto or QRIS</strong></a> </p>Crypto payment details are maintained at donate.curzy.dev.
<sub>Built with passion as the 8th Project of the 50 Projects Challenge by @curzyori</sub>