qmetrics.net

Fresnel

SSR-friendly React responsive layout components

Fresnel screenshot

@artsy/fresnel declares breakpoint-based React layouts with CSS media queries so server-rendered pages show the correct layout before JavaScript loads.

Overview

@artsy/fresnel brings CSS media-query thinking into React components for responsive UIs. You define named breakpoints and interaction states, then wrap subtrees in Media components that render only when those queries match, similar to declarative @media rules in stylesheets.

During server-side rendering, markup for all configured breakpoints is emitted and hidden with plain CSS until the browser’s viewport matches. That lets users see the correct mobile or desktop structure while HTML streams in, before React hydrates. After load, matchMedia narrows which branches stay mounted so hidden components do not run lifecycle side effects such as duplicate analytics calls.

The API centers on createMedia to define breakpoints, MediaContextProvider at the app root, Media wrappers with props like at, lessThan, greaterThan, between, and onlyMatch to limit which queries apply. createMediaStyle injects the SSR stylesheet into the document head. The library is used with Next.js, Gatsby, and includes a gatsby-plugin-fresnel for configuration.

Artsy developed it to pair server rendering with responsive design where user-agent sniffing alone is unreliable. Trade-offs include larger initial HTML when all breakpoints ship from the server, offset by client-side cleanup after hydration.

Key features

  • Declarative breakpoint Media components
  • SSR-safe CSS visibility rules
  • createMedia breakpoint definitions
  • matchMedia pruning after hydration
  • Pointer hover interaction queries
  • createMediaStyle for document head
  • Next.js and Gatsby examples
  • onlyMatch query filtering

Use cases

  • Server-rendered responsive React sites
  • Separate mobile and desktop layouts
  • Next.js hybrid static rendering
  • Avoiding duplicate hidden component effects

Tags

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.

  • Planning and review agents
  • Skills and command library
  • Runtime hooks and memory
JavaScriptCLIDetails →
★ 316.2k⟳ 14 days agoMIT

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.

  • Declarative UI rendering
  • Encapsulated stateful components
  • JSX markup beside JavaScript logic
JavaScriptWebDetails →
★ 252.7k⟳ todayMIT

MarkItDown

Python utility converting office and media files to Markdown

MarkItDown converts many file types into Markdown for LLM and text analysis pipelines. It aims to preserve headings, lists, tables, and links rather than perfect human layout.

  • Multi-format file to Markdown conversion
  • Command-line and Python APIs
  • Optional Azure document services
PythonDocker, CLIDetails →
★ 199.7k⟳ yesterdayMIT

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

  • Unified PyTorch model definitions
  • Hugging Face Hub checkpoint loading
  • Pipeline task inference helpers
PythonCLIDetails →
★ 169.6k⟳ todayApache-2.0

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

  • Local tree-sitter AST code parsing
  • Queryable knowledge graph output
  • EXTRACTED and INFERRED edge tags
PythonLinux, macOS, Windows, CLIDetails →
★ 156.9k⟳ todayApache-2.0

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

  • Agent-oriented website build workflow
  • Dealt palettes, type, and hero layouts
  • Licensed photograph and icon resolution
JavaScriptCLIDetails →
★ 125.4k⟳ 7 days agoMIT