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
Metadata
Release files for takopi-tunnel 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| takopi_tunnel-0.1.0.tar.gz | 34.5 kB | With provenance | Details for takopi_tunnel-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| takopi_tunnel-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for takopi_tunnel-0.1.0-py3-none-any.whl |
Total release size: 39.7 kB
Release files / takopi_tunnel-0.1.0.tar.gz
| Download URL | takopi_tunnel-0.1.0.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6412ada8031d93651a76d9eb506c459864a101c8ed2363d4863437d83a690240
|
|
BLAKE2b-256 checksum How to use checksums |
86e7f1be3ad0ae155398d42b4b72f9656f5f3aa723dc690c273958c292d42732
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 19, 2026.
Transparency logRelease files / takopi_tunnel-0.1.0-py3-none-any.whl
| Download URL | takopi_tunnel-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be4262875dc815a31ae3c43c0aacaebb1aaf9dce71723fc51469eb1f1287ca54
|
|
BLAKE2b-256 checksum How to use checksums |
1f873b09cf04470029c501d4a6b5b54b05eb710bd84c493447ba7739743807e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 19, 2026.
Transparency logSecurity for takopi-tunnel 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for takopi_tunnel-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.