All Templates / Starters

Flet

Flet

The fastest way to build Flutter apps in Python

Deploy Flet

Flet

brody192/railway-flet

Just deployed

flet logo

The fastest way to build Flutter apps in Python

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required

From idea to app in minutes

An internal tool or a dashboard for your team, weekend project, data entry form, kiosk app, or high-fidelity prototype - Flet is an ideal framework to quickly hack great-looking interactive apps to serve a group of users.

Simple architecture

No more complex architecture with JavaScript frontend, REST API backend, database, cache, etc. With Flet you just write a monolith stateful app in Python only and get multi-user, real-time Single-Page Application (SPA).

Batteries included

To start developing with Flet, you just need your favorite IDE or text editor. No SDKs, no thousands of dependencies, no complex tooling - Flet has a built-in web server with assets hosting and desktop clients.

Powered by Flutter

Flet UI is built with Flutter, so your app looks professional and could be delivered to any platform. Flet simplifies the Flutter model by combining smaller "widgets" to ready-to-use "controls" with an imperative programming model.

Speaks your language

Flet is language-agnostic, so anyone on your team could develop Flet apps in their favorite language. Python is already supported, Go, C# and others are coming next.

Deliver to any device

Deploy Flet app as a web app and view it in a browser. Package it as a standalone desktop app for Windows, macOS, and Linux. Install it on mobile as PWA or view via Flet app for iOS and Android.

Running locally for development

  • Install dependencies pip install -r requirements.txt

  • Start the flet development server flet main.py

This will open a new window and any changes made to main.py will be automatically reflected

What makes this work on Railway?

  • Custom build plan: nixpacks.toml

    • Sets the environment variable GIN_MODE to release for production purposes
    • Installs two needed system libraries libgtk-3-0 and libgstreamer1.0-0
  • Have Flet listen on $PORT

    • Setting port to int(os.getenv("PORT", 8502)) in the ft.app constructor, This allows Railway to properly route traffic to and from the Flet app

Template Content

Deploy Now

Details

Created on Jan 19, 2024

53 total projects

30 active projects

100% success on recent deploys

Python

Starters



More templates in this category

View Template
Django Monolith

Django Monolith

A Django app connected to a Postgres database with Celery and Celery Beat.


Prosper Otemuyiwa

View Template
TanStack + React Starter

TanStack + React Starter

A barebones TypeScript React starter with TanStack Router & Query setup


Kyle Gill

View Template
Scala Play

Scala Play

A simple Play framework app connected to a Postgres database.


Prosper Otemuyiwa