mtg-i2p

command module
v0.0.0-...-8faca40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2023 License: MIT Imports: 5 Imported by: 0

README

mtg-i2p

Current version has known bugs. Testers/developers only.

I2P Service modification of the highly opinionated mtg Telegram proxy. Telegram. This repository contains mostly code which is copied from the original mtg source code, specifically, the internal/cli, internal/utils and internal/config directories. It uses the underlying mtglib that is available at https://github.com/9seconds/mtg. This approach was taken in order to retain the maxiumum number of features from mtg. If features are found to be irrelevant to I2P and also obstructive to our use cases, they may be removed as well. Otherwise, the modifications are intentionally minimal in order to make it easy to keep our distribution up-to-date.

Look at MODIFICATIONS.md to see a summary of the modifications made

Plugin install URL's

Once you install the plugin, your MTProto proxy's base32 address is visible in the file: $PLUGIN/telegram.i2p.i2p.public.txt. You can connect to it by creating an I2P tunnel and configuring it as your MTProto proxy.

Documentation

Overview

mtg is just a command-line application that starts a proxy.

Application logic is how to read a config and configure mtglib.Proxy. So, probably you need to read the documentation for mtglib package first.

mtglib is a core of the application. The rest of the packages provide some default implementations for the interfaces, defined in mtglib.

Directories

Path Synopsis
internal
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL