π¬ Join our Discord community for bugs, suggestions, or just chatting!
Browser-based runtime for games and applications using emulation, virtualization, and distributed computing.
Bellum enables running retro games and applications directly in the browser:
- HTML5 Games - 20,000+ games from GameDistribution
- Windows Emulation - Windows 98 via v86 emulator
- Android Emulation - Experimental Android support
- Cloud Storage - Distributed storage via Discord/Telegram
- P2P Clustering - Distributed computing across browser instances
- Google Compute Offloading - Free cloud compute via Google Translate infrastructure
- Dual Platform Deployment - Optimized for both Vercel and Cloudflare Pages
βββββββββββββββββββββββββββββββββββββββββββββββ
β Bellum Frontend (Next.js) β
βββββββββββββββββββββββββββββββββββββββββββββββ
β β β
βΌ βΌ βΌ
ββββββββββββ ββββββββββββ ββββββββββββ
β Games β β v86 β β Cloud β
β System β β Emulator β β Storage β
ββββββββββββ ββββββββββββ ββββββββββββ
β β β
βββββββββββββββββββ΄βββββββββββββββββ
β
βΌ
ββββββββββββββββββββ
β IndexedDB/OPFS β
ββββββββββββββββββββ
# Install dependencies
npm install
# Run development server
npm run dev
# Open in browser
# Navigate to http://localhost:3000- Games Page (
/games) - Browse and play 20,000+ HTML5 games - Windows Page (
/windows) - Run Windows 98 in browser via v86 - Android Page (
/android) - Experimental Android emulation - Library Page (
/library) - Upload and run APK/EXE files - Storage Page (
/storage) - Cloud file storage via Discord
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS v4, Framer Motion, shadcn/ui, Magic UI
- Storage: IndexedDB (via HiberFile), Discord/Telegram webhooks
- Emulation: v86 (x86 emulator)
- Compression: fflate (gzip), optional WASM
- Auth: Firebase Authentication
- Deployment: Vercel (primary), Cloudflare Pages (unlimited bandwidth)
- Compute: Google Translate infrastructure for offloading web-based tasks
- β HTML5 Games: Browse and play 20,000+ games
- β Windows Emulation: Windows 98 via v86
- β Cloud Storage: File storage using Discord/Telegram
- β Authentication: Firebase auth with device fingerprinting
- β Compression: Automatic file compression (gzip/zstd)
- β Google Compute Offloading: Route web-based tasks to Google's infrastructure
- β Dual Platform Support: Deploy to both Vercel and Cloudflare
- β Modern UI: shadcn/ui and Magic UI components with matte design
- β Security Headers: Comprehensive security hardening (HSTS, COOP/COEP, CSP)
β οΈ Android Emulation: Basic Android support via v86β οΈ APK/EXE Upload: File upload with basic executionβ οΈ P2P Clustering: Distributed computing (in development)
- β Native Binary Execution: JIT/GPU runtime are stubs
- β High Performance: No actual GPU compute or JIT
- β Full OS Support: Limited to what v86 can emulate
- XML parser for 20,000+ game catalog
- Service worker for CORS proxy
- Virtual scrolling for performance
- Game install/save to library
- x86 emulation for Windows/DOS
- Disk image loading from storage
- Screen rendering to canvas
- Input handling (keyboard/mouse)
- IndexedDB for local storage
- Chunked file storage (4MB chunks)
- Compression support (gzip/zstd)
- Cloud archival to Discord/Telegram
- Hot/cold storage tiers
- GPU Benchmarking: WebGPU matrix multiply benchmark
- JIT Stubs: Architecture for future JIT (not functional)
- Binary Parser: PE/DEX format detection (basic)
- Minimum: Chrome 90+, Firefox 90+, Safari 14+
- Recommended: Chrome 113+ or Edge 113+ for WebGPU features
- Required: IndexedDB support, JavaScript enabled
- Optional: SharedArrayBuffer for better performance (requires HTTPS)
# Install dependencies
npm install
# Run development server
npm run dev
# Build for production (Vercel)
npm run build
# Build for Cloudflare Pages
npm run build:cloudflare
# Deploy to Cloudflare
npm run deploy:cloudflare
# Build WASM modules (optional)
npm run build:wasm- Automatic deployment on push to
main - Fast builds (~1 min)
- 100GB/month bandwidth
- Unlimited bandwidth
- Edge runtime compatibility
- Build command:
npm run build:cloudflare - Output directory:
.vercel/output/static
- Automatically routes web-based JavaScript tasks to Google's datacenter infrastructure
- Reduces cluster load by 30-50%
- Free cloud compute for web applications
- See lib/google-compute/README.md for details
- Comprehensive security headers (HSTS, COOP/COEP, CSP)
- Route-specific security policies
- Cross-origin isolation for VM routes
- Production-ready security hardening
- shadcn/ui components
- Magic UI effects (shimmer, gradients, animations)
- Professional matte color scheme
- Responsive design with smooth animations
- Emulation Speed: v86 is significantly slower than native
- Binary Execution: Limited to what v86 can emulate
- WebGPU: Only available in Chrome/Edge 113+
- CORS: Some games may fail to load due to CORS restrictions
- Storage: Discord/Telegram have file size limits (25MB)
- Google Compute: Rate-limited, suitable for web-based tasks only
MIT License - See LICENSE file for details