A self-hostable web application for cataloging and managing your Magic: The Gathering card collection. Built with React and PocketBase for easy deployment and management. This project is my first stab at trying vibe coding. The frontend is mostly generated by Claude.
- 📱 Responsive web interface for desktop and mobile
- 🔍 Search and add cards to your collection
- 📊 Collection statistics and dashboard
- 🏷️ Track card condition, quantity, and notes
- 🐳 Docker support for easy deployment
- 💾 Self-hosted with PocketBase backend
-
Clone the repository
git clone <repository-url> cd spell-binder
-
Open in VSCode Developement Container
-
Start the development servers
Run the VSCode task "Start Pocketbase"
In a terminal, start the React development server:
npm run dev
-
Access the application
- React app: http://localhost:3000
- PocketBase admin: http://localhost:8090/_/
-
Using Docker Compose (Recommended)
docker-compose up --build
-
Using Docker directly
npm run docker:build npm run docker:run
-
Access the application
- Application: http://localhost:8080
- PocketBase admin: http://localhost:8080/_/
Copy .env.example
to .env
and configure:
# PocketBase Configuration
PB_ENCRYPTION_KEY=your-encryption-key-here
# Development Configuration
VITE_POCKETBASE_URL=http://localhost:8090
This project is licensed under the MIT License - see the LICENSE file for details.