Installing custom domain doesn't work:
❯ npx opencode-mobile install
...
☁️ Cloudflare Tunnel Setup
✅ cloudflared found at: /home/linuxbrew/.linuxbrew/bin/cloudflared
Cloudflare offers two modes:
- Free tier (trycloudflare.com) - No account needed
- Custom domain - Requires Cloudflare account + domain
Select mode (1/2): 2
🔐 You'll need to authenticate with Cloudflare.
Start authentication now? (y/n): y
🔐 Starting Cloudflare authentication...
A browser window will open. Please log in to your Cloudflare account.
/var/home/user/.npm/_npx/69ea572c67615110/node_modules/.bin/cloudflared: line 1: //: Is a directory
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: missing an image filename url' @ error/import.c/ImportImageCommand/1289. import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351. import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961. import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351. import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961. import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351. import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961. import: missing an image filename path' @ error/import.c/ImportImageCommand/1289.
/var/home/user/.npm/_npx/69ea572c67615110/node_modules/.bin/cloudflared: line 4: syntax error near unexpected token (' /var/home/user/.npm/_npx/69ea572c67615110/node_modules/.bin/cloudflared: line 4: var getFilename = () => fileURLToPath(import.meta.url);'
❌ Authentication failed. Please try again.
💡 Configuration saved to:
/var/home/user/.config/opencode-mobile/tunnel-config.json
🎉 Installation complete!
Restart OpenCode (run opencode) to load the plugin.
Use /mobile in any project to access mobile features.
Manual tunnel-setup command doesn't exist
❯ npx opencode-mobile tunnel-setup
Unknown command: tunnel-setup
Run 'npx opencode-mobile --help' for usage.
No instructions in README for manual configuration
of ~/.config/opencode-mobile/tunnel-config.json
Installing custom domain doesn't work:
❯ npx opencode-mobile install
...
☁️ Cloudflare Tunnel Setup
✅ cloudflared found at: /home/linuxbrew/.linuxbrew/bin/cloudflared
Cloudflare offers two modes:
Select mode (1/2): 2
🔐 You'll need to authenticate with Cloudflare.
Start authentication now? (y/n): y
🔐 Starting Cloudflare authentication...
A browser window will open. Please log in to your Cloudflare account.
/var/home/user/.npm/_npx/69ea572c67615110/node_modules/.bin/cloudflared: line 1: //: Is a directory
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351.
import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961.
import: missing an image filename
url' @ error/import.c/ImportImageCommand/1289. import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351. import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961. import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351. import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961. import: unable to grab mouse '': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9351. import: unable to read X window image '': Success @ error/xwindow.c/XImportImage/4961. import: missing an image filenamepath' @ error/import.c/ImportImageCommand/1289./var/home/user/.npm/_npx/69ea572c67615110/node_modules/.bin/cloudflared: line 4: syntax error near unexpected token
(' /var/home/user/.npm/_npx/69ea572c67615110/node_modules/.bin/cloudflared: line 4:var getFilename = () => fileURLToPath(import.meta.url);'❌ Authentication failed. Please try again.
💡 Configuration saved to:
/var/home/user/.config/opencode-mobile/tunnel-config.json
🎉 Installation complete!
Restart OpenCode (run
opencode) to load the plugin.Use
/mobilein any project to access mobile features.Manual tunnel-setup command doesn't exist
❯ npx opencode-mobile tunnel-setup
Unknown command: tunnel-setup
Run 'npx opencode-mobile --help' for usage.
No instructions in README for manual configuration
of ~/.config/opencode-mobile/tunnel-config.json