Metadata-Version: 2.4
Name: ifrp
Version: 1.0.0
Summary: A TUI tool for managing frpc client
Project-URL: Homepage, https://github.com/lanbinleo/iFrp
Project-URL: Repository, https://github.com/lanbinleo/iFrp
Project-URL: Issues, https://github.com/lanbinleo/iFrp/issues
Author-email: ifrp <lanbinwolf@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: frp,frpc,nat,proxy,tui,tunnel
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Networking
Classifier: Topic :: Utilities
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25.0
Requires-Dist: questionary>=2.0.0
Requires-Dist: rich>=13.0.0
Requires-Dist: toml>=0.10.0
Description-Content-Type: text/markdown

# iFrp

A simple TUI tool for managing [frpc](https://github.com/fatedier/frp) client.

[中文文档](README_CN.md)

## Features

- Auto download/update latest frpc from GitHub Releases
- TUI interface for server configuration
- Manage proxy rules (TCP/UDP/HTTP/HTTPS)
- Start/Stop frpc process with ease

## Installation

### Using pip (Recommended)

```bash
pip install ifrp
```

### Using pipx

```bash
pipx install ifrp
```

### Using uv

```bash
uv tool install ifrp
```

### One-line Install

**Linux/macOS:**
```bash
curl -fsSL https://raw.githubusercontent.com/lanbinleo/iFrp/main/install.sh | bash
```

**Windows (PowerShell):**
```powershell
irm https://raw.githubusercontent.com/lanbinleo/iFrp/main/install.ps1 | iex
```

## Usage

```bash
ifrp
```

## Menu Options

```
1. Download/Update frpc  - Download latest version from GitHub
2. Configuration         - Configure server and proxy rules
3. Start frpc            - Start frpc client
4. Stop frpc             - Stop running frpc
5. Exit
```

## Configuration

Config file is stored at `frpc/config.toml`:

```toml
serverAddr = "your-server.com"
serverPort = 7000
auth.method = "token"
auth.token = "your-token"

[[proxies]]
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6000
```

## Requirements

- Python 3.10+
- frp server (frps) running on your server

## License

[MIT](LICENSE)
