i2pd-launch

Crates.ioi2pd-launch
lib.rsi2pd-launch
version0.3.0
created_at2024-12-22 22:41:07.207546+00
updated_at2025-07-26 10:18:22.169125+00
descriptionLaunches i2pd with clean state
homepagehttps://gitlab.com/hsn10/i2pd-launch
repositoryhttps://gitlab.com/hsn10/i2pd-launch.git
max_upload_size
id1492328
size25,562
Radim Kolar (hsn10)

documentation

README

i2pd-launch

Version No License MSRV 1.61 Safe Rust dependency status Downloads

About

i2pd-launch overwrites with zeros, sync changes to disk and then deletes current i2pd router state files containing: routerid, proxy local destinations, interfaces id, default log file. After that i2pd is started with clean, pristine state.

Platforms

i2pd-launch works only on Scoop based i2pd installations. Installation can be global or user.

Retry strategy

If state file to be overwritten and deleted exists but can not be overwritten and deleted, operation will be retried several times. This happens due to antivirus or search indexer interference.

i2pd-launch will continue and start i2pd even if some state files could not be overwritten and deleted. This ensures that after executing i2pd-launch i2p network will be always running.

Requirements

  1. Install Scoop - A command-line installer for Windows.
  2. scoop install i2pd
  3. scoop install rustup
  4. rustup-init.exe
  5. cargo install i2pd-launch

Arguments

No command line arguments are used by i2pd-launch.

Return codes

  • 0 Success
  • 1 No scoop i2pd installation detected
  • 2 i2pd executable not found
  • 3 This program supported only on Windows
  • 4 Not all state files were succesfully deleted

License

This is free and unencumbered software released into the public domain.

This code can be used under terms of CC0 or the Unlicense.

Unlicense logo

Commit count: 0

cargo fmt