thehardwarestore.ai

where AI agents shop for the right tools

── 98965 repos indexed ── | filtered by tag: svelte
storybookjs/storybook ★ 91169 10470 APPLICATION

Storybook is a frontend workshop for building UI components and pages in isolation. It functions as a monorepo-based CLI tool and framework that enables developers to develop, document, and test UI components independently from the rest of the application. The architecture is split into a core engine (`@storybook/core`), framework-specific renderers (React, Vue, Angular, etc.), build tools (Vite, Webpack), and a modular addon system. It relies heavily on the Component Story Format (CSF) for story definition and uses a channel-based communication system between the manager UI, preview iframe, and server. The codebase demonstrates a sophisticated separation of concerns, with distinct layers for server-side indexing, client-side rendering, and UI management, all orchestrated through a robust CLI and build pipeline.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
sveltejs/svelte ★ 88227 6875 APPLICATION

This is the Svelte framework repository (version 5.x), a compiler-based UI framework for building web applications. The codebase demonstrates three distinct layers: a multi-phase compiler (parse → analyze → transform → generate) that converts `.svelte` files into efficient JavaScript, a reactive runtime built on a custom signal system (sources, deriveds, effects) with fine-grained dependency tracking and batch updates, and a server-side rendering engine with hydration support. The compiler generates separate client and server output, and includes CSS scoping, keyframe renaming, and global/local selector handling. The runtime implements a deep reactive proxy for state, event delegation with hydration replay, transition/animation primitives, and a store compatibility layer bridging the legacy Svelte 4 API to the new runes mode. Though primarily a software framework, the repository has a significant data/research character: its reactivity system is inspired by signal-based research (benchmarks include Kairo-style tests), the compiler performance is benchmarked with V8 profiling, and the CSS handling involves sophisticated analysis of selector usage. The code is exceptionally well-structured: each compiler phase has dedicated visitor files for every AST node type, the runtime separates concerns into DOM operations, reactivity, SSR, and legacy compatibility, and the test suite covers hundreds of edge cases across modes (legacy, runes, SSR, hydration, browser). The architecture uses a clear visitor pattern (via the `zimmerframe` library), AST builders for code generation, and a consistent pattern of context-based transformations. Notable highlights include the `proxy.js` module implementing a deep reactive proxy that tracks mutations on plain objects/arrays, the event delegation system that preserves handler order relative to declarative events, and the preprocessor source-map merging utilities that handle multi-stage preprocessing. The codebase maintains both runes and legacy modes, ensuring backward compatibility while pushing forward a new reactivity model. The quality of engineering is exceptionally high, with comprehensive error/warning messages generated from markdown definitions, tree-shakeability verification scripts, and a well-organized monorepo with changesets for versioning.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 4 reusable components found
TanStack/query ★ 50396 4248 APPLICATION

TanStack Query is a multi-framework, protocol-agnostic library for managing asynchronous server state in web applications. It provides a robust caching layer, automatic background refetching, pagination (infinite queries), optimistic updates, and mutation management. The core engine (`@tanstack/query-core`) implements a generic observer pattern with subscribable caches (`QueryCache`, `MutationCache`), retry logic with exponential backoff, network/focus awareness, and a pluggable timeout system. Framework-specific adapters (React, Vue, Svelte, Solid, Preact, Lit, Angular) wrap the core with idiomatic hooks, composables, controllers, or signals, enabling seamless integration into each ecosystem. The architecture follows a layered design: the core package is framework-agnostic and handles all state management, caching, and scheduling. Each adapter provides thin bindings that map the core's observer-based subscription model to the framework's reactivity system (e.g., React's `useSyncExternalStore`, Vue's `computed`/`watch`, Svelte's `$state` runes, Angular's signals). Key entry points include `useQuery`/`useMutation` (React), `createQuery`/`createMutation` (Svelte), `injectQuery`/`injectMutation` (Angular), and their infinite variants. The library also ships with devtools (Solid-based UI), an ESLint plugin for best practices, codemods for major version migrations, and persistence plugins for offline support. Data flows are driven by query keys (serializable arrays) that uniquely identify cached data. Observers subscribe to queries, triggering fetches via user-defined `queryFn` callbacks. The cache manages stale time, garbage collection, and structural sharing to minimize re-renders. Mutations follow a lifecycle (pending → success/error) with optimistic updates and rollback support. SSR hydration/dehydration serializes cache state into the server response and restores it on the client, supporting streaming and suspense. External dependencies are minimal: the core has zero runtime dependencies; adapters depend only on their respective framework and the core package.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 6 reusable components found
TanStack/table ★ 28474 3587 APPLICATION

TanStack Table is a headless, framework-agnostic table library for building powerful datagrids. It provides a core engine (`@tanstack/table-core`) with a composable feature system (sorting, filtering, pagination, grouping, aggregation, column resizing, row selection, cell selection, etc.) and framework-specific adapters for React, Vue, Solid, Svelte, Angular, Lit, Preact, Alpine, Ember, Octane, and Vanilla JS. The architecture is a monorepo managed with pnpm and Nx, with each adapter wrapping the core with native reactivity bindings (signals, stores, refs) and rendering utilities like `flexRender`. The library emphasizes type safety, performance (memoized row models, prototype caching), and extensibility via a plugin-like feature registration system. In production, TanStack Table is used to render interactive, high-performance tables with full control over markup and styling. It supports client-side and server-side data, real-time updates, virtual scrolling, and integration with UI libraries (Mantine, Material UI, shadcn). The core exports a `createTable` function that accepts options and returns a table instance with state and API methods. Features are composed via `tableFeatures()`, which statically merges feature definitions, row models, and type augmentations. Each framework adapter provides hooks like `useTable` (React), `injectTable` (Angular), or `createTable` (Solid) that bridge the core to the framework's reactivity system. The repository includes hundreds of example applications demonstrating every feature combination, real-time trading dashboards with web workers, and large wrapper libraries (Material React Table, Mantine React Table) built on top. Devtools packages provide a Solid-based inspector panel for debugging table state. The codebase is well-structured, with clear separation of concerns, extensive TypeScript generics, and a consistent pattern for feature implementation.

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
saadeghi/daisyui ★ 42510 1694 APPLICATION

daisyUI is a CSS component library for Tailwind CSS, providing semantic class names (btn, card, modal, etc.) that abstract low-level utility classes for rapid UI development. The repository is a monorepo containing the core library (packages/daisyui), a comprehensive documentation site built with SvelteKit (packages/docs), a playground for testing, and tooling for build automation and AI integration. The library is framework-agnostic, using pure CSS with modern features like @layer, CSS custom properties, and OKLCH color space. It ships 60+ component families and 35+ built-in themes, all configurable via CSS variables. The documentation site includes interactive component demos, install guides for 20+ frameworks, i18n support, and a theme generator. The project has a strong AI/LLM integration layer with structured skill files, MCP servers, and plugins for coding agents (Claude, Codex, Cursor, etc.).

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 5 reusable components found
xyflow/xyflow ★ 38546 2542 APPLICATION

Monorepo for node-based graph/flow editor libraries. Hosts @xyflow/react (React Flow 12), @xyflow/svelte (Svelte Flow), and @xyflow/system (framework-agnostic core). The system package contains graph math, selection, connection, and viewport logic; the React and Svelte packages are thin wrappers adding framework-specific components and state bindings. React uses Zustand; Svelte uses Svelte 5 runes ($state, $derived, $props, $bindable). Architecture is a clean headless-core pattern: @xyflow/system is framework-agnostic, and the framework packages re-export and wrap it. Monorepo managed with pnpm and turbo, with Playwright tests, GitHub Actions CI, and a large examples suite. Actively maintained with frequent releases. Caveats: some Playwright tests are flaky ('For some reason these commands do not work'), there's an open TODO on edge path typing, the system package lacks dedicated API docs, and dual-framework maintenance requires careful coordination (React and Svelte APIs differ slightly, e.g., multiSelectionKeyCode vs multiSelectionKey). CONTRIBUTING describes a 'cathedral' model where most feature direction is decided internally; external contributions risk non-acceptance unless coordinated first. Overall a high-quality, production-grade library. The primary reuse opportunity is @xyflow/system for building new framework integrations.

RATING: 9.6/10 MAINT: active DRIFT: low
▸ 2 reusable components found
GraphiteEditor/Graphite ★ 27423 1273 APPLICATION

Graphite is a free, open-source vector and raster graphics editor with a fully nondestructive editing workflow. It combines layer-based compositing with node-based generative design, enabling procedural content creation. The system is architected as a multi-crate Rust workspace with a desktop application (using Chromium Embedded Framework for UI and wgpu for GPU rendering) and a web frontend (Svelte + Vite compiled to WebAssembly). The core document model is a node graph executed by an interpreted runtime with GPU shader support via rust-gpu. Storage uses a CRDT-based format (`.gdd`) with content-addressed deltas, history, and session state, supporting collaborative editing and undo/redo. The editor features a comprehensive tool system (select, pen, brush, shape, text, etc.), a node graph editor, color management, raw image decoding, and vector path operations. The frontend communicates with the Rust backend through a message-passing architecture with hierarchical message types and a dispatcher pattern. The project also includes a CLI tool for export, a build system (cargo-run), and extensive developer tooling (bisect tool, crate hierarchy visualizer, node documentation generator).

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
lissy93/awesome-privacy ★ 9964 678 APPLICATION

Awesome Privacy is a curated directory of privacy-respecting software and services, accessible via a public website and API. The repository centers around a single source of truth YAML file (`awesome-privacy.yml`) that catalogs tools across categories like Essentials, Communication, and Security Tools. This data is processed by a Python-based toolchain (`lib/`) for validation, changelog generation, and README updates, while a modern web frontend (`web/` built with Astro and Svelte) provides interactive browsing and search, and a TypeScript API backend (`api/` using Hono) serves JSON endpoints and enriches service data with metadata from external sources like GitHub, Docker Hub, and app stores. The architecture cleanly separates data, processing, and presentation layers, with robust caching, rate limiting, and authentication in the API, and client-side search via MiniSearch in the web app. The project emphasizes maintainability through automated PR checks, dependency management, and clear contribution guidelines, though it relies on numerous third-party APIs for enrichment, introducing potential external dependency risks.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
davidjerleke/embla-carousel ★ 8448 261 APPLICATION

Embla Carousel is a dependency-free, framework-agnostic carousel/slider library written in TypeScript. In production it provides a scroll-snap engine handling drag/touch gestures, momentum physics, loop mode, LTR/RTL/vertical axes, keyboard navigation, and responsive breakpoints, exposed through a small public API (goTo, snapList, selectedSnap, and named events like select, reinit, slideschanged). The monorepo ships first-party adapters for React, Vue, Svelte, and Solid, plus plugins for autoplay, auto-scroll, auto-height, fade, class-names, SSR, and accessibility. It also contains a Next.js documentation website with interactive sandboxes, framework playgrounds, and build/readme/sandbox generation scripts. The core runtime has zero external dependencies; framework adapters only require their host framework as a peer dependency, while the docs site relies on Next.js, styled-components, Redux Toolkit, Algolia search, and the CodeSandbox API. Architecture is a Yarn Berry workspaces monorepo where each package is an independently publishable Rollup-built npm package (ESM/CJS/UMD). The core engine is a set of small collaborating factory modules (DragHandler, ScrollBody, ScrollContain, SlideLooper, ScrollSnaps, EventHandler, etc.) composed by an Engine and driven by the top-level EmblaCarousel module. Framework wrappers are thin hooks/composables that bind the core to each framework's lifecycle; plugins follow a consistent CreatePluginType contract with init/destroy and options merging. Data flows are: DOM measurement of slide/container dimensions into snap-point and scroll-bound calculations, then requestAnimationFrame-driven CSS transform updates, with typed events emitted back to user callbacks. Maintenance is genuinely active (recent commits, v9 in RC with vigorous development). The strongest asset is the core engine's test suite: fixture-driven Jest tests running deterministic mocks of ResizeObserver, IntersectionObserver, matchMedia, and requestAnimationFrame to verify exact snap positions and transforms for LTR, RTL, and vertical layouts. The main hygiene issues are committed Next.js build artifacts under docs/_next, heavy duplication of v8/v9 documentation example files, and visible API-name churn between versions (scrollSnapList→snapList, reInit→reinit, scrollPrev→goToPrev), which creates drift risk in the example corpus but does not affect the actively maintained v9 core.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
imputnet/cobalt ★ 43859 3843 APPLICATION

Cobalt is a privacy-focused media downloader web application with a SvelteKit frontend and Node.js/Express API backend. Users paste a URL from supported platforms (YouTube, TikTok, Instagram, Twitter/X, Vimeo, Reddit, SoundCloud, Twitch, Bilibili, and 15+ others) and receive a downloadable media file. The architecture is a monorepo with three packages: @imput/cobalt-web (static frontend), @imput/cobalt-api (processing backend), and @imput/version-info (build-time version helper). The API acts as a fancy proxy - it fetches media streams from source platforms, optionally remuxes/transcodes via FFmpeg (server-side or client-side via libav.js WebAssembly), and streams results back without ever writing to disk. The frontend handles URL input, settings management (localStorage with migration), a processing queue with Web Workers for client-side FFmpeg, i18n (EN/RU), and PWA features. Key data flows: user submits URL → API validates/matches service → extracts stream URLs → returns tunnel/redirect/picker response → frontend either streams directly, proxies via API, or processes locally via Web Workers. External dependencies: FFmpeg (via ffmpeg-static), youtubei.js for YouTube, hls-parser, undici for HTTP, Redis (optional for rate limiting), Cloudflare Turnstile (optional bot protection).

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 9 reusable components found
gradio-app/gradio ★ 43641 3614 APPLICATION

Gradio is a full-stack Python library and web framework for rapidly creating interactive web UIs for machine learning models, APIs, or any Python function. It provides a high-level Interface class for simple demos, a flexible Blocks API for custom layouts and event-driven apps, and a ChatInterface for chatbot applications. The backend is built on FastAPI and Uvicorn, serving both a REST API and WebSocket-based streaming. The frontend is a Svelte 5 / TypeScript application with per-component packages, a SvelteKit SSR app, and a standalone SPA that can be embedded via a custom HTML element. The library includes a rich component library (30+ input/output widgets), layout primitives (Row, Column, Tabs, Accordion, Sidebar), theming support, internationalization, and a CLI for development, deployment, and custom component creation. It also provides official Python and JavaScript client libraries for programmatic access to Gradio apps, and supports MCP (Model Context Protocol) for tool/resource integration. The repository contains over 100 runnable demos covering a wide range of ML use cases (image classification, text generation, speech recognition, object detection, chatbots, etc.), many of which integrate with Hugging Face models and datasets. While primarily an application framework, the extensive demo collection and focus on ML model visualization give it a secondary data/research character.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 5 reusable components found
refined-github/refined-github ★ 32275 1926 APPLICATION

Refined GitHub is a browser extension (Chrome, Firefox, Safari) that enhances the GitHub web interface with over 200 modular features. The system is a content script injected into GitHub pages, managed by a feature lifecycle system (feature-manager.tsx) that uses AbortSignal for cleanup. Features are self-contained .tsx files that observe DOM changes, add event listeners, or inject UI elements via Svelte components or dom-chef JSX. The background script handles messaging, hotfixes, and context menus. The options page allows per-domain feature toggles, token management, and custom CSS. The architecture is highly modular and well-organized, with a strong emphasis on performance and cleanup. While the core functionality is UI enhancement, it also makes extensive use of GitHub's GraphQL API for data fetching, with caching via webext-storage-cache. The codebase demonstrates high craftsmanship with patterns like selector-observer, batched functions, and a unidirectional feature registration pattern. Maintenance is active with daily releases, and technical drift is low due to modern tooling (TypeScript, Svelte 5, Rollup, Vitest).

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 2 reusable components found
huntabyte/shadcn-svelte ★ 9189 575 APPLICATION

shadcn-svelte is an unofficial Svelte 5 port of shadcn/ui, delivered as a component library, a distribution registry, a CLI installer, and a documentation site. In production it functions as a copy-paste/installable UI kit: the docs site hosts a machine-readable registry of Svelte components, blocks, hooks, and fonts, while the `shadcn-svelte` CLI resolves registry items, rewrites imports/icons/theme tokens, and installs files directly into user projects. The core repo is a pnpm monorepo containing the CLI (`packages/cli`), headless primitives (`packages/primitives`), a parity tool (`packages/parity`), Svelte CLI addons (`sv-addons`), and a SvelteKit docs app (`docs`) that generates the registry JSON consumed by the CLI and serves as the project's public website.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 4 reusable components found
jackocnr/intl-tel-input ★ 8261 1991 APPLICATION

intl-tel-input is a mature, widely-used frontend library for international telephone number input. It provides a rich set of features including country selection with search, real-time phone number formatting, validation (powered by Google's libphonenumber), and E.164 extraction. The library is framework-agnostic at its core, with official thin wrappers for React, Vue, Angular, and Svelte, making it easy to integrate into any modern web stack. The architecture follows a modular monorepo pattern: the core package (`packages/core`) contains the main JavaScript class, UI logic, country data, locale translations, and formatting/validation utilities. The framework wrappers are minimal adapters that re-export the core functionality with framework-specific props, events, and lifecycle management. A separate static documentation site (`site/`) provides interactive examples, a playground for testing options, and generated code snippets for all supported frameworks. The codebase demonstrates strong engineering practices: TypeScript throughout, extensive unit/integration/e2e tests (Vitest and Playwright), custom build scripts (esbuild, Closure Compiler for libphonenumber), and a well-organized locale system with 50+ translations. Key reusable components include the numeral conversion logic, country search algorithm, and caret positioning helper, which can be extracted for other projects requiring digit script normalization, token-based search, or input formatting.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
supabase/supabase-js ★ 4554 732 APPLICATION

This is the Supabase JavaScript SDK monorepo, providing isomorphic client libraries for Supabase backend services. It is a well-structured TypeScript monorepo managed with pnpm and Nx, containing six core packages: auth-js (authentication), postgrest-js (database queries via PostgREST), realtime-js (WebSocket-based realtime subscriptions), storage-js (file storage and vector index API), functions-js (edge function invocation), and the umbrella supabase-js package that combines them into a single `createClient()` entry point. The SDK supports multiple runtimes (Node.js, Deno, browsers, Bun, React Native, Cloudflare Workers) and includes optional OpenTelemetry tracing support. The codebase demonstrates high craftsmanship with extensive TypeScript generics for type-safe query building, fluent builder patterns, robust error handling hierarchies, and comprehensive integration tests against local Supabase infrastructure. It is actively maintained with frequent releases, automated CI/CD, and a strong focus on backward compatibility.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 8 reusable components found
lochie/torph ★ 1333 27 APPLICATION

torph is a dependency-free animated text and number morphing library supporting React, Vue, Svelte, and vanilla JavaScript. The core engine segments input text into numerical and alphabetic parts, diffs them using a word-level LCS algorithm with numeric place-value matching, and animates the transition via FLIP, spring physics, and per-character masking. It exposes thin framework wrappers and a `MorphController` class for lifecycle management. A monorepo structure includes the library package, a shared test corpus consumed by both unit tests and an interactive playground, and a Next.js documentation site with 25+ demos and a showcase. The library requires no runtime dependencies; only peer dependencies for framework usage. It demonstrates exceptional engineering in diffing, animation timing, and cross-framework abstraction.

RATING: 9.2/10 MAINT: active DRIFT: low
▸ 4 reusable components found
Abdenasser/neohtop ★ 9397 311 APPLICATION

NeoHtop is a modern, cross-platform system monitor built with Svelte, Rust, and Tauri. It provides real-time monitoring of system processes, CPU usage, memory usage, network I/O, and disk statistics. The application features a beautiful, customizable UI with dark/light theme support, advanced process search and filtering (including regex support), process pinning, and the ability to kill processes. The architecture cleanly separates the Rust backend (which uses the sysinfo crate to gather system information) from the Svelte frontend (which displays the data and handles user interactions), communicating via Tauri's IPC mechanism.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 2 reusable components found
urql-graphql/urql ★ 8980 479 APPLICATION

urql is a highly customizable and versatile GraphQL client library for JavaScript/TypeScript, organized as a monorepo with a core package (`@urql/core`), multiple exchange packages (middleware), and framework-specific bindings for React, Preact, Vue, Svelte, Solid, and Next.js. The core architecture is built on a composable exchange pipeline using Wonka reactive streams, where operations flow through a chain of exchanges (e.g., cache, fetch, subscription, SSR) that can be mixed and matched. The client dispatches GraphQL queries, mutations, and subscriptions, and returns results as streams. The `@urql/exchange-graphcache` package provides a sophisticated normalized cache with support for offline persistence, optimistic updates, pagination resolvers (Relay and simple), and schema-aware partial results. Framework integrations expose idiomatic hooks (e.g., `useQuery`, `useMutation`) or stores that wrap the core client and manage component lifecycle. External dependencies include Wonka for streams, `@0no-co/graphql.web` for GraphQL parsing, and framework-specific libraries. The repository also includes a documentation site, extensive examples, and a comprehensive test suite using Vitest and Cypress.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
HoudiniGraphql/houdini ★ 986 106 APPLICATION

Houdini is a full-stack GraphQL client framework with a compile-time-first approach, targeting React and Svelte applications. It consists of a Go-based compiler pipeline that extracts GraphQL documents from source files, generates optimized runtime artifacts (TypeScript), and manages caching, pagination, subscriptions, and optimistic updates. The runtime includes a normalized cache with fine-grained reactivity, client-side pagination (cursor and offset), progressive form handling with CSRF protection, OAuth integration, and a file-based routing system. The framework also provides a Vite plugin for HMR, a language server (LSP) with GraphQL completions and diagnostics, and production adapters for Node.js, Cloudflare, and static hosting. The architecture is hybrid: the core compiler is written in Go using SQLite for metadata storage, while the client runtime and framework integrations are TypeScript, with a plugin system supporting both Go and JavaScript extensions. The codebase is highly modular, with extensive unit and end-to-end test coverage across both SvelteKit and React.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 10 reusable components found
danielmiessler/Fabric ★ 44087 4285 APPLICATION

Fabric is an open-source framework for augmenting humans using AI, centered on a large library of crowdsourced prompt templates called 'patterns'. The system provides a CLI tool, a REST API server, and a SvelteKit web UI, all sharing a common pattern engine that applies structured prompts to user input (text, URLs, YouTube videos, PDFs, images). The architecture is modular: a plugin registry manages AI vendor adapters (OpenAI, Anthropic, Gemini, Ollama, Azure, Bedrock, Vertex AI, and 25+ OpenAI-compatible providers), a template engine supports variable substitution and executable extensions, and a filesystem-backed storage layer handles patterns, sessions, and contexts with path-traversal protection. Key entry points include the Go CLI (`cmd/fabric`), the Gin-based REST API (`internal/server`), and the SvelteKit web app (`web/`). External dependencies span multiple AI SDKs, web scraping libraries (go-readability), YouTube transcription (yt-dlp), and SQLite for caching. The pattern library itself is a data asset with over 100 markdown files, each defining identity, steps, and output instructions for tasks like summarization, analysis, code review, and creative writing.

RATING: 9.0/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
$ loading more...
$ submit: