flitter  by meursyphus

JavaScript rendering engine for dynamic UIs

Created 2 years ago
389 stars

Top 73.5% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

Flitter is a JavaScript rendering engine for building dynamic visualizations like charts, diagrams, and editors. It empowers developers with a Flutter-inspired composable widget system for efficient rendering and deep customization. The engine targets developers creating bespoke visual tools and libraries, offering a performant foundation.

How It Works

Flitter uses a Flutter-like widget composition model, building UIs by nesting declarative widgets. Its core features a Render Object Tree for efficient, optimized rendering that updates only changed elements. A Constraint-based Layout system handles size negotiation. Developers choose between SVG or Canvas renderers, enabling seamless vector/bitmap switching. Built-in animation controllers, curves, and tweens support smooth, interactive graphics.

Quick Start & Requirements

Initialization uses npx flitter-ui init, with components added via npx flitter-ui add <chart-name>. This shadcn-style workflow provides full source code. Integrations exist for React (@flitterjs/react) and Svelte (@flitterjs/svelte), plus Vanilla JS. All require Node.js and npm/npx.

Highlighted Details

  • Composable Visuals: Libraries like its chart gallery (20+ types) and ERD editor are composed of swappable widgets, allowing granular control.
  • Dual Renderer: Supports SVG and Canvas outputs for flexible visualization needs.
  • LLM Native: Integrates AI assistants for chart generation via documentation processing.
  • Source Code Access: shadcn-style approach delivers full component source code for transparency and modifiability.

Maintenance & Community

Flitter is open-source, welcoming bug reports, feature suggestions, and PRs via GitHub Issues. A Discord server is available for community interaction.

Licensing & Compatibility

Licensed under the MIT license, it is highly permissive for commercial use, modification, and distribution, including integration into closed-source applications.

Limitations & Caveats

The README does not explicitly detail limitations, alpha/beta status, or known bugs. Focus is on the core rendering engine and its applications.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
17
Issues (30d)
17
Star History
7 stars in the last 30 days

Explore Similar Projects

Starred by Dan Abramov Dan Abramov(Core Contributor to React; Coauthor of Redux, Create React App), Jeff Hammerbacher Jeff Hammerbacher(Cofounder of Cloudera), and
6 more.

semiotic by nteract

0.1%
3k
React data visualization framework for complex charts and networks
Created 9 years ago
Updated 8 hours ago
Feedback? Help us improve.