St

Streamed ChatGPT Responses in VSCode

Hacker News

Streamed ChatGPT Responses in VSCode

Hey, HN. I spent the past couple days hacking together a VSCode extension that puts ChatGPT in your IDE. Maybe some of you will find it interesting to play with. I had the idea when I was using ChatGPT's web app during PR reviews, and it was really helpful for reviewing code in unfamiliar languages. There are a couple alternatives, but they either require you to manually extract cookies from your browser's dev tools and copy them into the extensions settings, or they don't stream responses (meaning you have to wait awhile before you hear back). I'm planning on putting up a blog post describing how I went about building this, but the hardest parts were reverse-engineering the API and figuring out how to get browser-based authentication working in the extension (since OpenAI put ChatGPT behind Cloudflare, which blocks programmatic auth requests). I haven't pushed up the code to a hosted repo, but if anyone's interested in me open sourcing the code (or contributing), I can be found in the project's discord: (linked in the extension's README).

Share card

Actual performance

3points
1comments
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: chatgpt, openai, using · Missing: mac, agents, macos
86%86% 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.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
58%58% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
54%54% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
39%39% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: reviews, host · Missing: plus, platform, intuitive
34%34% 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
17%17% 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
3%3% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

Ac
Acmeish for Vscode28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Acmeish for Vscode

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

CodeSandbox for VSCode

Hacker News2
Ed
Edamagit – Magit for VSCode28%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Edamagit – Magit for VSCode

Hacker News93
Sy
Syntax Highlighting for Markdoc in VSCode51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Syntax Highlighting for Markdoc in VSCode

Hacker News1
In
Inject VSCode code, errors, and definitions into your ChatGPT prompt23%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Inject VSCode code, errors, and definitions into your ChatGPT prompt

Hacker News2
Ad
Add Images to Your ChatGPT Responses30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Add Images to Your ChatGPT Responses

Hacker News1
St
Store your ChatGPT responses before Beta ends48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Store your ChatGPT responses before Beta ends

Hacker News3
VS
VSCode in Browser – With Ansible, Liveshare etc.35%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

VSCode in Browser – With Ansible, Liveshare etc.

Hacker News1
XM
XMIT Files from VSCode26%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

XMIT Files from VSCode

Hacker News2
VS
VScode Support for Scilla27%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

VScode Support for Scilla

Hacker News1