Endfield Calc is a production chain calculator for Arknights: Endfield that helps players plan resource requirements, production ratios, and facility needs—including circular production loops.
- Multi-target planning with automatic dependency resolution
- Smart recipe selection with circular dependency handling
- Real-time calculation of facility counts and power consumption
- Manual raw material marking for flexible supply chain control
- Comprehensive production breakdown with all metrics
- Interactive hover: Highlight upstream dependencies on mouse hover
Two visualization modes for different planning needs:
Recipe View: Aggregates facilities by recipe type, shows total requirements
- Best for overall recipe optimization and material flow overview
Facility View: Shows each individual facility as a separate node
- Best for detailed capacity planning and load balancing
- Displays capacity utilization and precise material allocation
Both modes feature interactive flow diagrams, cycle visualization, and flow rate labels.
- Framework: React 18 + TypeScript + Vite
- Visualization: React Flow with Dagre layout
- UI: Radix UI + Tailwind CSS
- i18n: react-i18next
Visit https://JamboChen.github.io/endfield-calc
git clone https://github.com/JamboChen/endfield-calc.git
cd endfield-calc
pnpm install
pnpm run devStep 1: Build the image via GitHub Actions
The image is hosted on GitHub Container Registry and must be built first. Go to your repository on GitHub:
Actions → Docker Build and Push → Run workflow
This pushes the image to ghcr.io/your_username/endfield-calc:latest.
Step 2: Run with Docker Compose
Edit compose.yaml and replace the placeholder values:
services:
endfield-calc:
image: ghcr.io/your_username/endfield-calc:latest
ports:
- "your_port:80"
restart: unless-stoppedThen run:
docker compose up -dBuild locally
If you prefer to build the image on your own machine instead of using GitHub Actions:
git clone https://github.com/JamboChen/endfield-calc.git
cd endfield-calc
docker compose -f - up -d <<EOF
services:
endfield-calc:
build: .
ports:
- "your_port:80"
restart: unless-stopped
EOFOr edit compose.yaml to replace image: with build: . and run docker compose up -d --build.
Contributions welcome! See CONTRIBUTING.md for guidelines.
MIT License - see LICENSE
Note: Fan-made tool, not officially affiliated with Arknights: Endfield.

