GUI tool for turning code projects into LLM prompts, locally
Top 56.7% on sourcepulse
Your Source to Prompt is a self-contained HTML file designed to convert local code projects into single LLM prompts, prioritizing security and ease of use. It targets developers who need to feed codebases into LLMs without uploading sensitive data or dealing with complex setups. The tool offers a GUI for file selection, custom preamble/goal setting, and optional code minification, all processed client-side.
How It Works
This tool leverages the browser's File System Access API to read local directories directly, ensuring code never leaves the user's machine. It builds a hierarchical file tree, allowing selective inclusion of text files via checkboxes and string-based filtering. Presets can be saved and loaded for repeated use, and context size warnings are displayed to prevent exceeding LLM token limits.
Quick Start & Requirements
your-source-to-prompt.html
file in a Chromium-based browser (e.g., Chrome).Highlighted Details
Maintenance & Community
The project is maintained by Dicklesworthstone. Further community or roadmap information is not detailed in the README.
Licensing & Compatibility
Limitations & Caveats
Full functionality, particularly directory access, is best supported by Chromium-based browsers; other browsers may have limited or no support for the File System Access API.
5 months ago
1 day