Download and install
One small file and one command. It takes about five minutes.
What you need
- A Codie on software 1.6.0, signed in and connected to your home network.
- A computer that stays switched on, on the same network: a mini PC, a home server, a NAS or a Raspberry Pi 4 or newer.
- Docker on that computer. If it is not installed yet, follow Docker’s own instructions for your system.
- Home Assistant, only if you want smart-home control or spoken announcements.
Install
-
Download the setup file
Save compose.yaml into a new, empty folder on that computer, for example a folder named
waifu-bridge. -
Start Waifu Bridge
Open a terminal in that folder and run:
docker compose up -dThe first start downloads the program, which can take a few minutes.
-
Open the console
In a browser on any device on your network, go to the computer’s address followed by
:8080, for examplehttp://192.168.1.50:8080. On the computer itself,http://localhost:8080works.The first visit asks you to create the account you will sign in with.
Next: pair your Codie.
Options
To change these, create a file named .env next to compose.yaml with the lines you need, then run docker compose up -d again.
| Line | What it does |
|---|---|
BRIDGE_PORT=9000 | Uses a different port, if 8080 is taken. |
TZ=America/New_York | Sets your time zone, used for quiet hours and the clock. |
Updating
In the same folder:
docker compose pull
docker compose up -d
Your pairings, permissions and settings are kept. Changes to the stored data are applied by themselves on start.
Backing up
Everything you set up lives in one Docker volume named bridge-data. Back up that whole volume. It includes a file named app.key that encrypts your saved tokens and pairings: a copy of the data without that file cannot be read.
Removing it
docker compose down
That stops Waifu Bridge and keeps your data. To delete the data as well, add -v. Your Codie keeps a small leftover entry until you pair it again or reset its external tools.
Keeping it safe
Anyone on your home network can open the sign-in page. It is protected by your password, but it is served without encryption, so keep it on your home network. Do not forward the port from your router to the internet.
If you want to reach the console from outside your home, use a VPN into your network, or put a reverse proxy with HTTPS in front of it.