PrimeStayOps SOP Generator
Overview
This is the fully offline, isolated SOP (Standard Operating Procedure) generator for vacation rentals. Runs 100% locally on your MX Linux with Chrome Stable — no Docker, no Desktop clutter.
~/PrimeStayOps-SOP-Generator/. No loose files on Desktop.
How to Use (Step-by-Step)
1. Create the Isolated Folder (run once)
mkdir -p ~/PrimeStayOps-SOP-Generator && cd ~/PrimeStayOps-SOP-Generator
2. Create the HTML File + Launch Script
Copy and paste the entire block below into your terminal:
cat > PrimeStayOps-SOP-Generator.html <<'EOF'PrimeStayOps SOP Generator PrimeStayOps SOP Generator
Warning: API key is client-side. For production use a backend proxy.
EOF
cat > launch-sop.sh <<'EOF'
#!/bin/bash
# Auto-start local server + open Chrome
python3 -m http.server 8000 > /dev/null 2>&1 &
SERVER_PID=$!
sleep 2
google-chrome-stable http://localhost:8000/PrimeStayOps-SOP-Generator.html
trap "kill $SERVER_PID 2>/dev/null" EXIT
EOF
chmod +x launch-sop.sh
3. Launch the App
~/PrimeStayOps-SOP-Generator/launch-sop.sh
No security warning! App runs on http://localhost:8000.
4. (Optional) Global Alias
echo 'alias sopgen="~/PrimeStayOps-SOP-Generator/launch-sop.sh"' >> ~/.bashrc && source ~/.bashrc
Then just type sopgen in any terminal.
Quick Test (Mock Mode)
| Field | Example |
|---|---|
| Company Name | PrimeStayOps |
| Team Size | 11-50 |
| Departments | Housekeeping, Maintenance (Ctrl+click) |
| Country | United States |
| State | Florida |
| City | Miami |
| Audience | Internal Team Only |
| Description | Full turnover process after guest checkout including cleaning, linen replacement, and inventory restock. |
Click Generate SOP → 4 tabs appear → Download JSON/Markdown.
Grok API (Free Tier)
- Go to: console.x.ai
- Sign up (email + phone)
- API Keys → Create → Copy key
- Paste into “Grok API Key” field → Generate real SOP
Next Steps
- Add Breezeway/Conduit integration
- Secure backend proxy for keys
- Export to PDF/Word