Skip to content
pubscout

finch

1.6.2, released 13 days ago by finchdart.com

A lightweight Dart framework for building server‑side web apps, APIs, databases and WebSockets.

$ flutter pub add finch
Source repository

What it does

Finch provides routing, database integration (MongoDB, MySQL, SQLite), WebSocket support, cron jobs, and static file serving for server‑side Dart applications. It also includes features like i18n, form validation, and OpenAPI documentation generation.

AI-written summary of version 1.6.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a full‑stack server framework in pure Dart
  • You want built‑in support for multiple databases and WebSockets
  • You prefer a single package that handles routing, config, and utilities

Skip it when

  • You are building only a client‑side Flutter app
  • You need a highly modular micro‑library rather than an all‑in‑one framework
  • You require deep integration with Firebase or other hosted backends

Strengths

  • Unified API for routing, DB, and WebSockets
  • Supports MongoDB, MySQL, SQLite out of the box
  • Built‑in i18n, cron jobs, and OpenAPI generation
  • Fast performance with native Dart compilation

Weaknesses

  • Large dependency footprint
  • Primarily server‑side; not suited for mobile UI code
  • Learning curve if unfamiliar with server concepts

Setup

Kind
Pure Dart
Effort
Medium
Code generation
Yes (build_runner)
Direct dependencies
18

Add finch to pubspec, run `dart pub get`; no special permissions needed. Use FinchApp to configure routes, DB connections, and start the server.

final app = FinchApp(configs: configs);
void main() async {
  app.get(path: '/hello', index: (rq) async => rq.renderString(text: 'Hello World'));
  await app.start();
}

Alternatives

Packages that do the same job and could replace finch.

  • realtime_client

    Dart client for Supabase Realtime, listening to PostgreSQL changes via WebSocket

  • flint_dart

    Full‑stack Dart framework for building server, UI, and APIs in pure Dart

  • vania

    A fast backend framework for Dart with routing, ORM, migrations, and middleware.

  • relic_core

    Core framework for Relic web server

Works with

Packages commonly used together with finch: ones it builds on, ones built on it, and its own family.