This script automatically detects your Lute installation and deploys the PWA files in the correct location.
- Download or clone LuteForMobile:
# Download zip and extract
# OR clone repo:
git clone https://github.com/schlick7/LuteForMobile.git
cd LuteForMobile- Run the setup script:
python3 setup_pwa.pyuse python setup_pwa.py if python3 is not available.
That's it! The script will:
- ✅ Auto-detect your Lute installation (pip/venv, Docker, or source)
- ✅ Find the correct static directory
- ✅ Copy all PWA files
- ✅ Fix the base href automatically
- ✅ Show you the URL to access the PWA
After setup completes, open in your browser:
http://YOUR_LUTE_IP:5001/static/luteformobile/index.html
Important: You must include /index.html at the end!
- Open the PWA on your mobile device
- Go to Settings → Server URL
- Enter:
http://YOUR_LUTE_IP:5001/ - Click "Test Connection"
For manual setup instructions, see PWA_SETUP_GUIDE.md
Make sure Lute is installed:
# For pip installation:
pip install lute3
# Or clone the source repo:
git clone https://github.com/LuteOrg/lute-v3.gitAfter running the script, try accessing with full URL:
http://YOUR_LUTE_IP:5001/static/luteformobile/index.html
The /index.html is required - Flask doesn't auto-serve it from directories.
If the script cannot choose the right install automatically, use the manual setup section in PWA_SETUP_GUIDE.md.
See the full PWA_SETUP_GUIDE.md for detailed information about:
- Docker deployments
- Manual setup
- Windows paths
- CORS troubleshooting