Discover and explore top open-source AI tools and projects—updated daily.
Web-based P2P collaborative editor for live coding music and graphics
Top 79.5% on SourcePulse
Flok is a web-based, peer-to-peer collaborative editor designed for live coding music and graphics. It targets musicians, visual artists, and developers interested in real-time, shared creative coding experiences, offering a flexible environment for experimenting with various audio and visual synthesis languages.
How It Works
Flok utilizes a modular, monorepo architecture with CodeMirror 6 for its editor and Yjs for real-time collaborative editing. It supports multiple "slots" for different programming languages and tools, allowing users to mix and match environments like TidalCycles, SuperCollider, Hydra, and p5.js within a single session. Code execution is handled via a separate flok-repl
process that connects to the web client, enabling evaluation of code against local interpreters or browser-based environments.
Quick Start & Requirements
npx flok-web@latest
npx flok-repl@latest -H wss://next.flok.cc -s <session> -t <target> -T user:<name>
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
sclang
target has known issues on Windows; remote_sclang
is recommended.3 months ago
1 day