A curated list of AI tools and resources for developers, see the AI Resources .

Your Source to Prompt

A single-file browser tool that locally assembles selected files into an LLM-friendly prompt.

Your Source to Prompt is a single .html file that runs entirely in a modern browser and lets you locally select files and folders to combine into a single, structured prompt for LLMs. Everything runs client-side, so your code never leaves your machine.

Key features

  • Fully local & secure: uses the File System Access API; no servers or tokens required.
  • No install: just download the HTML and open it in a Chromium-based browser.
  • Presets & export: save/load selection presets and export/import JSON for reproducible workflows.
  • Selection & minification: powerful string filters, bulk selects, and optional minification to reduce context size.

Use cases

  • Prepare private codebases or sensitive projects for LLM-assisted refactoring without uploading source code.
  • Quickly combine multiple files into a single prompt for review, debugging, or documentation generation.

Technical notes

  • Builds a file tree using the browser File System Access API and respects .gitignore-style filtering.
  • Shows size/line-count tallies and warnings when selected content may exceed common LLM context windows.
  • Uses client-side minifiers (Terser, csso, html-minifier-terser) to reduce payload size when needed.

Comments

Your Source to Prompt
Resource Info
🛠️ Dev Tools 🧲 Utility 🌱 Open Source