Live data from Hacker News

Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

news.ycombinator.com

201–210 of 248 posts

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#201

Does anyone know of a “copilot” style autocomplete in the CLI? I don’t want it to run anything for me, just predict what command I might type next

I assume you're referring to it guessing at what command you might type next? If so, the closest I can think of is Warp. Have you tried it?

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#203

I just tried it out in the context of a small but messy side project. It did exactly what I asked for. The easy of use is a bliss. Impressive!

Thanks! That's awesome to hear – if you wouldn't mind me asking, what was the context and tech stack of your side project? We love hearing about the wide variety of use cases people have found for Codebuff!

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#204

Earlier quoted context omitted.

Thanks for your reply! I started Codebuff without being aware of Aider. I actually have not yet tried Aider (though I plan to try it soon!). It's totally true that a lot of the development of Codebuff is merely me (and Brandon) working through a lot of the problems that Aider already solved! That makes sense. Partly, my thesis is that if you start after Sonnet 3.5 is out, that you design things differently. For examp…

Interesting! Being in the same product space for more than 3 months, I wonder how one can not come across 2 popular open source tools that do more or less the same thing. Like Aider has 21k stars, and Cline has around 11k stars. Both these product names come up on HN, Reddit frequently. Curious to know if YC does some research on existing products before backing a new business.

It seems like we're all in our own tech bubbles more and more. Distribution is clearly a tough problem to crack, and no one in this space has really mastered it yet, aside from arguably Github Copilot.

No comment on YC here, but I think it's easy to criticize from the outside. I've personally have been impressed by all the peers, group partners, and alumni I've met so far. I'm biased, but I think YC knows what it's doing. Also, YC backs founders, not ideas.

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#205
post #184

Have an upvote! I've been trying it out, it's quite nice. What I like about this vs CoPilot and Cursor is that I feel like (especially with CoPilot) I'm always "racing" the editor. Also Cursor conflicts with some longstanding keybindings I have, vs this which is just the terminal. Having worked on a similar system before, I know it's difficult to implement some of these things, but I am concerned about security. For…

Thanks! Yup, so long as you don't have key bindings for meta-x and meta-c, you ought to be good in the terminal. We honor any repository's .gitignore and won't touch those files. We don't even let Codebuff know they exist, which has caused some issues with hallucinations in the past.

Making sure that our word is trustworthy to the broader world at large is going to be a big challenge for us. Do you have any ideas for what we can do? We're starting to think about open source, but we aren't quite ready for that yet.

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#206

brace yourself. the night critics are coming.

Don't take it personally or get too discouraged. You are not your product, and you're certainly not your first demo of your first product. But, knowing your competition, how you stack up against them, and how the people you're selling to feel about them, is a huge part of your job as a founder. It will only get more important.

You have to constantly do your research. It is one of those anxiety-inducing tasks that's easy to justify avoiding when all you want to do is code your idea up and there's so much other work to do. But it's your job. Even when you hire someone else to run product for you it'll be your responsibility to own it.

What you've built is cool, a lot of people love it even though they know about the other tools available. Now you know what your main competition does, you also know what it doesn't do, so you get to solve for that - and if you solved the context problem in isolation with treesitter then you're obviously capable.

You'll have realised by now that Aider didn't use treesitter when it started. Instead it used ctags - a pattern-matching approach to code indexing from 40 years ago that doesn't capture signatures or create an ast, it effectively just indexes the code with a bunch of regex. And it's not like treesitter wasn't around when aider was first written. Keep that in mind.

Good luck.

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#207

I just tried it out in the context of a small but messy side project. It did exactly what I asked for. The easy of use is a bliss. Impressive!

Thanks! That's awesome to hear – if you wouldn't mind me asking, what was the context and tech stack of your side project? We love hearing about the wide variety of use cases people have found for Codebuff!

It's a pretty small, straight forward web app. Think: python backend and a vanilla html / JS frontend, served over flask. The frontend is mostly in one file, so maybe it's not the best test case for crossfile reading, but still very happy with the user experience!

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#208

I don't see the value. Why is this better than Cursor? What guarantees that you won't steal my code? Wasn't there a recent startup in F24 that stole code from another YC company and fire was quickly put out by everyone?

Good question – here are a few reasons: - It chooses files to read automatically on each message — unlike Cursor’s composer feature. It also reads a lot more than Cursor's @codebase command. - It takes 0 clicks — Codebuff just edits your files directly (you can always peek at the git diffs to see what it’s doing). - It has full access to your existing tools, scripts, and packages — Codebuff can install packages, run…

Alright. That gives me some directional signal. I will be interested if you make it open source. We have massive and critical code base so I am always wary of giving access to 3Ps.

Re: Launch HN: Codebuff (YC F24) – CLI tool that writes code for you

#209

I don't see the value. Why is this better than Cursor? What guarantees that you won't steal my code? Wasn't there a recent startup in F24 that stole code from another YC company and fire was quickly put out by everyone?

Codebuff is a bit simpler and requires less input from the user since you just chat and it does multi-file edits/runs commands. It's also more powerful since it pulls more files as context. I think you just need to try it to see the difference. You can feel how much easier it is haha. We don't store your codebase, and have a similar policy to Cursor, in that our server is mostly a thin wrapper that forwards requests…

Okay. I will try it once you are a bit further along and have OSS.
Post reply on HN