Skip to main content
Flume has a dual scripting engine supporting both Lua 5.4 and Python 3.10+. Both languages share the same API surface — a script written in Lua is trivially portable to Python.

How It Works

Scripts register event handlers and custom commands through the flume module. When IRC events occur, Flume calls your handlers. Scripts can also queue actions (send messages, print to buffers, show notifications) that Flume processes on the next tick.

Script Directories

All scripts live under ~/.local/share/flume/scripts/:

Managing Scripts

Your First Script

Lua (~/.local/share/flume/scripts/lua/autoload/hello.lua):
Python (~/.local/share/flume/scripts/python/autoload/hello.py):

Don’t Know How to Code?

Use /generate script to have an AI write the script for you:
See LLM Generation for setup.