https://github.com/flexsurfer/starrupture-planner
The ultimate production planning tool for Star Rupture game - plan, optimize, and have fun!
https://github.com/flexsurfer/starrupture-planner
game-tools production-planner react resource-management typescript
Last synced: about 1 month ago
JSON representation
The ultimate production planning tool for Star Rupture game - plan, optimize, and have fun!
- Host: GitHub
- URL: https://github.com/flexsurfer/starrupture-planner
- Owner: flexsurfer
- License: mit
- Created: 2025-08-06T15:25:28.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T17:20:53.000Z (2 months ago)
- Last Synced: 2025-08-08T18:27:11.741Z (2 months ago)
- Topics: game-tools, production-planner, react, resource-management, typescript
- Language: TypeScript
- Homepage: https://www.starrupture-planner.com/
- Size: 770 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Rupture Planner
**The Ultimate Production Planning Tool for Star Rupture**
*Plan, optimize, and have fun with perfect resource management!* ๐
[](https://reactjs.org/)
[](https://www.typescriptlang.org/)
[](https://vitejs.dev/)
[](https://tailwindcss.com/)[๐ฎ Open Planner](https://www.starrupture-planner.com) โข [๐ Contribute](https://github.com/flexsurfer/starrupture-planner/blob/main/CONTRIBUTING.md)
---
## โจ What is Rupture Planner?
Rupture Planner is a **free, open-source production planning tool** designed for the Star Rupture game. Whether you're a casual builder or a min-maxing efficiency expert, this tool helps you:
- ๐ญ **Visualize complex production chains** with interactive flow diagrams
- ๐ **Calculate exact building requirements** for any production target
- ๐ฏ **Optimize resource allocation** and eliminate bottlenecks
- ๐ **Browse all items and recipes** with advanced filtering
- ๐ **Work in comfort** with beautiful light/dark themes*Built by gamers, for gamers - just for the fun of it!* ๐
---
## ๐ Features
### ๐ฆ **Smart Item Catalog**
- Browse all game items with beautiful icons
- Filter by type: Raw Materials, Processed, Components, Ammo
- Color-coded categories for instant recognition
- Responsive grid layout that adapts to your screen### โ๏ธ **Interactive Recipe Browser**
- Collapsible building sections (closed by default for clean browsing)
- Visual input/output relationships with item icons
- Production rates clearly displayed for each recipe
- Hover effects and smooth animations### ๐ญ **Advanced Production Planner**
- **Interactive Flow Diagrams**: See your entire production chain at a glance
- **Smart Auto-Layout**: Uses Dagre algorithm for optimal node positioning
- **Visual Production Flow**: Item icons on edges show what flows where
- **Building Count Calculator**: Automatically calculates exact requirements
- **Lazy Loading**: Optimized bundle splitting for fast initial load
- **Auto-Fit View**: Automatically centers and scales diagrams when switching items
- **Zoom & Pan**: Full navigation controls with minimap### ๐จ **Beautiful User Experience**
- Modern, responsive design with Tailwind CSS + DaisyUI
- Smooth animations and transitions
- Light/Dark theme toggle
- Intuitive tab-based navigation---
## ๐ Quick Start
### Prerequisites
- **Node.js** 18+
- **npm** or **yarn**### Installation
```bash
# Clone the repository
git clone https://github.com/flexsurfer/starrupture-planner.git
cd starrupture-planner# Install dependencies
npm install# Start development server
npm run dev
```๐ **That's it!** Open `http://localhost:5173` and start planning your galactic empire!
### Build for Production
```bash
# Create optimized build
npm run build# Preview production build
npm run preview
```---
## ๐ Tech Stack
This project uses modern, cutting-edge technologies:
| Technology | Purpose | Version |
|------------|---------|---------|
| **โ๏ธ React** | UI Framework | 19.1.0 |
| **๐ TypeScript** | Type Safety | 5.8.3 |
| **โก Vite** | Build Tool | 7.0.4 |
| **๐จ Tailwind CSS** | Styling | 4.1.11 |
| **๐ธ DaisyUI** | UI Components | 5.0.50 |
| **๐ React Flow** | Interactive Diagrams | 12.8.2 |
| **๐ Dagre** | Graph Layout | 0.8.5 |
| **๐ฅ Reflex** | State Management | 0.1.12 |
| **๐งช Vitest** | Testing | 3.2.4 |---
## ๐ Project Structure
```
starrupture-planner/
โโโ ๐ README.md # You are here!
โโโ ๐จ assets/ # Static assets (images, icons)
โ โโโ icons/
โ โโโ buildings/ # Building icons
โ โโโ items/ # Item icons
โโโ ๐๏ธ src/
โ โโโ components/ # React components
โ โ โโโ planner/ # Production planner logic
โ โ โโโ ui/ # Reusable UI components
โ โโโ state/ # Reflex state management
โ โโโ data/ # Game data (JSON)
โโโ ๐ฆ dist/ # Production build
โโโ โ๏ธ config files # Vite, TypeScript, ESLint
```---
## ๐ฎ How to Use
### 1. **Browse Items** ๐ฆ
- Click the **Items** tab to explore all game items
- Use category filters to find what you need
- Each item shows its type with color coding### 2. **Explore Recipes** โ๏ธ
- Visit the **Recipes** tab to see all production recipes
- Click on any building header to expand/collapse its recipes
- Visual flow shows inputs โ building โ outputs### 3. **Plan Production** ๐ญ
- Go to the **Planner** tab for advanced planning
- Select any item from the dropdown
- Set your target production rate
- Watch the magic happen! โจThe planner will:
- Calculate exact building counts needed
- Show the complete supply chain
- Display item flow rates between buildings
- Auto-arrange everything in a clean diagram---
## ๐ค Contributing
We love contributors! Whether you're fixing bugs, adding features, or improving docs, every contribution makes Rupture Planner better.
### ๐ Found a Bug?
1. Check [existing issues](https://github.com/flexsurfer/starrupture-planner/issues)
2. Create a new issue with:
- Clear description
- Steps to reproduce
- Expected vs actual behavior
- Screenshots if applicable### ๐ก Have an Idea?
1. Open an issue to discuss your idea
2. We'll help you shape it into an actionable plan
3. Fork, code, and submit a PR!### ๐ Development Workflow
```bash
# 1. Fork and clone
git clone https://github.com/flexsurfer/starrupture-planner.git
cd starrupture-planner# 2. Create feature branch
git checkout -b feature/awesome-feature# 3. Install and start
npm install
npm run dev# 4. Code your magic โจ
# ... make your changes ...# 5. Test everything
npm run test
npm run lint# 6. Commit and push
git commit -m "Add awesome feature"
git push origin feature/awesome-feature# 7. Create Pull Request
```### ๐ Contribution Guidelines
- **Code Style**: We use ESLint + Prettier (runs automatically)
- **Testing**: Add tests for new features
- **Documentation**: Update README if needed
- **Small PRs**: Keep changes focused and reviewable
- **Have Fun**: This is a fun project - enjoy the process! ๐### ๐จ Adding New Game Data
Game data lives in `src/data/`:
- `items_catalog.json` - All game items
- `buildings_and_recipes.json` - Buildings and their recipesTo add new items/buildings:
1. Update the JSON files
2. Add corresponding icon images to `assets/icons/`
3. Test in the app
4. Submit a PR!---
## ๐ License
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
**TL;DR**: Free to use, modify, and share. Just give credit where it's due! ๐
---
## ๐ฏ Roadmap
Exciting features coming soon:
- [ ] ๐ง **Recipe Optimization**: Find the most efficient production setups
- [ ] ๐พ **Save/Load Plans**: Bookmark your favorite production chains
- [ ] ๐ **Advanced Search**: Find items by name, type, or usage
- [ ] ๐ **Resource Calculator**: Calculate total raw material needs
- [ ] ๐ **Multiplayer Planning**: Share plans with your team
- [ ] ๐ฑ **Mobile App**: Take your plans on the go
- [ ] ๐จ **Custom Themes**: Personalize your planning experience---
## ๐โโ๏ธ FAQ
**Q: Is this official?**
A: Nope! This is a fan-made tool built for fun by the community.**Q: Is it free?**
A: 100% free, open-source, and always will be!**Q: Can I contribute?**
A: Absolutely! We welcome all skill levels.**Q: Does it work on mobile?**
A: It's responsive and works on mobile, but desktop is recommended for complex planning.**Q: What if the game updates?**
A: We'll update the data files to match. Community help is always welcome!---
## ๐ Acknowledgments
- **Star Rupture** community for inspiration
- **React Flow** team for amazing diagram capabilities
- **Tailwind CSS** & **DaisyUI** for beautiful styling
- All contributors and users who make this project awesome!---
**Made with โค๏ธ by gamers, for gamers**
*May your production lines be efficient and your resources abundant!* ๐
โญ **Star this repo if it helped you!** โญ
[๐ Report Bug](https://github.com/flexsurfer/starrupture-planner/issues) โข
[๐ก Request Feature](https://github.com/flexsurfer/starrupture-planner/issues) โข
[๐ค Contribute](https://github.com/flexsurfer/starrupture-planner/pulls)