Cloudflared tunnel management plugin for takopi
Project description
takopi-tunnel
A takopi plugin for managing cloudflared tunnels from Telegram.
Installation
# Install the plugin
uv pip install takopi-tunnel
# Or for development
uv pip install -e /path/to/takopi-tunnel
Requirements
You need cloudflared installed on your system:
- macOS:
brew install cloudflared - Linux: See Cloudflare downloads
- Binary: Download from GitHub releases
Usage
The plugin adds a /tunnel command to takopi:
| Command | Description |
|---|---|
/tunnel start <port> |
Start a tunnel for the specified port |
/tunnel list |
Show all active tunnels with URLs and uptime |
/tunnel stop <port> |
Stop the tunnel for a specific port |
/tunnel killall |
Stop all active tunnels |
/tunnel help |
Show help |
Example
/tunnel start 3000
Response:
Tunnel started for port 3000:
https://random-words.trycloudflare.com
How It Works
This plugin uses Cloudflare's Quick Tunnels feature, which:
- Requires no Cloudflare account or authentication
- Generates a random
*.trycloudflare.comsubdomain - Tunnels are ephemeral and don't persist across restarts
Notes
- Tunnels do not persist across takopi restarts
- Each port can only have one tunnel at a time
- The plugin will notify you if a tunnel crashes unexpectedly
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file takopi_tunnel-0.1.0.tar.gz.
File metadata
- Download URL: takopi_tunnel-0.1.0.tar.gz
- Upload date:
- Size: 34.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6412ada8031d93651a76d9eb506c459864a101c8ed2363d4863437d83a690240
|
|
| MD5 |
fc7af2239ef8bcca663384ed60e4e748
|
|
| BLAKE2b-256 |
86e7f1be3ad0ae155398d42b4b72f9656f5f3aa723dc690c273958c292d42732
|
Provenance
The following attestation bundles were made for takopi_tunnel-0.1.0.tar.gz:
Publisher:
release.yml on l3wi/takopi-tunnel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
takopi_tunnel-0.1.0.tar.gz -
Subject digest:
6412ada8031d93651a76d9eb506c459864a101c8ed2363d4863437d83a690240 - Sigstore transparency entry: 834389577
- Sigstore integration time:
-
Permalink:
l3wi/takopi-tunnel@d2757167f6c61241a100f3656325d6868abbc6df -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/l3wi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d2757167f6c61241a100f3656325d6868abbc6df -
Trigger Event:
release
-
Statement type:
File details
Details for the file takopi_tunnel-0.1.0-py3-none-any.whl.
File metadata
- Download URL: takopi_tunnel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be4262875dc815a31ae3c43c0aacaebb1aaf9dce71723fc51469eb1f1287ca54
|
|
| MD5 |
77e410b53539d9aa46b6d9790485ba91
|
|
| BLAKE2b-256 |
1f873b09cf04470029c501d4a6b5b54b05eb710bd84c493447ba7739743807e6
|
Provenance
The following attestation bundles were made for takopi_tunnel-0.1.0-py3-none-any.whl:
Publisher:
release.yml on l3wi/takopi-tunnel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
takopi_tunnel-0.1.0-py3-none-any.whl -
Subject digest:
be4262875dc815a31ae3c43c0aacaebb1aaf9dce71723fc51469eb1f1287ca54 - Sigstore transparency entry: 834389578
- Sigstore integration time:
-
Permalink:
l3wi/takopi-tunnel@d2757167f6c61241a100f3656325d6868abbc6df -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/l3wi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d2757167f6c61241a100f3656325d6868abbc6df -
Trigger Event:
release
-
Statement type: