bfd6771a9a
Successor to the Josh Steam prototypes. Single-VM Docker Compose stack with
the load-bearing core/ logic ported from JoshSteam CDN with bug fixes.
Contents:
- backend/ FastAPI + Celery (same image, two entrypoints)
core/ hdiff, librsync, chain_replay, manifest, compression,
discord, steam, unrealpak, paths
api/ auth, catalog, admin, builds (skeletons) + downloads (real)
worker/ Celery factory replacing the missing prototype Tasks/__init__.py
db/ SQLAlchemy models + Alembic initial migration
- admin-web/ SvelteKit + Tailwind skeleton
- client/ Tauri 2 + Svelte skeleton (Mist placeholder UI)
- mistpipe/ click-based admin CLI with subcommand stubs
- docs/ ARCHITECTURE, DECISIONS (9 ADRs), RUNBOOK
- docker-compose.yml + dev overlay + .github/workflows
Bugs fixed during port:
- Routes/download.py:2 stray backslash on import line
- Utils/celery.py inspect.reserved() missing parens + double active() typo
- Hardcoded OneDrive/Desktop paths replaced with pydantic-settings config
- Discord webhook URL + RabbitMQ password moved to env vars
- Missing Tasks/__init__.py reconstructed as worker/__init__.py
Out of scope for this commit: route bodies, UI screens, mistpipe subcommand
bodies, real image builds.
33 lines
1023 B
Markdown
33 lines
1023 B
Markdown
# mistpipe
|
|
|
|
Admin CLI for [Mist](../README.md). Inspired by Steam's SteamPipe and itch.io's butler.
|
|
|
|
`mistpipe` is what you run on your laptop to upload new games and push updates to the Mist backend. It handles authentication, local archive prep, and the HTTP upload to the `api` service.
|
|
|
|
## Install
|
|
|
|
```sh
|
|
pip install -e .
|
|
```
|
|
|
|
## Usage
|
|
|
|
```sh
|
|
mistpipe login # interactive; stores JWT in OS keychain
|
|
mistpipe new-game --title "Satisfactory" \
|
|
--app-id 526870 \
|
|
--version 1.0.0.0 \
|
|
--path ./satisfactory
|
|
mistpipe push satisfactory 1.0.0.3 \
|
|
--path ./satisfactory \
|
|
--notes-url https://example.com/notes
|
|
mistpipe ls
|
|
mistpipe resync-steam satisfactory
|
|
mistpipe rm satisfactory # soft delete
|
|
mistpipe logout
|
|
```
|
|
|
|
## Status
|
|
|
|
Subcommands are scaffolded; bodies print "TODO" and exit cleanly. Real implementations land alongside the corresponding backend routes.
|