DEV Community

Max Burlutsky
Max Burlutsky

Posted on

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)