New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cloudflared-tunnel

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudflared-tunnel

Start a TryCloudflare Tunnel with a context manager.

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

Cloudflared Context Manager

Simple context manager to create a Cloudflared tunnel for a localhost port of choice.

Minimal example on how to use this package with Gradio:

import gradio as gr
import cloudflared_tunnel

with gr.Blocks() as demo:
    with gr.Column():
        with gr.Row():
            input_text = gr.Textbox(lines=10, label="Input")
            output_text = gr.Textbox(lines=10, label="Output")
        submit_button = gr.Button(value="Echo")
    submit_button.click(lambda x: x, inputs=input_text, outputs=output_text)

if __name__ == "__main__":
    with cloudflared_tunnel.run() as port:
        demo.launch(show_api=False, server_port=port)

Acknowledgements

This project is derived from flask-cloudflared, which in turn is based on flask-ngrok.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc