qmetrics.net

Prism

Lightweight syntax highlighting library for the web

Frameworks & PlatformsDesktop/CLI app
Prism screenshot

Prism highlights code in the browser or on Node.js using language-xxxx classes on code elements, with many optional language packs.

Overview

Prism is a syntax highlighting library spun off from the Dabblet project. It emphasizes small core size, semantic markup with code inside pre elements, and language identification through language-xxxx or lang-xxxx classes as recommended for HTML5.

The core is designed to stay around 2KB minified and gzipped, with each additional language definition adding a few hundred bytes. Prism works with automatic highlighting on page load or manual highlighting through its JavaScript API when Prism.manual is set. An Autoloader plugin can fetch languages from CDNs such as cdnjs, jsDelivr, or UNPKG.

Developers can install Prism via npm for bundlers or require it in Node.js to produce highlighted HTML strings for static generation. The loadLanguages utility loads extra grammars on the server, while babel-plugin-prismjs is recommended for bundlers to include only selected languages. Language inheritance allows sharing a language class on a common ancestor or on html or body for a default.

Hundreds of languages are listed in the documentation with aliases for use in class names. Plugins extend behavior for tasks such as showing invisibles or handling unescaped markup when needed.

Key features

  • Small gzipped core
  • language-xxxx class convention
  • Automatic or manual highlighting
  • Autoloader CDN plugin
  • npm and bundler integration
  • Node.js static HTML highlighting
  • Language inheritance on ancestors
  • Extensive language definitions

Use cases

  • Code blocks on documentation sites
  • Blog syntax highlighting
  • Server-side highlighted HTML
  • Bundled minimal language sets
  • Meta highlighting of Prism itself

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT