Skip to content

StarryReverie/aepc

Repository files navigation

Aepc

English | 简体中文

Aepc (a.k.a. Arknights: Endfield Pipeline Calculator) — Endfield's Automated Industry Complex inside your terminal.

built with garnix

Overview

Aepc is a planning utility application for the AIC system in the game Arknights: Endfield, written in Rust.

Plan Tree

Generates tree-style optimal production plans for any item with essential metrics annotated. Arbitrarily complex pipelines are well supported, since Aepc handles:

  • Multi-product recipes
  • Multi-source production for items
  • Cyclic pipelines
  • Inter-recipe byproduct consumption

Usage

Aepc is a TUI application. You can simply run aepc to launch.

  1. Enter a target production flow in the Expected Flow input.
  2. Search and select a target item from the Expected Item List.
  3. The optimal production tree will be displayed in the Plan Tree panel.

Build

Cargo

Aepc uses the 2024 edition, which requires Rust 1.85 or later. The toolchain is pinned to 1.93.1 via rust-toolchain.toml, but any newer stable toolchain should work as well.

Run the following command to build the application:

cargo build --release

To install the binary to ~/.cargo/bin:

cargo install --path .

Nix

A Nix flake is provided. Replace <system> in the commands below with your target platform: x86_64-linux, aarch64-linux, x86_64-darwin, or aarch64-darwin.

Build from the current directory:

# Using Nix flake and Nix command CLI
nix --extra-experimental-features "nix-command flakes" build .#packages.<system>.aepc
# Using traditional and stable Nix
nix-build . -A packages.<system>.aepc

Add the application exported by this flake to your NixOS configuration:

# flake.nix
{
  inputs.aepc.url = "github:StarryReverie/aepc";
  # ...
}

# configuration.nix
{ pkgs, inputs, ... }:
{
  environment.systemPackages = [
    inputs.aepc.packages.${pkgs.stdenv.hostPlatform.system}.aepc
  ];

  # Optional, merge the following lines with your existing configurations
  nix.settings.substituters = [ "https://cache.garnix.io" ];
  nix.settings.trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ];
}

License

The source code of this project is licensed under GPL-3.0-or-later, except the portion that embeds the game data.

Arknights: Endfield is a trademark of Hypergryph. All game-related names, images, and data are the property of Hypergryph. This project is an unofficial fan-made tool and is not affiliated with or endorsed by Hypergryph.

Copyright (C) 2026 Justin Chen

About

a.k.a. Arknights: Endfield Pipeline Calculator — Endfield's Automated Industry Complex inside your terminal.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors