Skip to content

sayedrisat/codevault

CodeVault

Save code the way you write code.

A developer-focused code notebook for saving, organizing, searching, and reusing code snippets.

CodeVault gives developers a dedicated place to capture reusable snippets, add context, organize by tags and language, and quickly find code again when it matters.

Quick Links

Live Demo

Live Demo: https://codevault-2sp.pages.dev/

Contributors should preview the live demo first, then run the project locally before opening a pull request.

Screenshot Preview

CodeVault UI Preview

Project Status

Current Version: v0.1.0-alpha

Status: Active Development

Looking for Contributors: Yes

Primary Focus: Building a fast developer-focused code notebook.

Features

  • Save reusable code notes with title, reason, language, tags, and snippet body
  • Search across note metadata and optional code content
  • Browse snippets by language, collection, and tags
  • Edit notes in a right-side drawer with syntax highlighting
  • Copy snippets quickly from preview cards
  • Responsive dark UI designed for developer workflows
  • Alpha roadmap for persistence, deletion, import/export, and toast feedback

Why CodeVault?

Most note-taking apps treat code as a secondary feature.

CodeVault is built around the idea that code is the note.

Instead of storing snippets inside documents, CodeVault provides a dedicated workspace for organizing, searching, and reusing code efficiently.

Tech Stack

  • Vite
  • React
  • Tailwind CSS
  • Ace Editor for syntax highlighting
  • Lucide React icons

Future Vision

CodeVault is evolving from a simple code notebook into a complete developer knowledge workspace.

Planned roadmap:

v0.2.0

  • localStorage persistence
  • delete notes
  • copy success toast
  • save success toast

v0.3.0

  • JSON export
  • JSON import
  • keyboard shortcuts
  • improved search experience

v0.4.0

  • Monaco Editor (VS Code engine)
  • syntax highlighted note previews
  • improved mobile experience
  • advanced filtering

Future Features

  • AI-powered snippet explanations
  • AI-generated learning notes
  • Semantic code search
  • Smart code relationships
  • Personal developer memory system
  • favorite collections
  • command palette
  • GitHub Gist integration
  • Notion integration
  • browser extension
  • VS Code extension
  • cloud sync

Long-term goal:

Become the personal knowledge base for developers.

Not just a place to store code, but a place to remember, organize, understand, and reuse knowledge.

Installation

Clone the repository:

git clone https://github.com/sayedrisat/codevault.git
cd codevault

Install dependencies:

npm install

Start the local development server:

npm run dev

Open the local Vite URL shown in your terminal, usually:

http://localhost:5173

Build for production:

npm run build

Preview the production build:

npm run preview

Usage

  1. Open CodeVault in your browser.
  2. Use the search bar to find saved snippets by title, tag, language, explanation, or code body.
  3. Select a language or tag from the sidebar to narrow the list.
  4. Click New Note to create a reusable code note.
  5. Add a short reason for saving the snippet so it is easier to remember later.
  6. Use Copy on a note card to copy the snippet.
  7. Use Edit to open the drawer editor and update a note.

Previewing Pull Requests Locally

Before reviewing or opening a pull request, preview the live demo first, then run the project locally:

git clone https://github.com/sayedrisat/codevault.git
cd codevault
npm install
npm run dev

Open the local Vite URL shown in your terminal, usually:

http://localhost:5173

Before opening a PR, please:

  • run npm run dev
  • test the UI locally
  • take a screenshot if your change affects the UI
  • mention what you changed in the PR description

Cloudflare Pages Deployment

CodeVault is prepared for Cloudflare Pages deployment from GitHub.

Recommended Cloudflare Pages settings:

  • Framework preset: Vite
  • Build command: npm run build
  • Output directory: dist
  • Node version: use the version in .node-version

Contributing

Contributions are welcome. Start with a small focused issue, especially one labeled good first issue.

Suggested workflow:

  1. Pick an issue from the roadmap or GitHub issues.
  2. Create a focused branch.
  3. Run the app locally.
  4. Make a small, reviewable change.
  5. Test the affected UI or feature.
  6. Add screenshots for UI changes.
  7. Open a pull request with a clear before/after explanation.

Read the full contributor guide in CONTRIBUTING.md.

Looking for Contributors

Contributions are welcome.

Current areas where contributors can help:

  • React
  • Tailwind CSS
  • Monaco Editor
  • Search and Filtering
  • Accessibility
  • Developer Tooling
  • Documentation
  • Future AI Integrations

Check:

If you are looking to make your first open-source contribution, this project is beginner-friendly.

Good First Issues

Good first improvements include:

  • Add localStorage persistence
  • Add note deletion
  • Add copy success toast notification
  • Improve mobile sidebar behavior
  • Update README screenshots

Core Maintainers

  • Sayed Risat
  • Coming soon..

Support the Project

If you find CodeVault useful:

  • Star the repository
  • Share feedback
  • Open feature requests
  • Join Discussions
  • Contribute improvements

Every contribution helps improve the developer experience.

License

CodeVault is released under the MIT License.

About

A developer-focused code notebook for saving, organizing, searching, and reusing code snippets.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors