• Stars
    star
    1,074
  • Rank 41,298 (Top 0.9 %)
  • Language
    Elixir
  • License
    MIT License
  • Created over 2 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LiveBeats

Play music together with Phoenix LiveView!

Visit livebeats.fly.dev to try it out, or run locally:

  • Create a Github OAuth app from this page

    • Set the app homepage to http://localhost:4000 and Authorization callback URL to http://localhost:4000/oauth/callbacks/github
    • After completing the form, click "Generate a new client secret" to obtain your API secret
  • Export your GitHub Client ID and secret:

    export LIVE_BEATS_GITHUB_CLIENT_ID="..."
    export LIVE_BEATS_GITHUB_CLIENT_SECRET="..."
    
  • Install dependencies with mix deps.get

  • Create and migrate your database with mix ecto.setup

  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more

More Repositories

1

dockerfile-rails

Provides a Rails generator to produce Dockerfiles and related files.
Dockerfile
422
star
2

tictac

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

postgres-ha

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

safe-ecto-migrations

Guide to Safe Ecto Migrations
268
star
5

litefs-js

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

nginx-cluster

A horizontally scalable NGINX caching cluster
Shell
125
star
7

terraform-provider-fly

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

dockerfile-node

Dockerfile generator for Node.js
JavaScript
111
star
9

edge-apollo-cache

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

redis-geo-cache

A global Redis cache
Shell
81
star
11

bun

Bun JS app doing basically nothing
TypeScript
76
star
12

redis

Launch a Redis server on Fly
Shell
70
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
63
star
14

hello-rust

Rust example app on Fly.io
Dockerfile
62
star
15

nats-cluster

Global messaging for apps that need to talk to each other.
Go
44
star
16

postgres-flex

Postgres HA setup using repmgr
Go
44
star
17

tailscale-router

Go
40
star
18

rds-connector

Trivial Terraform example for a WireGuard peer to RDS
HCL
38
star
19

docker-daemon

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

fly-laravel

Run your Laravel apps on Fly
PHP
38
star
21

hello_elixir

An example for building and deploying an Elixir application to Fly using a Dockerfile
Elixir
38
star
22

litestream-base

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

smokescreen

An example of deploying Smokescreen on Fly.io
Go
31
star
24

go-example

A minimal Go application for tutorials
Go
29
star
25

python-hellofly-flask

A Pythonic version of the Hellofly example
Python
29
star
26

laravel-docker

Base Docker images for use with Laravel on Fly.io
Shell
28
star
27

cockroachdb

Shell
27
star
28

nginx

A fly app nginx config
Dockerfile
23
star
29

supercronic

Run periodic jobs on Fly with supercronic
Dockerfile
21
star
30

hello-fly-langchain

A minimal example of how to deploy LangChain to Fly.io using Flask
Python
21
star
31

hellonode-builtin

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

vscode-remote

Shell
19
star
33

privatenet

Examples around querying 6PN private networking on Fly
JavaScript
18
star
34

node-demo

Fly.io Node.js demo
JavaScript
18
star
35

puppeteer-js-renderer

A service to render js for web scraping hosted on fly.io
JavaScript
17
star
36

hello-static

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

ghost-litestream

Ghost + Litestream for global sqlite blogging
Dockerfile
16
star
38

wordpress-sqlite

Wordpress on SQLite
PHP
16
star
39

thumbnail_generator

Elixir
15
star
40

coredns

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

ichabod

serf + headless chromium && CDP
Dockerfile
14
star
42

nix-base

Nix overlays for supporting Nix deployments on Fly.io
Nix
14
star
43

fly-log-local

Store Fly app logs locally.
Dockerfile
13
star
44

terraformed-machines

Example of Fly.io machines orchestration with Terraform and DNSimple
HCL
13
star
45

elixir_opentel_and_grafana

Project that goes with a Fly.io Phoenix Files article
Elixir
13
star
46

dockerfile-laravel

PHP
13
star
47

fastify-functions

Example Fastify server
JavaScript
12
star
48

postgres-migrator

Fly app that works to streamline Postgres migrations.
Dockerfile
12
star
49

pdf-appliance

Auto start machines that will generate PDFs for your application
TypeScript
12
star
50

hellodeno

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

whisper-example

Fly GPU Machines transcribing an mp3 file with Whisper
Dockerfile
11
star
52

hello_elixir_sqlite

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

fly-app-with-multiple-internal-ports

Example of how to deploy an app that has multiple ports listened to
JavaScript
9
star
54

fly-varnish

Dockerfile
9
star
55

keydb

KeyDB server on Fly
Shell
9
star
56

grafana

Run Grafana on Fly
8
star
57

postgres-importer

Shell
8
star
58

nodejs-planetscale-read-replicas

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

kong-api-gateway

Dockerfile
7
star
60

hostnamesapi

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

appkata-minio

MinIO S3-compatible storage on Fly
Dockerfile
7
star
62

autoscale-to-zero-demo

TypeScript
7
star
63

live-elements-demo

Live Elements Demo
Ruby
6
star
64

6pn-demo-chat

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

rqlite

Shell
6
star
66

deno-apollo

TypeScript
6
star
67

hello-fly

JavaScript
6
star
68

global-apollo-server

Fly global deployment with Apollo Server and Prisma
TypeScript
6
star
69

rails-nix

Deploy Rails apps on Fly.io with Nix
Ruby
5
star
70

code-server-dev-environment

Dockerfile
5
star
71

hello-flask

Example project demonstrating how to deploy a Flask app to Fly.io.
HTML
5
star
72

postgres

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

appkata-mqtt

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

global-rails

Ruby
4
star
75

globe-request-mapper

Elixir
4
star
76

buildkite-agent

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

openresty-basic

Dockerfile
4
star
78

flydictionary

A light crud example for database examples
JavaScript
4
star
79

grpc-service

Running gRPC services on Fly.io
JavaScript
4
star
80

elixir_prom_ex_example

Elixir
4
star
81

hello-create-react-app

JavaScript
4
star
82

hello-remix

Sample Remix app setup for deployment on Fly.io
JavaScript
3
star
83

tcp-echo

TCP echo service for testing things that TCP
Go
3
star
84

rails-on-fly

Ruby
3
star
85

laravel-worker

Auto-scaled Laravel queue workers on Fly.io
PHP
3
star
86

pi-hole

Dockerfile
3
star
87

fly-nestjs

Example NestJS application configured for deployment on Fly.io
TypeScript
3
star
88

view-component-playground

Various view components tried in Rails
Ruby
3
star
89

python_gpu_example

A setup with Jupyter for GPU-enabled ML tinkering
Shell
3
star
90

hello-django

Example project demonstrating how to deploy a Django app to Fly.io.
Python
3
star
91

localai-demo

LocalAI demo app on Fly.io
Shell
3
star
92

rails-statics

Rails application to test the performance of Rails static assets
Ruby
3
star
93

hello-django-postgres

Python
2
star
94

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
2
star
95

ollama-webui-demo

Shell
2
star
96

udp-echo-

Sample TCP/UDP Echo Service
Go
2
star
97

replicache-websocket

TypeScript
2
star
98

rails-machine-workers

A demonstration of how to use Fly Machines for "scale-to-0" ActiveJob background workers
Ruby
2
star
99

flygreeting

An example app for other examples to use.
Go
2
star
100

postgres-standalone

Standalone Postgres on Fly
Go
2
star