mirror of
https://github.com/Such-Software/adaptive-multi-protocol-browser.git
synced 2026-10-17 22:41:25 +02:00
Add managed I2P provider start path
This commit is contained in:
@@ -94,6 +94,14 @@ workspace:
|
||||
`AMPB_ARTI_BIN`, `AMPB_TOR_BIN`, configured `transports.tor.binary_path`, and finally a
|
||||
system `tor` binary if one is present.
|
||||
|
||||
## I2P Provider Probe
|
||||
|
||||
Managed I2P startup currently targets `i2pd`. AMPB adopts an existing HTTP proxy on
|
||||
`127.0.0.1:4444` when available; otherwise `ampbrowser open <i2p-url> --yes --launch`
|
||||
uses `AMPB_I2PD_BIN`, configured `transports.i2p.binary_path`, or a system `i2pd` binary.
|
||||
The AMPB-owned process writes config, router data, logs, and ownership metadata under
|
||||
`.ampb/transports/i2p`.
|
||||
|
||||
## Source Plan
|
||||
|
||||
Print the canonical source targets and paths:
|
||||
|
||||
@@ -42,6 +42,8 @@ socks_endpoint = "127.0.0.1:9050"
|
||||
[transports.i2p]
|
||||
enabled = true
|
||||
mode = "adopt-or-prompt-manage"
|
||||
# Optional. Used when AMPB should manage a local i2pd binary.
|
||||
binary_path = ""
|
||||
http_proxy = "127.0.0.1:4444"
|
||||
|
||||
[transports.ipfs]
|
||||
|
||||
@@ -9,8 +9,8 @@ transports only after the user opens a URL that needs them and approves setup.
|
||||
profile, proxy endpoint, browser runtime path, generated profile prefs path, required
|
||||
setup steps, and whether user consent is still needed. With `--launch`, AMPB creates the
|
||||
profile and starts the bundled browser only when the selected route is already ready.
|
||||
With `--launch --yes`, AMPB can start a configured Tor provider with AMPB-owned state
|
||||
before launching. Transport policy comes from `.ampb/config.toml` or an explicit
|
||||
With `--launch --yes`, AMPB can start configured Tor and I2P providers with AMPB-owned
|
||||
state before launching. Transport policy comes from `.ampb/config.toml` or an explicit
|
||||
`--config` path.
|
||||
|
||||
`ampbrowser transport start|status|stop <name>` exposes the same ownership model without
|
||||
@@ -39,9 +39,10 @@ AMPB records owned process metadata in `.ampb/transports/<name>/ampb-owned.json`
|
||||
|
||||
## Current Adapters
|
||||
|
||||
- Tor: detect SOCKS on `127.0.0.1:9050`; managed start supports a configured `tor` binary
|
||||
with AMPB-owned state; packaged Arti/Tor bundling remains a packaging target.
|
||||
- I2P: detect HTTP proxy on `127.0.0.1:4444`; managed start planned.
|
||||
- Tor: detect SOCKS on `127.0.0.1:9050`; managed start supports Arti, configured `tor`,
|
||||
and system `tor` providers with AMPB-owned state.
|
||||
- I2P: detect HTTP proxy on `127.0.0.1:4444`; managed start supports configured or system
|
||||
`i2pd` providers with AMPB-owned state.
|
||||
- IPFS: detect HTTP gateway on `127.0.0.1:8080`; managed gateway start planned.
|
||||
- Gemini: built-in route and render path; no daemon required for static browsing.
|
||||
- Reticulum: resilient/private route contract exists; adapter and readiness model are planned.
|
||||
|
||||
Reference in New Issue
Block a user