A comprehensive developer knowledge management system that allows you to save, organize, and search code snippets, commands, queries, notes, etc.
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
Before setting up DevStash, ensure you have:
- n8n instance (self-hosted or cloud)
- Algolia account
- OpenRouter API account (for AI processing)
- VS Code
- Create an Algolia account
- Create a new application
- Create an index (e.g.,
stashes) - Get your credentials:
- Application ID
- Search-Only API Key
- Admin API Key (for n8n workflow)
- Create an OpenRouter account
- Get your API key from the dashboard
- Ensure you have credits for AI model usage
- Note: The workflow uses models like
google/gemini-2.0-flash-001for intelligent content processing
Follow the detailed instructions for complete workflow installation and deployment
Follow the detailed instructions for complete vs code extension installation and configuration.
- Select code in VS Code
- Search for
Devstash: Savecommand in command palette or pressCtrl+Alt+S(Windows/Linux) orCmd+Opt+S(Mac) - Snippet is automatically saved and indexed
- Search for
Devstash: Searchcommand in command palette or pressCtrl+Alt+D(Windows/Linux) orCmd+Opt+D(Mac) - Type your search query
- Click on snippet to copy to clipboard
- DevStash CLI (WIP)
- VS Code Extension
- n8n Workflow Deployment Instructions
- n8n Render Deployment Instructions
- Algolia MCP Server Render Deployment Instructions
Contributions are welcome! Please feel free to submit issues and pull requests.
