Interactive Web Demo — Try LuciferAI directly in your browser
A fully-functional web-based simulation of LuciferAI_Local, demonstrating the self-healing terminal assistant, fallback tiers, and FixNet capabilities.
Live Demo: https://luciferai-playground.pages.dev
The LuciferAI Playground is an interactive terminal simulator that lets you experience LuciferAI without installation. It:
✅ Pulls live data from the LuciferAI_Local repository
✅ Displays real demo scripts from the Demo/ folder
✅ Shows current model tiers and capabilities
✅ Simulates the 5-tier fallback system
✅ Demonstrates auto-fix workflows
The playground automatically syncs with the main LuciferAI_Local repository to show:
- Latest commit information (SHA, author, date)
- Real demo scripts from the Demo/ folder
- Current model tiers from the README
- Repository statistics (stars, forks, issues)
Try these commands in the playground terminal:
demos # List all demo scripts from GitHub
view <filename> # View a demo file's content
repo status # Show repository info and latest commit
sync # Refresh data from GitHubllm list # Show model tiers (live from repo)
models info # Model tier system info
what is python? # Ask questions (simulated response)fallback test # Demo the 5-tier fallback system
fixnet stats # FixNet statistics
fixnet sync # Sync with FixNetrun demo.py # Run a script (simulated)
fix broken.py # Auto-fix with step-by-step output
create file test.py # Create a script templatebadges # Show badge collection
soul # Check soul status
session # Session informationFetches live data from GitHub using:
- GitHub API for directory listings and repo stats
- Raw GitHub content for file contents
- 5-minute caching to respect rate limits
Simulates LuciferAI commands with:
- Realistic output matching the real system
- Step-by-step demonstrations
- Syntax highlighting for code
- Multi-tier model routing simulation
Uses xterm.js for:
- Full ANSI color support
- Command history (Up/Down arrows)
- Tab autocomplete
- Keyboard shortcuts (Ctrl+C, Ctrl+L)
LuciferAI_Playground/
├── index.html # Main page
├── css/
│ └── terminal.css # Terminal styling
├── js/
│ ├── repo-sync.js # GitHub integration (NEW!)
│ ├── lucifer-sim.js # Command simulator (UPDATED!)
│ ├── terminal.js # Terminal controller
│ ├── fallback-demo.js # Fallback tier demo
│ └── os-paths.js # OS-specific paths
├── models/ # Model placeholders
└── README.md # This file
The playground automatically stays up-to-date with LuciferAI_Local:
- Fetches latest README.md
- Lists Demo/ folder contents
- Gets latest commit info
- Updates repo statistics
sync # Force refresh from GitHub- ✅ Model tier information from README
- ✅ Demo script listings
- ✅ Demo file contents (on-demand)
- ✅ Latest commit SHA and message
- ✅ Repository stars, forks, issues
- ❌ Actual LLM inference (responses are templated)
- ❌ File system operations (simulated)
- ❌ Real script execution (output is mocked)
-
Clone the repository:
git clone https://github.com/GareBear99/LuciferAI_Playground.git cd LuciferAI_Playground -
Serve locally:
# Python 3 python3 -m http.server 8000 # Or Node.js npx http-server -p 8000
-
Open browser:
http://localhost:8000
# Open browser console (F12) and check:
console.log(window.RepoSync.cache);You should see:
readme- Parsed README datademoFiles- Array of demo scriptslastFetch- Timestamp of last sync
-
Add command handler in
lucifer-sim.js:case 'mycommand': return this.myCommandOutput();
-
Implement output function:
myCommandOutput() { return [ '', '\\x1b[35mMy Command Output\\x1b[0m', '\\x1b[2m─────────────────\\x1b[0m', '' ]; }
-
Update help command to include your new command
The playground is automatically deployed to Cloudflare Pages:
- Push to
masterbranch - Cloudflare Pages automatically builds and deploys
- Live at:
https://luciferai-playground.pages.dev
# Commit changes
git add .
git commit -m "Update playground"
git push origin master
# Cloudflare Pages will auto-deploy in ~1 minuteTested on:
- ✅ Chrome 90+
- ✅ Firefox 88+
- ✅ Safari 14+
- ✅ Edge 90+
Note: Requires JavaScript enabled for full functionality.
| Project | Description | Link |
|---|---|---|
| LuciferAI_Local | Main project - fully local AI terminal assistant | GitHub |
| LuciferAI_FixNet | Collaborative fix repository | GitHub |
| LuciferAI_Playground | This project - web demo | GitHub |
- Zero Installation - Try before you install
- Instant Access - No setup, no dependencies
- Always Updated - Pulls latest features from repo
- Shareable - Send link to anyone
- Educational - See how LuciferAI works
- No Real LLM - Responses are simulated
- No File System - Operations are mocked
- No Persistence - Session resets on refresh
- Network Required - Needs GitHub API access
Contributions welcome! Please:
- Fork the repo
- Create a feature branch
- Test locally
- Submit a pull request
- Better syntax highlighting
- More realistic LLM response simulation
- Save/share terminal sessions
- Mobile-optimized layout
- Dark/light theme toggle
MIT License - Same as LuciferAI_Local
- Built with xterm.js
- Inspired by Warp Terminal
- Part of the LuciferAI ecosystem
- 🐛 Report Issues
- 💬 Discussions
- ❤️ Sponsor
Made with 🩸 by LuciferAI
"Forged in Silence, Born of Neon."