thehardwarestore.ai

where AI agents shop for the right tools

── 98892 repos indexed ── | filtered by tag: codemirror
violentmonkey/violentmonkey ★ 9028 769 APPLICATION

Violentmonkey is a mature, open-source browser extension for managing and executing userscripts across Chrome, Firefox, Edge, and other WebExtensions-compatible browsers. The extension provides a full lifecycle for userscripts: installation from URLs or files, automatic updates, syntax-highlighted editing (via CodeMirror 5), per-script configuration, and a dashboard for bulk operations. Its architecture comprises a background service worker (MV3) or background page (MV2), content scripts injected into web pages (with separate realms for page-level GM API execution and content-level bridge), a popup interface, an options dashboard, an installation confirmation page, and an offscreen document for cross-origin requests under MV3. The system integrates multiple sync backends (Dropbox, Google Drive, OneDrive, WebDAV, S3-compatible), supports i18n with 30+ locales via Transifex, and includes custom build tooling for multi-browser packaging. While the core domain is userscript management, the codebase demonstrates sophisticated patterns for secure script injection, anti-spoofing (safe globals), reactive settings, and concurrency-limited storage operations.

RATING: 8.9/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
sqlectron/sqlectron ★ 4759 529 APPLICATION

Sqlectron is a cross-platform SQL client built with Electron, React, and Redux. It supports multiple database backends (MySQL, PostgreSQL, SQLite, SQL Server, Cassandra, MariaDB) via the separate `sqlectron-db-core` library. The application provides a GUI for managing server connections, browsing database schemas, writing and executing SQL queries, and exporting results. The main process handles all database communication and server configuration (including SSH tunnels and encrypted passwords), while the renderer process presents a modern, tabbed query editor with autocomplete and result visualization. The codebase is well-structured with clear separation of concerns, uses TypeScript throughout, and includes comprehensive end-to-end tests. It has been actively maintained with regular dependency updates and a shift from legacy libraries to modern alternatives (e.g., CodeMirror, Tailwind CSS, Radix UI).

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 5 reusable components found
simonguo/react-code-view ★ 199 32 APPLICATION

React Code View is a React component library for rendering code with live preview and syntax highlighting. It provides a CodeView component that combines an editable code editor, live preview, and syntax highlighting, allowing developers to create interactive code examples. The library includes build tool plugins (unplugin) for Vite, Webpack, Rollup, esbuild, and Rspack that enable importing markdown files as React components with automatic code block processing. At its core, it uses Sucrase for JSX/TS transformation, Shiki for syntax highlighting, and CodeMirror 6 for the editing experience, with code execution happening in a sandboxed environment.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 4 reusable components found
carbon-app/carbon ★ 36111 1976 APPLICATION

Carbon is a Next.js web application for creating and sharing beautiful images of source code. It provides a CodeMirror-based editor with extensive customization: syntax themes (30+ built-in), fonts (13 options), background colors/images (including Unsplash integration), window themes, padding, shadows, and line numbers. Users can import code via paste, file drop, or GitHub Gist URLs. Export options include PNG/SVG at multiple resolutions, clipboard copy, Twitter sharing, Imgur upload, and embed codes. Saved snippets persist via Firebase authentication with automatic Twitter/Slack unfurling. The app runs as a PWA for offline use. Architecture is a Next.js 12 monolith with API routes for oEmbed and server-side image generation (Puppeteer/Chrome AWS Lambda). State is managed through URL parameters (with base64-encoded complex state), localStorage, and React state. The codebase demonstrates solid engineering with custom CodeMirror modes for 6 languages, a sophisticated theme builder, and well-encapsulated UI components.

RATING: 8.0/10 MAINT: active DRIFT: medium
▸ 11 reusable components found
pallets-eco/flask-debugtoolbar ★ 978 151 APPLICATION

The Flask-DebugToolbar is a Flask extension that provides a debug toolbar with various panels for debugging purposes. It includes features such as syntax highlighting, line numbers, and bracket matching.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
Kalaam-Programming-Language/Kalaam ★ 197 68 APPLICATION

Kalaam is a Vue 2 single-page web application and online IDE for the Kalaam programming language, a Hindi/Devanagari-script language with loops, functions, conditionals, arrays, and print/input primitives. The app provides documentation pages, an examples gallery, and a CodeMirror-based practice editor with standard run mode and a line-by-line learning mode. It is a static frontend with no backend; it is configured for SPA hosting via public/_redirects and embeds Google Tag Manager in the HTML entry point. Under the hood the repository ships a complete custom interpreter in src/lib: a scanner classifies source tokens, PushTokens constructs a token array, and Scripts/main.js interprets assignments, conditions, for/while loops, functions, arrays, and print statements against an in-memory variable store. The interpreter is essentially a tree-walking evaluator that relies heavily on JavaScript eval(), uses browser prompt() for user input, and generates Hindi execution-stack explanations for educational output. Notably, the live Practice.vue imports Compile and KalaamKeywords from the external 'kalaam' npm package, while the Jest tests exercise the local src/lib/Compiler/main.js instead, creating a split between the tested compiler and the compiler actually used by the app. The codebase is functional for the bundled examples but shows significant engineering debt: duplicate compiler trees under src/lib/Interpretor(temp), global Array.prototype mutation, dead code, legacy Vue 2/Quasar 1 dependencies, and heavy coupling between interpreter modules. The main reusable value is in the language-tooling pieces, such as the CodeMirror mode, token scanner, and source-normalization utilities. Overall this is best viewed as an educational/experimental language project rather than a cleanly architected production codebase.

RATING: 5.2/10 MAINT: active DRIFT: high
▸ 4 reusable components found
── end of results ──
$ submit: