Skip to main content

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:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

takopi_tunnel-0.1.0.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

takopi_tunnel-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

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

Hashes for takopi_tunnel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6412ada8031d93651a76d9eb506c459864a101c8ed2363d4863437d83a690240
MD5 fc7af2239ef8bcca663384ed60e4e748
BLAKE2b-256 86e7f1be3ad0ae155398d42b4b72f9656f5f3aa723dc690c273958c292d42732

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_tunnel-0.1.0.tar.gz:

Publisher: release.yml on l3wi/takopi-tunnel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for takopi_tunnel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be4262875dc815a31ae3c43c0aacaebb1aaf9dce71723fc51469eb1f1287ca54
MD5 77e410b53539d9aa46b6d9790485ba91
BLAKE2b-256 1f873b09cf04470029c501d4a6b5b54b05eb710bd84c493447ba7739743807e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for takopi_tunnel-0.1.0-py3-none-any.whl:

Publisher: release.yml on l3wi/takopi-tunnel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page