Initial commit: OpenFUT Bridge

FIFA 23 reverse-engineering proxy and integration scaffold.

- Catch-all HTTP proxy that captures all incoming FIFA 23 traffic
- Known-route mapper (speculative FUT paths → Core API calls)
- Placeholder JSON responses for unmapped endpoints
- Admin endpoints: GET /_bridge/captures, GET /_bridge/unknown
- Capture persistence to captures/*.json for RE analysis
- 4 unit tests passing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-06-25 15:09:47 -07:00
commit a826e5f7d3
19 changed files with 2897 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
[package]
name = "openfut-bridge"
version = "0.1.0"
edition = "2021"
authors = ["OpenFUT Contributors"]
description = "FIFA 23 integration layer and reverse-engineering proxy"
license = "MIT"
repository = "https://github.com/openfut/openfut-bridge"
[lib]
name = "openfut_bridge"
path = "src/lib.rs"
[[bin]]
name = "openfut-bridge"
path = "src/main.rs"
[dependencies]
axum = { version = "0.7", features = ["macros"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tower-http = { version = "0.5", features = ["cors", "trace"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
thiserror = "1"
anyhow = "1"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
reqwest = { version = "0.11", features = ["json"] }
dotenvy = "0.15"
http = "1"
bytes = "1"
[dev-dependencies]
tokio = { version = "1", features = ["full"] }