July 12th, 2024

Show HN: Open-source CLI coding framework using Claude

The GitHub repository for "Dravid (DRD) - AI-Powered CLI Coding Framework" streamlines coding with AI. It aids in project setup, code generation, and file management. The README covers features, installation, usage, and support.

Read original articleLink Icon
Show HN: Open-source CLI coding framework using Claude

The GitHub repository contains information about "Dravid (DRD) - AI-Powered CLI Coding Framework," which is an advanced tool designed to streamline coding processes using artificial intelligence. The framework assists developers in tasks like project setup, code generation, and file management. The README file provides details on features, installation steps, usage examples, and use cases for projects like Next.js, Ruby on Rails, and Python. It also includes information on project structure, contributing guidelines, development setup, testing instructions, license details, acknowledgments, and contact information. For more specific details or questions about the framework, further inquiries can be made directly.

Link Icon 9 comments
By @vysakh0 - 5 months
For the last two weeks I have been using Claude extensively for my coding experiments.

Made this CLI tool to automate it. And to fix errors by sending it back to the claude api. Also included the vision API to build based on images.

I built this using this tool itself partly.

Probably OpenDevin, Agents is the future, maybe even Cursor like autocomplete, for now I find this approach useful.

Added some examples in the README. Would love some feedback, this is my first python library that I published.

By @CGamesPlay - 5 months
How's it work? From briefly glancing through, looks like the first step ("metadata") is to upload all of the code to Claude on a per-file basis and ask it to summarize the "contents or purpose". Is there some automatic selection of metadata, or does it only pull in metadata that the user specifically requests?

The "dev server monitor" appears to be the killer feature in your project. So it runs a command, monitors the logs for errors, and attempts to fix them automatically. That's fun! How effective is it? Do you have any way to advise the agent while it's working? Example: it detects an error and starts working and I write a message to it "this happened when I uploaded an image on a brand new user account", which it then uses to inform its plan?

More off topic, I love the prevalence of this kind of project. It only takes a week or two to build yourself a coding assistant for personal use tying into these LLMs, and the results can be quite impressive. It all feels very cyberpunk to me.

By @mlamina - 5 months
Looks cool! I've been building something similar, based on OpenAI models: https://github.com/PR-Pilot-AI/pr-pilot-cli
By @qrian - 5 months
I am an idiot for running this in an unsandbox environment as it decided to rm -rf all files to restart from error, deleting a whole lot of important files.
By @sigoden - 5 months
A similar coding assistant in less than 100 lines of code.

https://github.com/sigoden/llm-functions/tree/main/agents/co...

By @rpm33 - 5 months
This is awesome, i just tried it myself for a simple form builder that I needed to send out a survey.

I will play around more, at first glance, it might be useful for learning new frameworks/langages that require installation of external dependencies.

what do you wish to do with further?

By @kosolam - 5 months
How is this compares to aider?
By @Vaslo - 5 months
What kind of hardware do you need for this?
By @wanderingmind - 5 months
Looks good, but any specific reason to build this instead of using more mature tools like aider?