awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Self-Hosted Code Snippet Managers

Ranking updated Jun 30, 2026

For a code-snippet manager, the strongest matches are pawelmalak/snippet-box (Snippet Box is a self-hosted app for organizing code), isagalaev/highlight.js (highlight) and react-syntax-highlighter/react-syntax-highlighter (This is a React syntax highlighting component, not a). codemirror/codemirror and prismjs/prism round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Open-source platforms for storing, organizing, and searching personal code snippets on your own infrastructure.

Self-Hosted Code Snippet Managers

Find the best repos with AI.We'll search the best matching repositories with AI.
  • pawelmalak/snippet-boxpawelmalak avatar

    pawelmalak/snippet-box

    1,084View on GitHub↗

    Snippet-box is a self-hosted web platform designed for the management and organization of personal code collections. It functions as a containerized knowledge base that allows users to store, retrieve, and document reusable code fragments within a centralized system. The application provides tools for snippet management, including the ability to assign custom tags, pin critical items for rapid access, and filter collections by keywords or programming languages. To ensure readability, the platform incorporates syntax highlighting for various programming languages and offers a raw text view for

    Snippet Box is a self-hosted app for organizing code snippets with support for multiple languages, matching the core category, though its simple feature set likely lacks some of the specific tools like full-text search or a REST API that you may be looking for.

    TypeScriptSyntax Highlighting
    View on GitHub↗1,084
  • isagalaev/highlight.jsisagalaev avatar

    isagalaev/highlight.js

    24,937View on GitHub↗

    highlight.js is a JavaScript syntax highlighter and client-side code formatter that transforms plain text source code into highlighted HTML for web display. It provides syntax highlighting across a wide variety of programming languages. The library includes an automatic language detector that identifies the programming language of a code block to apply the correct highlighting rules without manual tagging. It is designed for web worker compatibility, allowing the highlighting process to run in background threads to prevent the browser interface from freezing during the processing of large vol

    highlight.js is a client-side syntax highlighting library, not a self-hosted application to store, organize, or search code snippets — it provides only the highlighting component, missing all core management and sharing features.

    JavaScriptSyntax HighlightersSyntax HighlightersSyntax Highlighting
    View on GitHub↗24,937
  • react-syntax-highlighter/react-syntax-highlighterreact-syntax-highlighter avatar

    react-syntax-highlighter/react-syntax-highlighter

    4,638View on GitHub↗

    react-syntax-highlighter is a React component that renders source code with language-specific syntax coloring. It wraps the Prism and Highlight.js syntax highlighting libraries, tokenizing source code using their language grammars and mapping each token to a styled React element. The component operates in two styling modes: inline style objects applied directly to each token, or CSS class names that can be themed via external stylesheets. This dual-mode approach makes the highlighter portable across environments where CSS class injection may or may not be available. The component is built aro

    This is a React syntax highlighting component, not a self-hosted snippet manager — it provides only code rendering, not storage, organization, search, or any server-side features needed for the intended use.

    JavaScriptSyntax HighlightersSyntax Highlighting ComponentsSyntax Highlighting Engines
    View on GitHub↗4,638
  • codemirror/codemirrorcodemirror avatar

    codemirror/CodeMirror

    27,246View on GitHub↗

    CodeMirror is a browser-based code editor and extensible text editor framework. It functions as a programmable interface for rendering code and text with support for numerous programming languages, serving as a reusable component for web-based integrated development environments. The project provides a syntax highlighting engine that applies visual styles to text based on programming language rules. It includes a programming API and a CSS theming system to customize the editor's appearance and extend its functionality with custom behaviors. The framework covers capabilities for embedding tex

    CodeMirror is a code editor component, not a self-hosted snippet manager application—it provides syntax highlighting and editing but lacks the storage, search, and organizational features needed for managing snippets.

    JavaScriptSyntax HighlightingSyntax HighlightingSyntax Highlighting Engines
    View on GitHub↗27,246
  • prismjs/prismPrismJS avatar

    PrismJS/prism

    13,008View on GitHub↗

    Prism is a JavaScript syntax highlighter and web-based code formatter. It functions as an extensible syntax engine designed to colorize and format code blocks on web pages, making various programming languages easier to read. The project processes raw code strings into styled HTML elements for use in frontend content rendering, technical documentation, and static site generation. It provides a modular system for adding custom language definitions and highlighting rules to a web-based code viewer.

    Prism is a syntax highlighting library for rendering code on web pages, not a full application for storing, organizing, or searching snippets — it would be one component inside such a tool, not the tool itself.

    JavaScriptSyntax HighlightersSyntax Highlighting Engines
    View on GitHub↗13,008
  • highlightjs/highlight.jshighlightjs avatar

    highlightjs/highlight.js

    24,825View on GitHub↗

    Highlight.js is a syntax highlighting library that automatically detects and applies color-coded styling to source code blocks within web pages. It functions as a language-agnostic formatting engine, utilizing a modular processor that applies consistent visual themes to diverse programming languages based on their specific grammatical rules. By decoupling the core parsing logic from language-specific definitions, the library provides a unified execution environment that operates without requiring internal knowledge of the target language. The project is distinguished by its modular architectu

    Highlight.js is a syntax highlighting library, not a self-hosted snippet manager—it can format code blocks on a page but does not store, organize, or search snippets on its own.

    JavaScriptSyntax HighlightersSyntax Highlighting
    View on GitHub↗24,825
  • manticoresoftware/manticoresearchmanticoresoftware avatar

    manticoresoftware/manticoresearch

    11,819View on GitHub↗

    Manticoresearch is a high-performance search engine and database designed for indexing and retrieving large datasets. It functions as a full-text search engine, a vector search database, and a SQL-based search database, providing a distributed search cluster architecture. The system provides an alternative to the Elasticsearch stack, offering a compatible API for indexing and searching structured and unstructured data. It distinguishes itself by supporting multiple retrieval methods, including vector matching for similarity search, geospatial queries, and traditional full-text ranking. The p

    Manticore Search is a high-performance search engine and database, not a self-hosted snippet manager app — it could power snippets search but lacks the snippet-specific UI, tagging, sharing, and clipboard features the visitor expects.

    C++Full Text SearchFull-Text Search EnginesFull-Text Search Indexes
    View on GitHub↗11,819
  • blevesearch/bleveblevesearch avatar

    blevesearch/bleve

    10,986View on GitHub↗

    Bleve is a search indexing engine library written in Go, designed to provide full-text search and document retrieval capabilities for embedded application data. It functions as a framework for indexing structured or unstructured information, allowing developers to build searchable collections that support complex query logic and data analysis. The engine distinguishes itself through a pluggable analysis pipeline that normalizes text before indexing, alongside support for vector similarity search to identify semantically related content. It utilizes finite-state transducer automata for efficie

    Bleve is a full-text search engine library, not a self-hosted code snippet manager—it provides indexing and search capabilities you could embed in such an app, but it does not offer snippet storage, syntax highlighting, tagging, sharing, or a REST API out of the box.

    GoFull Text SearchFull-Text Search Engines
    View on GitHub↗10,986
  • oramasearch/oramaoramasearch avatar

    oramasearch/orama

    10,436View on GitHub↗

    Orama is a search engine and vector database that provides full-text indexing, geospatial calculations, and semantic vector storage. It functions as an LLM retrieval engine designed to provide grounded context to language models for conversational interfaces. The project implements hybrid search by combining dense vector embeddings with inverted keyword indices to retrieve documents based on both semantic meaning and exact text matches. It utilizes a WebAssembly module to execute search logic across different JavaScript environments and platforms. The system covers a broad range of retrieval

    Orama is a full-text search engine and vector database, not a ready-made code snippet manager — it provides the search infrastructure but lacks the snippet-specific features like storage, syntax highlighting, or clipboard management that this search targets.

    TypeScriptFull Text SearchFull-Text Search Engines
    View on GitHub↗10,436
  • nvim-treesitter/nvim-treesitternvim-treesitter avatar

    nvim-treesitter/nvim-treesitter

    13,970View on GitHub↗

    This project provides an integration of Tree-sitter into the Neovim editor to enable structural code analysis. It serves as a framework for structural code navigation, context-aware syntax highlighting, and the management of language-specific parsers. The system distinguishes itself through a multi-language injection handler that identifies and parses embedded languages within a single document. It uses a dedicated parser manager to install, update, and remove grammar definitions and their associated query files. The tool covers several capability areas including incremental text selection,

    This is a Neovim plugin that provides advanced syntax highlighting and code analysis via Tree-sitter, not a self-hosted application for storing, organizing, and searching code snippets with features like tagging, full-text search, or a REST API.

    Tree-sitter QuerySyntax HighlightingSyntax Highlighting Engines
    View on GitHub↗13,970
  • prabhatsharma/zincprabhatsharma avatar

    prabhatsharma/zinc

    17,856View on GitHub↗

    Zinc is a high-performance full-text search engine written in Go. It provides a schema-less document index that organizes arbitrary datasets into searchable structures without requiring a predefined data format. The engine features an API compatible with Elasticsearch for indexing and querying data, which facilitates the ingestion of single and bulk records. It is designed as an in-process search engine that embeds indexing and retrieval logic within a single binary to operate with minimal system resource overhead. The system includes a built-in web-based management interface for executing s

    Zinc is a self-hosted full-text search engine, not a code snippet manager—it provides an API and indexing for arbitrary data but lacks snippet‑specific features like syntax highlighting, tagging, clipboard management, or code sharing.

    GoFull Text SearchFull-Text Search Engines
    View on GitHub↗17,856
  • simonbs/runestonesimonbs avatar

    simonbs/Runestone

    3,051View on GitHub↗

    Runestone is a web-based code editor component and rendering engine designed for browser-based text editing. It functions as a customizable interface that handles the visual representation of code, including line numbering, indentation, and line wrapping. The project features a rule-based syntax highlighting engine that applies colors to text ranges based on language grammar definitions. It also includes a regex-based text search engine that locates specific patterns and applies visual highlights to matching character offsets. The editor manages text input through automatic character pairing

    Runestone is a web-based code editor component with syntax highlighting and text search, but it is not a self-hosted snippet management application — it's a building block you would embed in such a tool, not the tool itself.

    SwiftSyntax HighlightersSyntax Highlighting Engines
    View on GitHub↗3,051
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
pawelmalak/snippet-box1.1KTypeScriptMITApr 5, 2023
isagalaev/highlight.js24.9KJavaScriptBSD-3-ClauseOct 27, 2025
react-syntax-highlighter/react-syntax-highlighter4.6KJavaScriptmitFeb 7, 2026
codemirror/codemirror27.2KJavaScriptMITApr 16, 2026
prismjs/prism13KJavaScriptMITJun 22, 2026
highlightjs/highlight.js24.8KJavaScriptbsd-3-clauseOct 27, 2025
manticoresoftware/manticoresearch11.8KC++GPL-3.0Jun 16, 2026
blevesearch/bleve11KGoapache-2.0Feb 19, 2026
oramasearch/orama10.4KTypeScriptNOASSERTIONFeb 13, 2026
nvim-treesitter/nvim-treesitter14KTree-sitter QueryApache-2.0Apr 3, 2026

Related searches

  • a self-hosted pastebin
  • a snippet manager and expander for code editors
  • an open source tool for sharing snippets
  • Code snippet manager
  • a self-hosted bookmark manager
  • a bookmark manager server
  • a self-hosted AI coding assistant
  • a self hosted application for personal notes