meine
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
BotWave - Your Raspberry Pi FM Network
BotWave lets you broadcast audio over FM radio using Raspberry Pi devices. It supports both single-device setups and multi-Pi networks, with features like remote control, live streaming, automated actions, and more, making it great for learning, experimentation, and creative projects.
All requirements can be installed automatically via the installer, see below.
Note
For a more detailed setup guide, check /wiki/Setup
Warning
/wiki/FAQFor Linux systems (Raspberry Pi OS, Ubuntu, Fedora, Arch, etc.), we provide an install script:
curl -sSL https://botwave.dpip.lol/install | sudo bash
If you'd like to review the script before running it:
curl -sSL https://botwave.dpip.lol/install -o bw_install.sh cat bw_install.sh sudo bash bw_install.sh
sudois required for system-wide installation. BotWave installs to/opt/BotWavewith binary symlinks in/usr/local/bin.
During installation, you'll be asked a few questions:
--alsa.Installer optionsUsage: curl -sSL https://botwave.dpip.lol/install | sudo bash [-s -- [MODE] [OPTIONS]]Modes: client Install client components server Install server components both Install both client and server components
Options: -l, --latest Install from the latest commit (even if unreleased) -t, --to <version> Install a specific release version -b, --branch <name> Install from a specific branch (default: main) --[no-]alsa Setup ALSA loopback card -h, --help Show this help message
Adding -s -- <server, client or both> --alsa at the end of the command skips the interactive menu and goes straight to installation.
Note that all this is optional and not needed for basic installation.
Tip
Not sure which mode to pick?
The local client runs entirely on one Raspberry Pi. So no server or second machine required. This is the recommended starting point if you're new to BotWave.
sudo bw-local
Local client optionsusage: bw-local [-h] [--upload-dir UPLOAD_DIR]
[--handlers-dir HANDLERS_DIR]
[--skip-checks | --no-skip-checks]
[--daemon | --no-daemon] [--rc RC]
[--pk PK] [--talk | --no-talk]
BotWave Standalone CLI Client
options:
-h, --help show this help message and exit
--upload-dir UPLOAD_DIR
Directory to store uploaded files
--handlers-dir HANDLERS_DIR
Directory to retrieve l_ handlers from
--skip-checks, --no-skip-checks
Skip system requirements checks
--daemon, --no-daemon
Run in daemon mode (non-interactive)
--rc RC Remote CLI port for remote management
--pk PK Optional passkey for WebSocket
authentication
--talk, --no-talk Show output logs
--config CONFIG Path to a config file to load into environment
Hardware setupTo broadcast, connect a wire or antenna to GPIO 4 (pin 7) on your Raspberry Pi. Even a short bare wire improves range significantly over nothing.
The local client has a CLI to manage it. Type help for a list of all available commands.
BotWave supports most common audio formats (MP3, WAV, FLAC, AAC, OGG, and more). Files are converted to WAV automatically when needed.
You have two options to get files onto your Pi:
Option A: Download a file from a URL:
botwave> dl https://cdn.douxx.tech/files/ss.wav
Option B: Upload a file already on the Pi's filesystem:
Note
If you need to transfer a file from your personal computer to the Pi first, use scp from your computer:
scp mysong.mp3 pi@<pi-ip-address>:/home/pi/
Then inside BotWave:
botwave> upload /home/pi/mysong.mp3 # a single file botwave> upload /home/pi/music/ # every supported file in a folder
botwave> start ss.wav 88 # broadcasts ss.wav at 88 MHz
botwave> stop
botwave> exit # cleans up and exits
This setup lets you manage a network of Raspberry Pis from a central server. It assumes you have one machine with the server component installed and at least one Raspberry Pi with the client component installed, both on the same network.
Start the server on your server machine:
bw-server
Server optionsusage: bw-server [-h] [--host HOST] [--port PORT] [--fport FPORT]
[--pk PK] [--handlers-dir HANDLERS_DIR]
[--start-asap | --no-start-asap]
[--skip-checks | --no-skip-checks]
[--rc RC] [--daemon | --no-daemon]
BotWave Server
options:
-h, --help show this help message and exit
--host HOST Server host
--port PORT Server port
--fport FPORT File transfer (HTTP) port
--pk PK Passkey for authentication
--handlers-dir HANDLERS_DIR
Directory to retrieve s_ handlers from
--start-asap, --no-start-asap
Start broadcasts immediately (may cause
client desync)
--skip-checks, --no-skip-checks
Skip system requirements checks
--rc RC Remote CLI port for remote management
--config CONFIG Path to a config file to load into environment
--daemon, --no-daemon
Run in non-interactive daemon mode
Then, on the Raspberry Pi, connect it to the server:
If you don't know your server's IP address, run
< hostname -Iin the BotWave shell.
sudo bw-client 192.168.1.10 # replace with your server's IP
sudois required to access Raspberry Pi hardware.
Client optionsusage: bw-client [-h] [--port PORT] [--fhost FHOST]
[--fport FPORT] [--upload-dir UPLOAD_DIR]
[--pk PK] [--skip-checks | --no-skip-checks]
[--talk | --no-talk]
[server_host]
positional arguments:
server_host Server hostname/IP
options:
-h, --help show this help message and exit
--port PORT Server port
--fhost FHOST File transfer server hostname/IP
(defaults to server_host)
--fport FPORT File transfer (HTTP) port
--upload-dir UPLOAD_DIR
Uploads directory
--pk PK Passkey for authentication
--skip-checks, --no-skip-checks
Skip update and requirements checks
--talk, --no-talk Makes PiWave (broadcast manager) output
logs visible.
--config CONFIG Path to a config file to load into environment
Hardware setupTo broadcast, connect a wire or antenna to GPIO 4 (pin 7) on your Raspberry Pi. Even a short bare wire improves range significantly over nothing.
If the connection succeeds, you'll see a message confirming that <pi-hostname>_<pi-ip> has connected.
The server has a CLI to manage it. Type help for a list of all available commands.
When targeting clients, you can use:
raspberry_192.168.1.11raspberryraspberry,raspberry2allBotWave supports most common audio formats (MP3, WAV, FLAC, AAC, OGG, and more). Files are converted automatically when needed.
Option A: Upload a file stored on the server machine:
botwave> upload all /home/server/Downloads/ss.wav # a single file botwave> upload all /home/server/Downloads/bw_files/ # every supported file in a folder
Option B: Have the client download from a URL directly:
botwave> dl all https://cdn.douxx.tech/files/ss.wav
botwave> start all ss.wav 88 # broadcasts ss.wav at 88 MHz to all clients
botwave> stop all
botwave> exit # kicks all clients and shuts down the server cleanly
BotWave lets you manage your server or local client remotely via WebSocket. We recommend using BWSC for this.
npm i -g bwsc
Add the --rc flag when starting BotWave. A passkey is strongly recommended if exposed to the internet:
bw-server --rc 9939 --pk 1234 # for the server component bw-local --rc 9939 --pk 1234 # for the local client component
If you add a passkey to the server, also pass it to connecting clients:
sudo bw-client <server-ip> --pk <passkey>
bwsc 192.168.1.10 1234 # replace with your server IP and passkey
You'll now have access to the full server or local client CLI remotely.
Note that the <, |, and exit commands are not available via remote shell.
botwave> help
For more detailed documentation, check the following resources:
/server/server.md/client/client.md/local/local.md/autorun/autorun.mdMain/Automate Your SetupMain/Connecting remotelysudo bw-update
curl -sSL https://botwave.dpip.lol/uninstall | sudo bash
Warning
This will delete /opt/BotWave/. Back up any important files (handlers, uploads) before uninstalling.
You can try the BotWave server directly on cloud platforms:
Got a question or an issue?
BotWave mentions: Here are some posts/websites that talk about BotWave. Thanks to their creators!
BotWave is supported by donations from the following people and projects. Your contributions help with development, hosting, and hardware costs 🙏
BotWave is licensed under GPLv3.0.
more like this
meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…
Create and add progress bars, Office365 Files and Dropbox Paper papers by labels and link them to your Todoist tasks.
search projects, people, and tags