Macgamingdb
MacGamingDB | Apple Silicon Mac Games – Compatibility & Benchmarks
Install / Use
/learn @neo773/MacgamingdbREADME
MacGamingDB
A community-driven database for gaming performance on Apple Silicon Macs.
MacGamingDB allows users to search for games and see how well they run on different Mac models with Apple Silicon chips (M1, M2, M3, M4). Users can contribute their own performance reviews, helping the community make informed decisions about game compatibility and performance.
<img width="800" alt="Screenshot 2025-12-25 at 12 23 37 AM" src="https://github.com/user-attachments/assets/ff91d46b-aecf-445d-8158-7fc66c52bf40" />Tech Stack
- Framework: Next.js 15 (App Router)
- Language: TypeScript
- Authentication: BetterAuth
- Database:
- Prisma ORM
- SQLite (Development)
- Turso (LibSQL) for production
- API Layer: tRPC for type-safe APIs
- External APIs:
- Steam API for game data
- Styling: Tailwind CSS
- Components: Custom components with Shadcn UI
- Email:
- Resend for email communications
- React Email for email templates
Packages
This is a monorepo with the following packages:
@macgamingdb/server
Location: packages/server
The backend package containing shared server-side utilities:
- tRPC Routers - Type-safe API endpoints (game, review, contributor, traffic)
- Prisma Database - Database client and utilities
- Authentication - BetterAuth integration
- Steam API - Steam API integration for game data
- Scrapers - EveryMac scraper for Mac specifications
- Utilities - Performance calculations, rating conversions, chipset combinations
@macgamingdb/emails
Location: packages/emails
Email templates built with React Email:
- Magic Link - Authentication magic link email template
Run bun run dev in the package directory to preview emails in browser.
Project Structure
macgamingdb/
├── src/
│ ├── app/ # Next.js App Router pages
│ ├── components/ # React components
│ ├── lib/ # Utility functions and hooks
│ │ ├── auth/ # Authentication utilities
│ │ ├── database/ # Database client and helpers
│ │ ├── hooks/ # Custom React hooks
│ │ └── igdb/ # IGDB API integration
│ └── server/ # Server-side code
│ ├── helpers/ # Server utility functions
│ ├── routers/ # tRPC routers
│ └── schema/ # Schema definitions
├── packages/
│ ├── emails/ # @macgamingdb/emails - Email templates
│ └── server/ # @macgamingdb/server - Backend utilities
├── scripts/ # Database migration and population scripts
└── prisma/ # Prisma ORM configuration and schema
Development
- Clone the repository
- Install dependencies:
bun install - Set up environment variables (see
.env.example) - Generate Prisma client:
bunx prisma generate - Create the local database:
bun run prisma:db-push-local- This generates
packages/server/prisma/dev.db- use this path forLIBSQL_DATABASE_URLin your.env
- This generates
- Run the development server:
bun run dev
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
