Skip to content

About

A lightweight, user-friendly tool that simplifies access to the I2P (Invisible Internet Project) network through automated I2Pd and Firefox configuration.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

I2P Easy Manager

A small command-line tool and terminal dashboard that starts the I2Pd router and opens Firefox in a separate, hardened profile that is already pointed at the I2P proxy.

Getting onto I2P usually means installing a router, finding its proxy ports, making a clean Firefox profile, and setting a dozen privacy prefs by hand. This tool does those steps for you and gives you one place to start, stop, and check the router.

Status: alpha (0.1.1-alpha). Not on PyPI yet; install from GitHub or from source.

License: GPL-3.0 Python 3.8+

Dashboard with the router connected

Dashboard with the router stopped

Dashboard with the router stopped

The screenshots are rendered from the real dashboard code with sample status values (python scripts/render_screenshot.py).

Features

  • Terminal dashboard showing router state, known peers, and client tunnels, refreshed every few seconds
  • init creates a dedicated i2p-secure Firefox profile and leaves your other profiles alone
  • Bundled Arkenfox user.js plus I2P proxy prefs (WebRTC off, DNS through the proxy, telemetry off)
  • Start, stop, restart, status, and log viewing for I2Pd on macOS (Homebrew), Linux (systemd), and Windows
  • JSON config with sensible defaults, merged over whatever you change
  • Four runtime dependencies: click, rich, requests, psutil

Requirements

  • Python 3.8 or newer
  • I2Pd (brew install i2pd, sudo apt install i2pd, or the Windows installer)
  • Firefox

Quick start

git clone https://github.com/tundra-node/i2p-easy-manager.git
cd i2p-easy-manager
python3 -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate
pip install -e .

i2p-manager --version              # i2p-manager, version 0.1.1-alpha
i2p-manager init                   # create the Firefox profile and config
i2p-manager start                  # start I2Pd and open Firefox
i2p-manager status                 # peers and tunnels

Or install straight from GitHub without cloning:

pip install "git+https://github.com/tundra-node/i2p-easy-manager.git"

The first time the router runs it needs 10 to 30 minutes to find peers and build tunnels. i2p-manager status shows "Connected" once it knows 50 or more routers. Then try http://planet.i2p in the I2P Firefox window.

Usage

Run i2p-manager with no arguments to open the dashboard. Type a key and press Enter: 1 to 8 for the actions shown, R to refresh, 9 or Q to quit.

Every dashboard action is also a command:

Command What it does
i2p-manager init [--force] Write the config and create the hardened Firefox profile
i2p-manager start [--no-browser] Start I2Pd, wait for the console to answer, open Firefox
i2p-manager stop Stop I2Pd
i2p-manager restart Stop, then start without opening Firefox
i2p-manager status [-v] Router state, proxy address, known peers, client tunnels
i2p-manager browser Open Firefox with the I2P profile
i2p-manager logs [-n 50] [-f] Show or follow the I2Pd log
i2p-manager config Open the config file in $EDITOR (falls back to nano / notepad)
i2p-manager reset [--yes] Stop I2Pd, delete the I2P Firefox profile and the config file

python -m i2p_manager works too.

Configuration

The config file lives at ~/.config/i2p-manager/config.json on macOS and Linux and %USERPROFILE%\AppData\Local\i2p-manager\config.json on Windows. Missing keys fall back to the defaults below.

Key Default Meaning
i2pd.host 127.0.0.1 Address of the I2Pd proxies
i2pd.http_port 4444 I2Pd HTTP proxy
i2pd.https_port 4444 Proxy Firefox uses for HTTPS (I2Pd's HTTP proxy handles CONNECT)
i2pd.socks_port 4447 I2Pd SOCKS proxy
i2pd.console_port 7070 I2Pd web console, used for status checks
firefox.profile_name i2p-secure Firefox profile to create and launch (letters, digits, ., _, -)
firefox.harden_with_arkenfox true Copy the bundled Arkenfox user.js into the profile on init
dashboard.refresh_interval 5 Seconds between dashboard refreshes

If you change the ports, run i2p-manager init --force so the Firefox profile picks them up.

How it works

  • Status comes from the I2Pd web console (http://127.0.0.1:7070/?page=status): the tool reads "Known Routers" and "Client Tunnels" from that page.
  • Start runs the Homebrew i2pd --daemon binary directly on macOS (with Homebrew's config and data dirs when they exist), sudo systemctl start i2pd on Linux with a plain i2pd --daemon fallback, and i2pd.exe --daemon on Windows.
  • Stop uses pkill -x i2pd on macOS, systemctl stop then pkill on Linux, and taskkill on Windows.
  • Firefox gets a profile via firefox -CreateProfile, then a user.js with the Arkenfox prefs and a proxy block. Re-running init --force replaces the old proxy block instead of appending another one.

Privacy notes

Only the I2P Firefox profile is configured. Other profiles, other browsers, and the rest of your system keep using the normal internet. The hardened profile disables WebRTC and WebGL, sends DNS through the proxy, and turns off telemetry and safe-browsing lookups. No tool makes you anonymous on its own; see SECURITY.md for what this does and does not protect against.

Platform support

macOS Linux Windows
Dashboard and CLI yes yes yes
Start/stop I2Pd Homebrew binary systemd (needs sudo) i2pd.exe must be installed
Firefox profile setup yes yes yes
Log viewer yes yes yes, no -f follow

Unit tests run on macOS with mocks for I2Pd and Firefox. Linux and Windows paths are written but have had less real-world testing.

Troubleshooting

  • I2Pd won't start: check which i2pd, then try it by hand (/opt/homebrew/opt/i2pd/bin/i2pd --daemon on Apple Silicon, sudo systemctl start i2pd on Linux) and look at i2p-manager logs.
  • Firefox won't open: macOS expects /Applications/Firefox.app; Linux expects firefox on PATH. Then run i2p-manager reset and i2p-manager init.
  • .i2p sites don't load: wait for 50+ peers in i2p-manager status, and check the router console at http://127.0.0.1:7070.
  • Dashboard looks cramped: use a terminal at least 80x24, or use the commands instead.

More detail: installation, usage, development, testing.

Development

python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest
ruff check .

Tests mock every subprocess and network call and point HOME at a temp dir, so they never touch a real router, Firefox install, or your config.

i2p-easy-manager/
├── i2p_manager/
│   ├── cli.py              # click entry point (i2p-manager)
│   ├── dashboard.py        # rich terminal dashboard
│   ├── config.py           # JSON config with defaults
│   ├── i2pd.py             # start/stop/status/logs for I2Pd
│   ├── firefox.py          # profile creation, hardening, proxy prefs, launch
│   ├── commands/           # one module per CLI command
│   └── data/user.js        # bundled Arkenfox prefs
├── scripts/render_screenshot.py
├── tests/
└── docs/

See CONTRIBUTING.md and the changelog.

AI usage

An AI coding agent helped with a cleanup pass in October 2026: lint and test fixes, the config, profile-lookup and stop-command bug fixes, extra tests, the screenshot script, and this README. Changes were reviewed and committed in small commits.

License

GPL-3.0-or-later. See LICENSE.

This tool only configures software you install yourself (I2Pd and Firefox). You are responsible for how you use I2P and for following the law where you live.

About

A lightweight, user-friendly tool that simplifies access to the I2P (Invisible Internet Project) network through automated I2Pd and Firefox configuration.

Topics

Resources

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages