Skip to main content

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:

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.com subdomain
  • 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)

Source distribution for takopi-tunnel 0.1.0
File Size Uploaded
takopi_tunnel-0.1.0.tar.gz 34.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for takopi-tunnel 0.1.0
File Interpreter ABI Platform
takopi_tunnel-0.1.0-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page