LB Publisher
How to connect
Five minutes on the computer. One minute on the phone.
Watch the video guide 1:25
1. On your computer
- Mac: download LB Publisher Server for Mac, drag it to Applications and open it — the QR code is in its window. The server keeps running in the menu bar when you close the window. If macOS offers to install the Command Line Tools (that is Python), agree, then press Try again.
- Windows: install Python 3.9 or newer from python.org (tick Add python.exe to PATH). Then download lb_publisher_server.pyw and double-click it — a page with the QR code opens in your browser. When Windows Firewall asks, choose Allow access.
- Terminal (any system):
python3 lb_publisher_server.pywith the same file. The QR code appears right in the terminal and on the pagehttp://127.0.0.1:8787— nothing else to install. - The server creates the
~/LBPublisherqueue folder. If macOS asks “Allow incoming connections?”, choose Allow.
Options
| Option | What it does |
|---|---|
--dir path | Use another queue folder |
--name "My channel" | The name shown in the app |
--port 8788 | Use another port |
--new-token | Issue a new key — connected phones are disconnected |
--lang en|ru|zh | Language of the server messages and page |
--no-browser | Don’t open the QR page in the browser |
2. On your iPhone
- Install LB Publisher.
- Tap Scan QR code — or Paste the connection string — then Check and save.
3. The network
| Where is the phone | What you need |
|---|---|
| At home, on the same Wi-Fi | Nothing. A guest network with device isolation won’t work. |
| Away from home | Free Tailscale on the computer and the phone, one account. Use the 100.x.y.z connection string. |
| A VPN is on the phone | Allow local network in the VPN app, or pause it while downloading. |
4. Teach your agent
Copy AGENTS.md into your agent’s instructions — CLAUDE.md for Claude Code, AGENTS.md or the system prompt for Kimi, Codex and others. The short version: one clip is one folder ~/LBPublisher/<id>/ with video.mp4 and post.json, written last.
{
"title": "3 facts in 10 seconds",
"format": "short",
"publish_date": "2026-11-27",
"caption": "You missed the third one 👀 #facts",
"ai_label": true
}For a full YouTube video use "format": "long", a description with chapters and an optional thumbnail.jpg.
5. Posting
- Open the clip in the app and tap a platform. The video goes to Photos, the caption to the clipboard, the platform opens.
- Paste the caption and post.
- Come back — the app asks “Posted?”. You can add the link to the post.