Co

CodePrompt – a UI for loading code repos into GPT prompts

Hacker News

CodePrompt – a UI for loading code repos into GPT prompts

Hi HN, I'm Chun Rapeepat. Last week I started playing with GPT-4 and tried different ways to use it to optimize my dev workflow. It was fun, and I was just blown away by what GPT-4 can do. The idea of CodePrompt first came to mind when I read "Show HN: GPT Repo Loader – load entire code repos into GPT prompts" [1]. It was precisely what I wanted to do! So I tried it. The GPT Repo Loader works pretty well on a small codebase; However, due to its limitations in loading all files and content into the prompt, I still ran into token context limit issues and needed to copy/edit the code myself. That's when I started working on CodePrompt. Instead of loading the entire repo, why not just load only relevant files or portions of code (or function headers?) that need for the requirement? How I designed the user journey of CodePrompt.xyz: 1. Choose a GPT model. 2. Select a repo that you want to work with. 3. Pick the relevant files that you want to include in the prompt. 4. Add specific instructions and remove irrelevant codes as needed. 5. Copy the prompt to your chosen GPT model to generate the desired output. Chat & Iterate. 6. If you want to do something else, just go to (3) again. This allows me to easily generate prompts to do something like - Implement features that evolve edits on multiple files - Create new components while reusing existing codebase - Generate code with the same style as other files, etc. I would love to hear all your feedback and ideas on how I can improve it. Or if you want to chat, feel free to ping me on my Twitter @chunrapeepat. P.S. The project is 100% open-source and free to use. Check it out: https://github.com/chunrapeepat/codeprompt [1] https://news.ycombinator.com/item?id=35191303

Share card

Actual performance

5points
2comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, user, new · Missing: mac, agents, macos
94%94% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
70%70% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
65%65% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
44%44% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
11%11% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

GP
GPT Repo Loader – load entire code repos into GPT prompts45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GPT Repo Loader – load entire code repos into GPT prompts

Hacker News373
A
A GPT Image 1.5 UI for developers tired of rewriting prompts62%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A GPT Image 1.5 UI for developers tired of rewriting prompts

Hacker News1
vc
vcspull – synchronize your repos49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

vcspull – synchronize your repos

Hacker News21
Fo
For the Badge – Badges for your repos45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

For the Badge – Badges for your repos

Hacker News6
GP
GPT-Image-2 Prompts38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GPT-Image-2 Prompts

Hacker News1
LeetPrompt
LeetPrompt39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Leet code for prompts

Indie Hackers1education
Se
Self-extracting prompts for GPT-455%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Self-extracting prompts for GPT-4

Hacker News13
St
Stewie Reflect – owner's manuals for repos, with claims linked to code51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Stewie Reflect – owner's manuals for repos, with claims linked to code

Hacker News2
I
I wrote a novella with GPT-3 (with prompts and screenshots)54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I wrote a novella with GPT-3 (with prompts and screenshots)

Hacker News2
Ba
Badges of kindness for your website footers, repos, and more48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Badges of kindness for your website footers, repos, and more

Hacker News32