Skip to content

A comprehensive developer knowledge management system that allows you to save, organize, and search code snippets, commands, queries, notes, etc

Notifications You must be signed in to change notification settings

bugcacher/devstash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DevStash

A comprehensive developer knowledge management system that allows you to save, organize, and search code snippets, commands, queries, notes, etc.

System Architecture

DevStash Architecture

The DevStash ecosystem consists of:

  • VS Code Extension: Frontend interface for saving, deleting, and searching snippets
  • n8n Workflow: AI-powered backend processing and data orchestration
  • Algolia: Combined storage and search engine
  • Algolia MCP Server: Model Context Protocol server for seamless AI assistant integration with your Algolia indexes
  • AI Models: Intelligent content analysis and metadata extraction via OpenRouter

Prerequisites

Before setting up DevStash, ensure you have:

  • n8n instance (self-hosted or cloud)
  • Algolia account
  • OpenRouter API account (for AI processing)
  • VS Code

Installation Guide

Step 1: Set up Algolia

  1. Create an Algolia account
  2. Create a new application
  3. Create an index (e.g., stashes)
  4. Get your credentials:
    • Application ID
    • Search-Only API Key
    • Admin API Key (for n8n workflow)

Step 2: Set up OpenRouter or any other LLM model account Gemini/Claude/Chat GPT (AI Processing)

  1. Create an OpenRouter account
  2. Get your API key from the dashboard
  3. Ensure you have credits for AI model usage
  4. Note: The workflow uses models like google/gemini-2.0-flash-001 for intelligent content processing

Step 3: Deploy n8n Workflow

Follow the detailed instructions for complete workflow installation and deployment

Step 4: Install VS Code Extension

Follow the detailed instructions for complete vs code extension installation and configuration.

Usage

Saving Snippets

  1. Select code in VS Code
  2. Search for Devstash: Save command in command palette or press Ctrl+Alt+S (Windows/Linux) or Cmd+Opt+S (Mac)
  3. Snippet is automatically saved and indexed
Screenshot 2025-07-26 at 5 19 12 PM

Searching Snippets

  1. Search for Devstash: Search command in command palette or press Ctrl+Alt+D (Windows/Linux) or Cmd+Opt+D (Mac)
  2. Type your search query
  3. Click on snippet to copy to clipboard
Screenshot 2025-07-26 at 5 20 21 PM

Future Roadmap

Links

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.

About

A comprehensive developer knowledge management system that allows you to save, organize, and search code snippets, commands, queries, notes, etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published