tools for prosperous universe

Thomas Knott 5c94ec0b6f Add_Dynamic_OpEx_CapEx_Revenue_Permutations 2 недель назад
__pycache__ 6d59a71e12 Automate_Bun_Install_in_Dev_Orchestrator 2 недель назад
cache 6d59a71e12 Automate_Bun_Install_in_Dev_Orchestrator 2 недель назад
node_modules 1328f22417 Pivot_To_Native_Bash_Orchestration 2 недель назад
prunplanner 6492f0ebf6 handle prunplanner backend v2 3 месяцев назад
punoted c5584c0957 punoted storage search 4 недель назад
ts 5c94ec0b6f Add_Dynamic_OpEx_CapEx_Revenue_Permutations 2 недель назад
www 5c94ec0b6f Add_Dynamic_OpEx_CapEx_Revenue_Permutations 2 недель назад
.gitignore 5e4b361fea corps 2 недель назад
bun.lock aa3b1407a8 gov: show POPR timestamp 2 месяцев назад
buy.py 39df46446d buy: consider the entire empire's consumption 1 месяц назад
cache.py e0b17ac958 Remove_CBOR2_Migrate_To_JSON 2 недель назад
company.py 28f7da681a company: get one expertise per mat 1 месяц назад
config.py c772b15403 market: convert to a market making tool 2 недель назад
cx_spend.py 2d48715345 cx_spend: take CX as an argument 4 месяцев назад
dev.sh 1328f22417 Pivot_To_Native_Bash_Orchestration 2 недель назад
export_logistics.py 5c223c7afb export logistics 2 месяцев назад
fx.py 6492f0ebf6 handle prunplanner backend v2 3 месяцев назад
integration.py ac205e481f integration: show companies consuming 3 месяцев назад
market.py c772b15403 market: convert to a market making tool 2 недель назад
mat_competitors.py 36205bbe40 mat_competitors: handle missing company IDs in pmmg 1 месяц назад
movers.py 9270f267a8 movers: handle NPC asks 3 месяцев назад
package.json 5e4b361fea corps 2 недель назад
planet_bases.py a1fca9c0cb planet_bases: get usernames and corp codes 3 недель назад
pyproject.toml e0b17ac958 Remove_CBOR2_Migrate_To_JSON 2 недель назад
readme.md 1328f22417 Pivot_To_Native_Bash_Orchestration 2 недель назад
roa.py 58ac39ad7b return on area 5 месяцев назад
roi.py 5c94ec0b6f Add_Dynamic_OpEx_CapEx_Revenue_Permutations 2 недель назад
sell.py 93025210a2 sell: ignore shipment blocks in ship inventory 1 месяц назад
sell_liquidity.py a7d7a146eb sell: decide what to sell vs keep 1 месяц назад
shipbuilding.py 6b64887099 shipbuilding: summarize buys 2 месяцев назад
supply.py 9996a56dda supply: fix exporting bug 1 месяц назад
tsconfig.json f9349e0fc1 roi webpage 6 месяцев назад
uv.lock 6d59a71e12 Automate_Bun_Install_in_Dev_Orchestrator 2 недель назад

readme.md

supply cart

install uv: https://docs.astral.sh/uv/getting-started/installation/

get a FIO API key from https://fio.fnar.net/settings and create a config.toml like

username = 'raylu'
fio_api_key = 'uuid_here'
punoted_api_key = ''

[market.mm_items]
TCL = 0

[supply.promitor]
ignore_materials = ['RAT']

uv run supply.py promitor


Local Development

To work on the frontend (ts/ directory) and test your changes locally, you will need to install Bun (the project's JavaScript runtime and bundler) in addition to uv. install bun: https://bun.sh/docs/installation

Run the local development orchestrator script from your terminal:

bash dev.sh

This script will automatically:

  1. Run roi.py (via uv) to generate the required backend JSON data.
  2. Ensure frontend dependencies are installed via bun install.
  3. Build the TypeScript into standard JavaScript.
  4. Spin up a local development server at http://localhost:8000.