Willbot

Tunnelfy - Manage Cloudflare tunnels from VSCode

by
Managing Cloudflare tunnels directly from a VSCode extension has never been easier. Streamline your development workflow by creating and managing permanent and quick tunnels without leaving your IDE.

Add a comment

Replies

Best
Willbot

I got tired of using the CLI (cloudflared) to interact with my Cloudflare tunnels, and I wasn't easily able to manage multiple Cloudflare accounts when I needed to switch between them. So, I created a way with VSCode via this extension.

It uses a combination of the CLI and the Cloudflare API, offering a pleasant interface to control and add persistent or quick tunnels. It can manage multiple Cloudflare profiles and update DNS records to point domains to your chosen tunnel, so no more annoying going back and forth between your DNS settings and VSCode.

It is open source, so I am more than happy to have contributions.

Thanks for trying it out in advance.

Willbot

@sonu_goswami2 thanks much!

Xi.Z

This looks like a valuable developer productivity tool. Here's a fitting comment for their Product Hunt launch:

"Finally, a VSCode extension that solves a real developer workflow pain point! Managing Cloudflare tunnels directly from the IDE is such a natural fit - it's one of those tools where you wonder why it didn't exist sooner.

The ability to handle both permanent and quick tunnels without context switching is a huge time-saver. Love that it's free too - really shows commitment to the developer community. As someone who works with Cloudflare tunnels regularly, this is going straight into my essential extensions list.

@Willbot - great first launch! Any plans to add support for additional tunnel configurations or team collaboration features? Would love to see this grow into a full tunnel management suite within VSCode. Keep up the excellent work! 🚀"

The project has solid initial traction with 157 upvotes and #7 daily rank, suggesting there's real demand for streamlining tunnel management workflows. The combination of Productivity, UX, and Developer Tools tags positions it perfectly for the target audience.

Willbot

Definitely in my plans to add more and more features. Would love to have any suggestions if you come across anything that would be useful. Support for configs is definitely on the list, as well as Docker compose file generation for running a Docker service, as well as a system service file generation for Linux.
I was generally trying to avoid the need to have to authenticate through cloudflared CLI by using the API as much as I could, and just relying on cloudflared CLI for quick tunnels (without the need for authenticating). Dealing with the cloudflared credentials for switching between profiles got to be a bit of a pain and not as secure of a process as managing the API keys. That being said, config files could certainly be a part of the suite of functionality and definitely is on the list of considerations. Even if not necessarily using them direct, at least the ability to quickly generate them for the user similar to the Docker service or Linux service file generation I was planning. Thanks for reaching out, glad I could help some people with the same issues I was facing!

Willbot

@xi_z also meant to ask, how would you see this fitting into a team environment? Was curious to pick your brain about that.

Amritpal Singh

Super useful extension! Managing Cloudflare tunnels directly from VSCode makes development so much smoother.

Willbot
Kimmy Zhao

Interesting idea! Combine the cloudflare with vscode(cloudflare tunnels can be so annoying...). I use Cursor AI editor to help with the code too! Anyway congrats on the launch!

Willbot