Product
Introducing Java Support in Socket
We're excited to announce that Socket now supports the Java programming language.
Start a TryCloudflare tunnel to your flask app right from code.
This requires at least Python 3.6
The Flask app will run on port 5000 by default and start the Cloudflared metrics page on a random port between 8100 and 9000.
This can be changed by passing the port
and metrics_port
arguments to the app.run()
function after using the run_with_cloudflared
decorator.
By default, the tunnel will be created with a random subdomain of trycloudflare.com
.
To use custom domains, follow this tutorial by Cloudflare and pass either the tunnel_id
or config_path
arguments to the app.run()
function after using the run_with_cloudflared
decorator. For an example check out examples/flask_cloudflared_example.py.
Because cloudflared doesn't support Darwin arm64 natively yet, Rosetta 2 is used to create a compatibility layer. If you don't have Rosetta 2 installed yet, please check Apple's support page.
This project is based on flask-ngrok.
FAQs
Start a TryCloudflare Tunnel from your flask app.
We found that flask-cloudflared demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
We're excited to announce that Socket now supports the Java programming language.
Security News
Socket detected a malicious Python package impersonating a popular browser cookie library to steal passwords, screenshots, webcam images, and Discord tokens.
Security News
Deno 2.0 is now available with enhanced package management, full Node.js and npm compatibility, improved performance, and support for major JavaScript frameworks.