Fly.io Examples (@fly-apps)

Top repositories

1

live_beats

Elixir
1,275
star
2

tictac

Demonstration of building a clustered, distributed, multi-player, turn-based game server written in Elixir.
Elixir
350
star
3

postgres-ha

Postgres + Stolon for HA clusters as Fly apps.
Go
311
star
4

safe-ecto-migrations

Guide to Safe Ecto Migrations
306
star
5

litefs-js

JavaScript utilities for working with LiteFS on Fly.io
TypeScript
160
star
6

dockerfile-node

Dockerfile generator for Node.js
JavaScript
151
star
7

nginx-cluster

A horizontally scalable NGINX caching cluster
Shell
128
star
8

terraform-provider-fly

Terraform provider for the Fly.io API
Go
114
star
9

postgres-flex

Postgres HA setup using repmgr
Go
94
star
10

edge-apollo-cache

Run and cache results from your Apollo GraphQL server on the edge with Fly
JavaScript
91
star
11

redis-geo-cache

A global Redis cache
Shell
81
star
12

bun

Bun JS app doing basically nothing
TypeScript
80
star
13

fly-run-this-function-on-another-machine

This is a simple example on how to spawn a Fly.io machine and run a function from there.
JavaScript
77
star
14

redis

Launch a Redis server on Fly
Shell
70
star
15

hello-rust

Rust example app on Fly.io
Dockerfile
68
star
16

ollama-open-webui

Self-host a ChatGPT-style web interface for Ollama ๐Ÿฆ™
Shell
58
star
17

docker-daemon

A Docker daemon to run in Fly and access via a WireGuard peer.
Shell
50
star
18

nats-cluster

Global messaging for apps that need to talk to each other.
Go
49
star
19

hello_elixir

An example for building and deploying an Elixir application to Fly using a Dockerfile
Elixir
46
star
20

tailscale-router

Go
46
star
21

laravel-docker

Base Docker images for use with Laravel on Fly.io
Shell
43
star
22

fly-laravel

Run your Laravel apps on Fly
PHP
42
star
23

wps

World Page Speed
Elixir
41
star
24

rds-connector

Trivial Terraform example for a WireGuard peer to RDS
HCL
41
star
25

bumblebee-model-harness

Minimal Elixir application that can host AI models on Fly.io GPUs and make them available via WireGuard to remote clustered Elixir applications for improved development experiences.
Elixir
40
star
26

litestream-base

A base Docker image for adding Litestream to apps
Dockerfile
33
star
27

smokescreen

An example of deploying Smokescreen on Fly.io
Go
32
star
28

go-example

A minimal Go application for tutorials
Go
29
star
29

python-hellofly-flask

A Pythonic version of the Hellofly example
Python
29
star
30

cron-manager

Go
28
star
31

supercronic

Run periodic jobs on Fly with supercronic
Dockerfile
28
star
32

cockroachdb

Shell
26
star
33

pdf-appliance

Auto start machines that will generate PDFs for your application
TypeScript
26
star
34

thumbnail_generator

Elixir
26
star
35

node-demo

Fly.io Node.js demo
JavaScript
26
star
36

nginx

A fly app nginx config
Dockerfile
24
star
37

wordpress-sqlite

Wordpress on SQLite
PHP
23
star
38

hello-fly-langchain

A minimal example of how to deploy LangChain to Fly.io using Flask
Python
22
star
39

hellonode-builtin

A minimal Fly example Node application for use in tutorials
JavaScript
20
star
40

self-host-ollama

A simple repo for deploying Ollama on Fly.io.
20
star
41

vscode-remote

Shell
19
star
42

dockerfile-laravel

Blade
19
star
43

privatenet

Examples around querying 6PN private networking on Fly
JavaScript
19
star
44

puppeteer-js-renderer

A service to render js for web scraping hosted on fly.io
JavaScript
18
star
45

lambdo

Not quite a Lambda, almost as cool as a Lambo.
Go
18
star
46

hello-static

Create a static website with Fly - HTML from the example
HTML
16
star
47

ghost-litestream

Ghost + Litestream for global sqlite blogging
Dockerfile
16
star
48

nix-base

Nix overlays for supporting Nix deployments on Fly.io
Nix
16
star
49

fastify-functions

Example Fastify server
JavaScript
16
star
50

ichabod

serf + headless chromium && CDP
Dockerfile
15
star
51

coredns

Authoritative CoreDNS on Fly.io
DIGITAL Command Language
15
star
52

ollama-demo

@jmorganca's ollama.ai demo app on Fly.io
14
star
53

elixir_opentel_and_grafana

Project that goes with a Fly.io Phoenix Files article
Elixir
14
star
54

terraformed-machines

Example of Fly.io machines orchestration with Terraform and DNSimple
HCL
14
star
55

fly-log-local

Store Fly app logs locally.
Dockerfile
13
star
56

python_gpu_example

A setup with Jupyter for GPU-enabled ML tinkering
Shell
13
star
57

postgres-migrator

Fly app that works to streamline Postgres migrations.
Dockerfile
13
star
58

fooocus-demo

Fooocus is an image generating software, rethinking Stable Diffusion and Midjourneyโ€™s designs. Runs on Fly GPUs
Shell
12
star
59

whisper-example

Fly GPU Machines transcribing an mp3 file with Whisper
Dockerfile
12
star
60

hellodeno

A version of the Hellodeno example that uses flyctl's builtin deno builder
TypeScript
11
star
61

fly-app-with-multiple-internal-ports

Example of how to deploy an app that has multiple ports listened to
JavaScript
11
star
62

not-midjourney-bot

Build your very own AI image-generating Discord bot on Fly GPUs
Python
10
star
63

hello-flask

Example project demonstrating how to deploy a Flask app to Fly.io.
HTML
10
star
64

hello_elixir_sqlite

An example for building and deploying an Elixir application to Fly using a Dockerfile and SQLite!
Elixir
9
star
65

fly-varnish

Dockerfile
9
star
66

postgres-importer

Shell
9
star
67

keydb

KeyDB server on Fly
Shell
9
star
68

nodejs-planetscale-read-replicas

A sample Node.js app that uses a Planetscale database with additional read-only regions
JavaScript
8
star
69

grafana

Run Grafana on Fly
8
star
70

kong-api-gateway

Dockerfile
7
star
71

hostnamesapi

JavaScript examples for working with the new hostnames API on Fly
JavaScript
7
star
72

appkata-minio

MinIO S3-compatible storage on Fly
Dockerfile
7
star
73

autoscale-to-zero-demo

TypeScript
7
star
74

global-apollo-server

Fly global deployment with Apollo Server and Prisma
TypeScript
7
star
75

ssh-app

Run an SSH server to connect your privately networked Database apps to things like BI tools
Dockerfile
7
star
76

hello-fly

JavaScript
7
star
77

rqlite

Shell
6
star
78

live-elements-demo

Live Elements Demo
Ruby
6
star
79

hello-create-react-app

JavaScript
6
star
80

deno-apollo

TypeScript
6
star
81

hello-django

Example project demonstrating how to deploy a Django app to Fly.io.
Python
6
star
82

grpc-service

Running gRPC services on Fly.io
JavaScript
6
star
83

laravel-worker

Auto-scaled Laravel queue workers on Fly.io
PHP
6
star
84

6pn-demo-chat

A Node-based websockets and NATS chat app which uses Fly 6PN networking
JavaScript
6
star
85

globe-request-mapper

Elixir
6
star
86

how2make

Ever wanted to replicate an sandwich from what it looks like? Wych has your back!
Go
5
star
87

cog-sd3

Run Stable Diffusion 3 Medium as a Replicate Cog on Fly.io
Python
5
star
88

code-server-dev-environment

Dockerfile
5
star
89

elixir_prom_ex_example

Elixir
5
star
90

fly-nextjs-template

A Next.js template for deploying on Fly.io with continious deployment (auto-deploys) and review apps.
TypeScript
4
star
91

postgres

Deploy a Postgres database on Fly, ready for your Fly apps.
4
star
92

buildkite-agent

Run a Buildkite agent on Fly with disk caching
Dockerfile
4
star
93

openresty-basic

Dockerfile
4
star
94

global-rails

Ruby
4
star
95

flydictionary

A light crud example for database examples
JavaScript
4
star
96

appkata-mqtt

An MQTT server app (with Mosquitto) with TLS+passwords
Dockerfile
4
star
97

fly-nestjs

Example NestJS application configured for deployment on Fly.io
TypeScript
4
star
98

fly-laravel-litefs

Guide on deploying multiple instances of a Laravel Fly app and integrating LiteFS and fly-replay to allow syncing SQLite database across the instances.
PHP
4
star
99

cog-whisper

Run OpenAI Whisper as a Cog model on Fly GPUs
Python
3
star
100

tcp-echo

TCP echo service for testing things that TCP
Go
3
star