lifeart/code2prompt
Code to Prompt generator
This tool helps developers quickly get the contents of a GitHub repository into a format suitable for Large Language Models (LLMs). You input a GitHub repository URL and, optionally, a personal access token for private repos. It then outputs a structured text prompt detailing the repository's file structure and the content of each file. Developers and engineers working with LLMs for code-related tasks would find this useful.
No commits in the last 6 months.
Use this if you need to quickly feed an entire codebase from GitHub into an LLM to generate summaries, identify issues, or get explanations.
Not ideal if you only need snippets of code or prefer to manually curate which files an LLM sees.
Stars
10
Forks
—
Language
TypeScript
License
MIT
Category
Last pushed
May 20, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/lifeart/code2prompt"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
AmadeusITGroup/prompt-registry
VS Code extension for managing, sharing, and installing AI prompt collections for GitHub Copilot...
jtmuller5/clibbits-vs-code
Control your context, control your life
cogflows/promptcode-vscode
PromptCode: The VS Code extension that saves the day when your AI code agent (Cursor, etc.) hits...
gsuuon/model.nvim
Neovim plugin for interacting with LLM's and building editor integrated prompts.
Thomas-McKanna/Files2Prompt
VS Code extension to copy files for an LLM prompt