awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
code-hike avatar

code-hike/codehike

0
View on GitHub↗
5,365 stars·168 forks·TypeScript·MIT·2 vuescodehike.org↗

Codehike

Codehike est un framework de documentation basé sur React et un outil de walkthrough de code interactif. Il fonctionne comme un orchestrateur de contenu markdown qui transforme le markdown décoré en données structurées et en composants React, servant de couche de visualisation pour mettre en évidence des plages de code, des diffs et des erreurs de compilation.

Le projet se distingue par sa capacité à créer des expériences de "scrollycoding" et des tutoriels techniques étape par étape. Il propose des animations au niveau des tokens qui démontrent visuellement l'évolution de la logique entre les versions de code et fournit un système pour synchroniser l'état de l'UI avec la position de défilement du navigateur.

Le framework couvre un large éventail de capacités de visualisation, incluant la création de diaporamas de code, des mises en page en surbrillance et des blocs de code à onglets. Il supporte l'annotation détaillée via des tooltips, des callouts et des notes de bas de page, ainsi que des utilitaires fonctionnels comme des sélecteurs de langage, la transpilation de code et l'intégration de données de compilation en temps réel.

Le système utilise une validation basée sur des schémas pour garantir la sécurité des types et la cohérence des données extraites des fichiers markdown.

Features

  • Code Walkthroughs - Implements interactive, guided sequences specifically for explaining code snippets through scrollycoding and token-level animations.
  • Scrollycoding Walkthroughs - Syncs code block updates with the scroll position to create a step-by-step scrollycoding experience.
  • Interactive Annotations - Provides interactive custom components within code blocks for styled explanations and behavioral enhancements.
  • Content Schema Definitions - Utilizes schema-based validation to ensure type safety and structural consistency for data extracted from markdown files.
  • Content Orchestrators - Transforms decorated markdown into structured data and React components using schema-based validation.
  • Markdown-to-Component Mappings - Transforms decorated markdown elements into structured objects passed as props to components.
  • Prose-to-Code Linking - Connects specific text descriptions to corresponding lines of code through interactions like hovering.
  • Token Positional Mapping - Tracks the spatial coordinates of code tokens to animate transitions between different versions of a snippet.
  • Token Transition Animations - Calculates positional changes between two code snippets to create fluid visual animations as tokens move.
  • Code Syntax Visualizers - Provides a specialized visualization layer for highlighting code ranges, diffs, and compiler errors in web-based code blocks.
  • Markdown-to-Prop Mappings - Converts decorated markdown syntax into structured JavaScript objects passed as props to React components.
  • Content-Driven State Synchronization - Tracks the active content index to update visual elements automatically as the user interacts with a sequence.
  • Code Snippet Transitions - Transitions between code blocks at the token level to visually demonstrate how logic evolves across versions.
  • Code Line Highlighting - Visually emphasizes specific lines or tokens with custom colors to draw attention to key logic.
  • Code Block Annotations - Highlights specific lines or tokens within code blocks using language-specific comments to apply custom styles.
  • Syntax Highlighting - Transforms raw code into highlighted tokens using themes across many supported languages.
  • Scroll-to-Index Mappers - Links the active index of a content sequence to the browser scroll offset to trigger visual updates.
  • Token-Level Component Interpolation - Injects interactive components and metadata into syntax-highlighted code by treating tokens as individual renderable elements.
  • Documentation Frameworks - Provides a framework for building content-heavy documentation sites with interactive code walkthroughs using React and Markdown.
  • Source File Injections - Reads external source files during the build process and embeds their content directly into markdown blocks.
  • Content Schema Validation - Enforces type safety and structural consistency on markdown-extracted data using predefined data schemas.
  • Source Code Hyperlinkers - Creates interactive hyperlinks on specific code tokens using manual definitions or regular expressions.
  • Compiler Data Integration - Displays real-time compiler information and errors directly within code blocks.
  • Comment Extraction Engines - Parses custom markers within source code comments to apply styles and behavioral enhancements to the rendered output.
  • Code Folding - Allows hiding specific segments of code behind a clickable ellipsis to reduce visual noise.
  • Code - Inserts explanatory notes directly into code blocks that link specific lines to corresponding descriptions.
  • Code Diff Visualizations - Highlights inserted and deleted lines using color-coded markers to illustrate differences between code versions.
  • Code Diff Visualizers - Highlights inserted and deleted lines to visually represent changes between code versions.
  • Code Language Pickers - Displays a picker that allows users to toggle between multiple language implementations of the same block.
  • Code Presentation Themes - Overrides the default display of the code container and tokens to implement custom themes and layouts.
  • Collapsible Code Sections - Hides and reveals specific sections of a code block to simplify long examples.
  • Compiler Data Visualizations - Integrates TypeScript type information and compiler error messages directly into code blocks for type-aware documentation.
  • Tooltips - Shows rich content tooltips when hovering over specific tokens in the code.
  • Code Footnotes - Links specific lines of code to descriptive notes appearing below the code block.
  • Code Slideshows - Displays content and code walkthroughs as a series of slides for sequential technical tutorials.
  • Code Spotlight Layouts - Provides a spotlight layout that guides users through implementation by pairing feature lists with a persistent code block.
  • Interactive Tooltips - Displays interactive popovers containing rich content when hovering over specific code tokens.
  • Language Implementation Switchers - Provides a picker to swap the displayed code between different programming languages.
  • Code Callouts - Inserts explanatory notes within code blocks that reference specific lines or tokens.
  • Code Visibility Toggles - Implements visual controls to dim non-essential code and keep selected lines bright.
  • Tabbed Code Blocks - Groups multiple related code blocks into a tabbed interface for easy switching.
  • Regex-Based Selection - Uses regular expressions to identify and select specific text patterns within code blocks for styling and annotation.
  • Interactive Documentation Frameworks - Provides a comprehensive framework for building interactive technical tutorials and documentation using React and Markdown.

Historique des stars

Graphique de l'historique des stars pour code-hike/codehikeGraphique de l'historique des stars pour code-hike/codehike

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Codehike

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Codehike.
  • pomber/code-surferAvatar de pomber

    pomber/code-surfer

    6,378Voir sur GitHub↗

    Code Surfer is a web-based code slide framework and presentation tool designed for creating technical slides. It functions as a code animation library and diff visualizer that enables the rendering of source code with animated transitions, zooming, and highlighting. The project focuses on visualizing code evolution through state morphing and diff animations. It uses coordinate-based view transitions and smooth scrolls to guide viewers through changes between different code versions across a slide deck. The framework provides capabilities for attention management via line-level focus, section

    JavaScriptcodedeckkeynote
    Voir sur GitHub↗6,378
  • conorhastings/react-syntax-highlighterAvatar de conorhastings

    conorhastings/react-syntax-highlighter

    4,663Voir sur GitHub↗

    react-syntax-highlighter is a component for rendering source code with syntax highlighting in React applications. It acts as a wrapper for the PrismJS and Highlight.js engines to provide formatted code display and language-specific colors. The project provides a customizable code block renderer that supports custom DOM injection, line numbering, and inline styling. It allows users to replace default HTML tags with custom React components to control how code is injected into the document object model. The library covers code presentation management through visual themes and line numbering. It

    JavaScript
    Voir sur GitHub↗4,663
  • markdoc/markdocAvatar de markdoc

    markdoc/markdoc

    8,060Voir sur GitHub↗

    Markdoc is a documentation content framework that extends standard Markdown with custom tags, typed schemas, and reusable components, parsing content into an abstract syntax tree and rendering it as React elements or HTML. It provides a structured authoring system where documents are processed through an AST-based pipeline, enabling validation, transformation, and flexible output generation. The framework distinguishes itself through a schema-driven validation pipeline that checks document structure and attribute values against defined rules, and a pluggable renderer architecture that accepts

    TypeScriptauthoringdocumentationmarkdoc
    Voir sur GitHub↗8,060
  • alecthomas/chromaAvatar de alecthomas

    alecthomas/chroma

    4,960Voir sur GitHub↗

    Chroma is a syntax highlighter written in Go that converts raw source code into colorized text or HTML. It identifies programming languages and tokens using language-specific lexers to produce highlighted output for various environments. The project utilizes a theme-driven colorization system that decouples token types from final colors through an intermediate style mapping layer. This allows for custom code theming by mapping specific token categories to foreground and background colors. The system covers language identification, terminal text formatting for ANSI-compatible viewers, and web

    Goconsolegogolang
    Voir sur GitHub↗4,960
Voir les 30 alternatives à Codehike→

Questions fréquentes

Que fait code-hike/codehike ?

Codehike est un framework de documentation basé sur React et un outil de walkthrough de code interactif. Il fonctionne comme un orchestrateur de contenu markdown qui transforme le markdown décoré en données structurées et en composants React, servant de couche de visualisation pour mettre en évidence des plages de code, des diffs et des erreurs de compilation.

Quelles sont les fonctionnalités principales de code-hike/codehike ?

Les fonctionnalités principales de code-hike/codehike sont : Code Walkthroughs, Scrollycoding Walkthroughs, Interactive Annotations, Content Schema Definitions, Content Orchestrators, Markdown-to-Component Mappings, Prose-to-Code Linking, Token Positional Mapping.

Quelles sont les alternatives open-source à code-hike/codehike ?

Les alternatives open-source à code-hike/codehike incluent : pomber/code-surfer — Code Surfer is a web-based code slide framework and presentation tool designed for creating technical slides. It… conorhastings/react-syntax-highlighter — react-syntax-highlighter is a component for rendering source code with syntax highlighting in React applications. It… markdoc/markdoc — Markdoc is a documentation content framework that extends standard Markdown with custom tags, typed schemas, and… alecthomas/chroma — Chroma is a syntax highlighter written in Go that converts raw source code into colorized text or HTML. It identifies… shuding/nextra — Nextra is a documentation framework for Next.js that functions as an MDX static site generator. It enables the… blinkfox/hexo-theme-matery — A responsive Material Design theme for static blogs built with the Hexo framework. It functions as a comprehensive…