Metadata-Version: 2.4
Name: apishare-tunnel
Version: 1.0.1
Summary: ApiShare Tunnel - Expose local API services through the ApiShare platform
Author-email: ApiShare <admin@apishare.samai.cc>
License-Expression: MIT
Keywords: api,apishare,nat-traversal,reverse-proxy,tunnel
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: Proxy Servers
Requires-Python: >=3.7
Requires-Dist: websockets>=12.0
Provides-Extra: server
Requires-Dist: aiohttp>=3.9; extra == 'server'
Description-Content-Type: text/markdown

# ApiShare Tunnel

Expose your local API service to the public internet through the ApiShare platform.

## Installation

```bash
pip install apishare
```

## Client Usage

Expose a local API service running on port 8000:

```bash
apishare -k YOUR_TOKEN -p 8000
```

Your service is now accessible through the platform.

## Server Usage (Platform Admin)

Run the tunnel server:

```bash
apishare serve --port 3397
```

## Options

```
-k, --key    Platform auth token (required for client mode)
-p, --port   Local service port (required for client mode)
--host       Local service address (default: localhost)
-s, --server Tunnel server address (default: apishare.samai.cc)
```