AI Amplifies. I Create.
A complete Progressive Web App ecosystem showcasing 4 AI-powered automation products for South African businesses.
- Orion Legal Suite (R7,555) - AI-powered legal practice management with immediate payment
- Orion Hotel Suite (Custom pricing) - 24/7 AI concierge with quote request system
- Orion mPOS (R3,848) - Mobile point of sale with immediate payment
- Orion Surge (FREE) - Token-based crash game with registration system
- Frontend: HTML5, CSS3, Vanilla JavaScript
- PWA: Service Workers, Web App Manifest
- Backend: Google Apps Script
- Database: Google Sheets
- AI: Google Gemini 2.0 Flash
- Payments: Yoco (South African gateway)
- Notifications: Discord webhooks
- Hosting: GitHub Pages
-
Create/Update Your GitHub Repository
cd website git add . git commit -m "Deploy Orion Dev Core PWA ecosystem" git push origin main
-
Enable GitHub Pages
- Go to repository Settings → Pages
- Source:
mainbranch,/ (root)folder - Save and wait for deployment
- Your site will be at:
https://oriondevcore.github.io/website/
-
Add Your App Icons
- Create/upload these images to
icons/folder:orion-core.png(512x512px)legal.png(192x192px)hotel.png(192x192px)mpos.png(192x192px)surge.png(192x192px)
- Create/upload these images to
-
Create New Google Sheet
- Go to Google Sheets
- Create new spreadsheet: "Orion Dev Core - Leads Database"
- Copy the Sheet ID from URL:
https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID_HERE/edit
-
Sheet Configuration
- The script will auto-create these tabs on first submission:
Demo_Legal- Legal Suite purchasesDemo_Hotel- Hotel quote requestsDemo_mPOS- mPOS purchasesDemo_Surge- Surge registrations
- The script will auto-create these tabs on first submission:
-
Create Apps Script Project
- Open your Google Sheet
- Extensions → Apps Script
- Delete default code
- Copy-paste Code.gs Part 1 (main handlers)
- Copy-paste Code.gs Part 2 (helper functions) below Part 1
-
Update Configuration Find this line in Code.gs:
const SHEET_ID = 'YOUR_GOOGLE_SHEET_ID_HERE';
Replace with your actual Sheet ID.
-
Set Script Properties
- Project Settings (⚙️ icon) → Script Properties
- Add these properties:
Property Value Where to Get It GEMINI_API_KEYAIza...Get Gemini API Key YOCO_SECRET_KEYsk_live_...Yoco Dashboard → Developers DISCORD_WEBHOOK_URLhttps://discord.com/api/webhooks/...Discord Server → Integrations → Webhooks WEATHER_API_KEY(Optional) OpenWeatherMap -
Deploy as Web App
- Click Deploy → New deployment
- Type: Web app
- Description: "Orion Dev Core Backend v1"
- Execute as: Me (graham@oriondevcore.com)
- Who has access: Anyone
- Click Deploy
- Copy the Web App URL - you'll need this!
-
Test the Setup
- Run the
testSetup()function from Apps Script editor - Check execution log for ✓ confirmations
- Check your Discord for test notification
- Run the
Update the SCRIPT_URL in ALL HTML files:
- index.html (line ~351)
- demos/legal.html (line ~288)
- demos/hotel.html (line ~353)
- demos/mpos.html (line ~316)
- demos/surge.html (line ~371)
Replace:
const SCRIPT_URL = 'YOUR_GOOGLE_APPS_SCRIPT_URL_HERE';With your actual Web App URL:
const SCRIPT_URL = 'https://script.google.com/macros/s/YOUR_DEPLOYMENT_ID/exec';Save and push to GitHub!
-
Create Discord Server (if you don't have one)
- Create new server or use existing
- Create channel:
#orion-notifications
-
Create Webhook
- Channel Settings → Integrations → Webhooks
- Create Webhook
- Name: "Orion Dev Core Bot"
- Copy Webhook URL
- Add to Script Properties (you did this in Step 3)
-
Test Notification
- Run
testSetup()function in Apps Script - Check Discord for "SYSTEM TEST" message
- Run
-
Create/Login to Yoco Account
- Go to portal.yoco.com
- Complete business verification
-
Get API Keys
- Developers → API Keys
- Copy your Secret Key (starts with
sk_live_) - Add to Script Properties (Step 3)
-
Test Payment Flow
- Submit a demo form (use test email)
- Verify redirect to Yoco payment page
- Check Discord for notification
- Check Google Sheet for entry
- Page loads correctly
- All 4 app cards display with icons
- AI chat widget appears (bottom right)
- Chat opens when clicked
- Send test message → AI responds
- Demo buttons link to correct pages
- Form loads with all fields
- Submit form → redirects to Yoco
- Entry appears in Google Sheet
Demo_Legaltab - Discord notification received
- Pricing displayed correctly (R7,555)
- Star rating tiers display correctly
- Form submission → success message
- Entry in
Demo_Hoteltab - Discord notification with quote details
- Email sent to client
- Form loads and validates
- Submit → Yoco redirect
-
Demo_mPOSsheet updated - Discord notification
- Pricing shown (R3,848)
- Registration form works
- Username validation (alphanumeric + underscore)
- Duplicate username prevented
-
Demo_Surgesheet updated - Welcome email sent
- Discord notification
- Manifest.json loads (check DevTools → Application)
- Service Worker registers
- "Add to Home Screen" prompt appears
- Works offline (cached pages load)
- Icons display correctly when installed
All submissions automatically save to your Google Sheet:
- Demo_Legal - Track legal suite purchases
- Demo_Hotel - Monitor hotel quote requests
- Demo_mPOS - See mPOS orders
- Demo_Surge - Player registrations
Real-time alerts for:
- 💳 New purchases (Legal & mPOS)
- 📧 Quote requests (Hotel)
- 🎮 New player registrations (Surge)
⚠️ System errors or issues
Track payments and transactions:
- portal.yoco.com → Transactions
- Filter by product name
- Export for accounting
Edit CSS variables in each HTML file:
:root {
--primary: #0a192f; /* Dark blue background */
--secondary: #112240; /* Lighter blue */
--accent: #64ffda; /* Teal/cyan accent */
--text: #8892b0; /* Light gray text */
--text-bright: #ccd6f6; /* Bright white text */
}Find and replace prices in:
- Brochure text (HTML content)
- JavaScript amount values (in cents)
- Google Sheet formulas
Edit systemPrompt in Code.gs handleChat() function.
- Check Gemini API key in Script Properties
- Verify quota limits: Google AI Studio
- Check Apps Script execution logs
- Verify Yoco Secret Key (must start with
sk_live_) - Check Yoco account status
- Review Apps Script logs for errors
- Verify webhook URL is correct
- Check webhook hasn't been deleted
- Test with
testSetup()function
- Check browser console for errors (F12)
- Verify Apps Script Web App URL is correct
- Ensure Apps Script is deployed with "Anyone" access
- Clear cache: DevTools → Application → Clear storage
- Unregister and re-register service worker
- Hard refresh: Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
- Open site in Safari
- Tap Share button
- "Add to Home Screen"
- Test installed app
- Open site in Chrome
- Tap menu (3 dots)
- "Add to Home Screen"
- Test installed app
- All API keys configured and tested
- Yoco account verified and live
- Test each demo flow end-to-end
- Verify Discord notifications working
- Check email delivery
- Test on mobile devices
- Update contact information everywhere
- Backup Google Sheet
- Share website URL:
https://oriondevcore.github.io/website/ - Create QR codes for each demo
- Social media posts ready
- Email signature updated
- Business cards printed
Add Google Analytics to track:
- Page views
- Demo form submissions
- Conversion rates
- User flow
Add before </head> in all HTML files:
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>✅ What's Secure:
- All API keys stored server-side (Apps Script Properties)
- HTTPS enforced by GitHub Pages
- Yoco handles all payment processing (PCI compliant)
- POPIA compliant data handling
- Never commit API keys to GitHub
- Keep Yoco secret keys private
- Regularly rotate API keys
- Monitor Discord for suspicious activity
Graham Schubach
📱 WhatsApp/Call: +27 72 497 1810
📧 Email: graham@oriondevcore.com
🌐 Website: www.oriondevcore.com
💻 GitHub: github.com/Oriondevcore
© 2026 Orion Dev Core. All rights reserved.
Built with ❤️ in KwaZulu-Natal, South Africa
AI Amplifies. I Create. ⚡
Your complete PWA ecosystem is ready. Every piece is connected:
- ✅ Frontend hosted on GitHub Pages
- ✅ Backend powered by Google Apps Script
- ✅ Payments via Yoco
- ✅ Real-time notifications via Discord
- ✅ AI chat with Gemini
- ✅ Data storage in Google Sheets
Go change South African business automation! 🚀⚡