7 ms·
Show HN: MyCoder, an open source Claude-Code alternative
- desertkun 2y agoCan you put a screenshot of what it is going to look like into the repo's readme?
- bhouston 2y agoI've pushed a quick image here: https://github.com/drivecore/mycoder/blob/main/docs/Screenshot1.gif https://github.com/drivecore/mycoder/blob/main/docs/Screensh... Here is run that debugged an issue I ran into with TanStack Start: https://pastebin.com/FcGKdPbU https://pastebin.com/FcGKdPbU It solved this issue that I reported autonomously: https://github.com/TanStack/router/issues/3492 https://github.com/TanStack/router/issues/3492
- ge96 2y agoTangent: some of Expensify's github issues have a price tied to em eg. [$250] issue name... would be funny for bots to start completing them
- CGamesPlay 2y agoI am excited to see another project that works as a stand-alone tool without any kind of server and without being an IDE plugin. I am highly curious about how you actually approach making modifications, so I am mostly interested in the transcript you posted. https://pastebin.com/FcGKdPbU https://pastebin.com/FcGKdPbU 1. I notice that it seems to look at all files in examples, then opts to scan examples/react/start-basic-auth/src/main.tsx, then says "I apologize for the confusion" and seems to move on to something else (lines 13-22). What happened here? This happens again on line 77. 2. It looks (lines 25 to 37) like it has difficulty actually working with source files, due to file size. This seems to happen several more times in the h3 section (line 85). It might be worth building something like Aider's repomap to handle larger files. It does seem to get to a useful conclusion without a lot of looping around, so overall it looks promising!
- bhouston 2y agoThanks for the feedback! > I notice that it seems to look at all files in examples, then opts to scan examples/react/start-basic-auth/src/main.tsx, then says "I apologize for the confusion" and seems to move on to something else (lines 13-22). What happened here? This happens again on line 77. You mean this response? "Looking at "examples/react/start-basic-auth/src/main.tsx", Checking main file for useSession usage" I think there was a miscommunication between the agent and the sub-agent, the proper path should have had "app" not "src". I am working on better sub-agent prompting as there is some information loss sometimes, and then wrong assumptions made. On line 77 it made the same wrong assumption about "src" instead of "app." > It looks (lines 25 to 37) like it has difficulty actually working with source files, due to file size. This seems to happen several more times in the h3 section (line 85). I did add a 10K limit to the characters of a file that will be read at a time, and I tried to tell it was only a partial read. The issue is that a single file can be huge sometimes and I didn't want to blow the context window. https://github.com/drivecore/mycoder/blob/main/src/tools/io/readFile.ts#L7 https://github.com/drivecore/mycoder/blob/main/src/tools/io/... > It might be worth building something like Aider's repomap to handle larger files. I will have a look at that idea.
- jz10 2y agoI've been using aider for a while now. It can get pretty expensive with sonnet but I guess it's no different from claude-code
- jasonjmcghee 2y agoAre you leveraging caching? (It didn't seem like it from initial investigation, so figured I'd ask) Recent sessions with Claude Code come out to a few $ each and like 90% of tokens are cached reads. Which would be hundreds of $ without.
- bhouston 2y agoI do not use caching yet. An average run costs less than a dollar I find. I think the most expensive so far may have been 2 dollars or so.
- MrsPeaches 2y agoI had similar costs. With caching it went down to 20-40 cents. Well worth it, if you are using this regularly.
- bhouston 2y agoOkay I have token caching and token costing implemented in a PR. Will go live tomorrow. Thanks for the suggestion!
- saberience 2y agoWait, running this once costs "less than a dollar" but up to 2 dollars? So if I used this all day it could cost me 100s of dollars? How is that a good deal when Claude costs 20 dollars per month?
- bhouston 2y agoWhen I use it heavily for a work day it costs around $25 a day. It will write whole features and debug things and write tests and docs. It is that valuable. I’ve started to run two sessions at once to be more productive. I will be moving it to the cloud soon so I can run dozens of sessions at the same time. Tech like this replaces human developers for the most part so yes it is worth it. $25/day is cheaper than hiring another dev or two. Development teams are coming to an end right now.
- eterps 2y agoWhile I appreciate the emergence of new AI coding tools, I've observed that many of them fail to offer significant improvements over Aider's existing capabilities (but I want to be proven wrong).
- bhouston 2y agoI will investigate aider. I wrote this tool from idea to now in just four weeks without reference to existing tools so now I need to do that.
- crimsoneer 2y agoYeeah you're going to find out you should have just aider I'm afraid...
- fragmede 2y agoexcept that the future of LLM assisted programming means I can also make my own implementation of aider pretty easily. So theres going to be an explosion of software that does basically the same thing but it's private or just not widely shared. not because I don't want to share but because starting and supporting an open source project is a pita and I just want to build this one little cool thing and be done with it.
- bhouston 2y agoI will be launching a version of this on GitHub as an app to help open source developers. So open source is also going to get a boost.
- bhouston 2y agoAider is python. That is annoying for me as I like to modify things. This is typescript.
- wiether 2y ago
- morisil 2y agoPlease also take a look at my omnipotent Claudine. It is good at self-modifying to develop new tools: https://github.com/xemantic/claudine/ https://github.com/xemantic/claudine/
- bhouston 2y agoI will have a look! Thx!
- ibejoeb 2y agoPretty neat how compact it is. I'm trying to poke around to see what the capabilities are, but, more importantly, I'm interested in the restrictions. In `ExecuteShellCommand` it seems that it's basically unrestricted. I think I want at least a naive safeguard like a whitelist of directories that it can act on.
- zombot 2y agoOh crap, it wants npm. No way in hell.
- bhouston 2y agoIt actually works with bun, pnpm, yarn, etc - any standard Node package manager. I use pnpm personally and that is evident in the repo setup itself, but npm is sort of the standard so I put in that in the docs, rather than mentioning a long list of alternatives.
- Terretta 2y agoGP is likely referring to this concern, "The Great npm Garbage Patch": https://news.ycombinator.com/item?id=41178258 https://news.ycombinator.com/item?id=41178258
- csouzaf 2y agoWhats the difference between Claude Code and Aider?
- bhouston 2y agoAider is python. Claude code is closed source and this is open source and typescript.
- diebillionaires 2y agoIs claude code opensource?
- lawrencelim773 2y agoSuper excited to try it out. I've been looking for a tool like this.