BeamNG.Earth
A 1:1 scale streamed Earth for BeamNG.drive: real elevation and satellite imagery, floating origin, LOD streaming from a companion server
A RPG created by Vitor Santos
Translation pending
GamesTypeScript · JavaScriptGitHub @VicktzZOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Virtual tabletop for RPG campaigns: character sheets, real-time sessions, combat tracking and a custom rule-system builder
Taken from the repository README
Loading the full README.
Read the full README ↗MagitechRPG II started as the companion app for MagitechRPG, an original tabletop system that mixes fantasy and technology, and grew into a platform where game masters can define their own systems. It has been in development since December 2023.
The codebase is about 94,000 lines of TypeScript, with nearly 60 API routes.
For players
For game masters
Roguelite mode
System builder
VIG * 2 + 10, evaluated by
a restricted evaluator (variable substitution, character whitelist, safe
fallback)Platform
| Concern | Choice |
|---|---|
| Framework | Next.js 14 (App Router), React 18, TypeScript |
| UI | Material UI v5, Framer Motion |
| Server state | TanStack Query with persisted cache |
| Forms and validation | React Hook Form, Zod, class-validator |
| Database | Cloud Firestore, accessed through FireORM repositories |
| Real time | Firestore listeners for document sync, Pusher channels for session events |
| Auth | NextAuth (Google, Discord) |
| Payments | Stripe Checkout, customer portal and webhooks |
| Background work | node-cron jobs with run logging |
A few decisions worth calling out:
effectPipe(...effects)(context). Adding an effect
type does not touch the combat loop.RPGSystem document rather than from hardcoded MagitechRPG rules, which is
what makes the system builder possible.app/ Next.js routes: pages, API handlers, admin panel
components/ UI, grouped by domain (campaign, charsheet, admin, subscription)
features/ Self-contained modules: effect pipeline, roguelite mode
services/ Client-side API access, one service per resource
models/ Entities (FireORM), DTOs and shared types
hooks/ Firestore real-time, Pusher, autosave, subscription
utils/ Dice and combat math, formula evaluator, permissions
jobs/ Scheduled jobs
Requires Node.js 20.9 and a Firebase project. Pusher, Stripe and the OAuth providers are needed only for the features that use them.
git clone https://github.com/VicktzZ/MagitechRPG_II.git
cd MagitechRPG_II
npm install
npm run dev
Create .env.local with:
| Variable | Used for |
|---|---|
NEXT_PUBLIC_FIREBASE_*, FIREBASE_CLIENT_EMAIL, FIREBASE_PRIVATE_KEY | Firestore (client and admin SDK) |
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, DISCORD_CLIENT_ID, DISCORD_CLIENT_SECRET | Sign-in |
PUSHER_APP_ID, PUSHER_KEY, PUSHER_SECRET, PUSHER_CLUSTER, NEXT_PUBLIC_PUSHER_KEY | Session events |
STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET, STRIPE_PRICE_PREMIUM, STRIPE_PRICE_PREMIUM_PLUS, NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY | Subscriptions |
NEXT_PUBLIC_APP_URL | Redirect URLs |
Scripts: npm run dev, npm run build, npm run lint, npm test.
Actively developed. The interface is in Portuguese. Automated test coverage is thin: Jest is configured, but most verification so far has been manual.