DEV Community

Max Burlutsky
Max Burlutsky

Posted on

1

Expose your local code to ChatGPT (securely, no API keys) – GPT Code Viewer (Node.js + cloudflared)

Hi everyone!

I’ve created a small open-source tool that simplifies working with ChatGPT on your own codebase – securely and in real-time.

🧠 GPT Code Viewer lets you expose your local project to ChatGPT via a browser – no API keys, no plugins, just a secure public link.

🌟 Features:
• Protected URLs like /session//structure

• Visual tree view of your project with file previews

.chatignore to keep sensitive files hidden

• Launches a public link via cloudflared

• Automatically copies the link to clipboard

• Optimized for direct use in ChatGPT's web interface

🔗 GitHub: https://github.com/bumiranks/gpt-code-viewer

Would love your feedback or suggestions 🙌

Top comments (0)

Dev Diairies image

User Feedback & The Pivot That Saved The Project

🔥 Check out Episode 3 of Dev Diairies, following a successful Hackathon project turned startup.

Watch full video 🎥

👋 Kindness is contagious

Discover fresh viewpoints in this insightful post, supported by our vibrant DEV Community. Every developer’s experience matters—add your thoughts and help us grow together.

A simple “thank you” can uplift the author and spark new discussions—leave yours below!

On DEV, knowledge-sharing connects us and drives innovation. Found this useful? A quick note of appreciation makes a real impact.

Okay