TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Aidev, ask GPT-4 to modify files in your repo

3 pointsby andreyvitabout 2 years ago
Hey, I got inspired by GPT Repo Loader and built aidev over the weekend, asking it to build a big chunk of itself as a meta-experiment.<p>I was curious to find the current limits of how far I can push this AI coding stuff. Here&#x27;s an example of a prompt that I believe represents the very limit of what GPT-4 can handle:<p>&gt; We&#x27;re working on support for paths in only&#x2F;include patterns. The match func has a bug: the dir argument is an absolute path, but we need a relPath, and we compute it incorrectly via filepath.Join. Instead, we need to compute a relative path against directory of .aidev file that this pattern came from. But that information is lost!<p>&gt; Let&#x27;s kill the idea of merging TreeConfigs completely. Instead, save a pointer to a parent TreeConfig loadConfig. Change ShouldIgnore to build and process a list of applicable TreeConfigs: builtin config, a list of configs for the directory, and override config.<p>...Overall, though, I did not enjoy using aidev for coding. Definitely did not save me time.<p>There <i>is</i> a part that I&#x27;ve enjoyed, though: having aidev write documentation. In a real project, you would definitely want to edit those yourself, but having a draft seems beneficial. The README of aidev is unedited AI output, so you can judge the quality yourself.

1 comment

wildertabout 2 years ago
You don’t think this has promise, looks pretty well thought out