Skip to main content
#08

C Vault

Decentralized intelligence library for digital assets. Content collections with Zod-validated security levels, encryption layer, archive workflows. Astro 6 + Tailwind CSS v4.

AstroTailwind CSSMarkdownSecurityVaultKnowledge ManagementProductivity
<p align="center"> <img src="public/dashboard-1.png" alt="C Vault Banner" width="100%"/> </p> <h1 align="center">C Vault</h1> <p align="center"> <strong>Decentralized intelligence library for digital assets</strong> </p> <div align="center">

Stars Forks License Platform

</div> <p align="center"> <a href="#-why-c-vault">Why This</a> ยท <a href="#-key-features">Features</a> ยท <a href="#-architecture">Architecture</a> ยท <a href="#-quick-start">Quick Start</a> </p>

๐Ÿ•’ 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

FeatureStatusDescription
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>