1.0.203 • Published 10 months ago

codecane v1.0.203

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

The most powerful coding agent

Codebuff is a CLI tool that writes code for you.

  1. Run codebuff from your project directory
  2. Tell it what to do
  3. It will read and write to files and run commands to produce the code you want

Note: Codebuff will run commands in your terminal as it deems necessary to fulfill your request.

Installation

To install Codebuff, run:

npm install -g codebuff

(Use sudo if you get a permission error.)

Usage

After installation, you can start Codebuff by running:

codebuff [project-directory]

If no project directory is specified, Codebuff will use the current directory.

You can also control the cost/quality tradeoff with these flags:

codebuff --lite  # Budget mode for more econonmical responses
codebuff --max   # Premium mode for higher quality responses (--o1 also works)

After running codebuff, simply chat with it to say what coding task you want done.

Features

  • Understands your whole codebase
  • Creates and edits multiple files based on your request
  • Can run your tests or type checker or linter; can install packages
  • It's powerful: ask Codebuff to keep working until it reaches a condition and it will.

Our users regularly use Codebuff to implement new features, write unit tests, refactor code,write scripts, or give advice.

Knowledge Files

To unlock the full benefits of modern LLMs, we recommend storing knowledge alongside your code. Add a knowledge.md file anywhere in your project to provide helpful context, guidance, and tips for the LLM as it performs tasks for you.

Codebuff can fluently read and write files, so it will add knowledge as it goes. You don't need to write knowledge manually!

Some have said every change should be paired with a unit test. In 2024, every change should come with a knowledge update!

Tips

  1. Create a knowledge.md file and collect specific points of advice. The assistant will use this knowledge to improve its responses.
  2. Type undo or redo to revert or reapply file changes from the conversation.
  3. Press Esc or Ctrl+C while Codebuff is generating a response to stop it.

Troubleshooting

If you are getting permission errors during installation, try using sudo:

sudo npm install -g codebuff

Or, we recommend installing node with a version manager. See below.

For Mac or Unix, use nvm. Run:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

For Windows, use nvm-windows:

Make sure to uninstall your existing node program. Then get this executable:

Download the release .exe

Feedback

We value your input! Please email your feedback to founders@codebuff.com. Thank you for using Codebuff!

1.0.187

10 months ago

1.0.186

10 months ago

1.0.189

10 months ago

1.0.188

10 months ago

1.0.182

10 months ago

1.0.185

10 months ago

1.0.184

10 months ago

1.0.181

10 months ago

1.0.180

10 months ago

1.0.176

10 months ago

1.0.175

10 months ago

1.0.178

10 months ago

1.0.177

10 months ago

1.0.172

10 months ago

1.0.171

10 months ago

1.0.174

10 months ago

1.0.173

10 months ago

1.0.179

10 months ago

1.0.200

10 months ago

1.0.202

10 months ago

1.0.201

10 months ago

1.0.203

10 months ago

1.0.198

10 months ago

1.0.197

10 months ago

1.0.199

10 months ago

1.0.194

10 months ago

1.0.193

10 months ago

1.0.196

10 months ago

1.0.195

10 months ago

1.0.190

10 months ago

1.0.192

10 months ago

1.0.191

10 months ago

1.0.170

10 months ago

1.0.154

11 months ago

1.0.156

11 months ago

1.0.155

11 months ago

1.0.150

11 months ago

1.0.152

11 months ago

1.0.147

12 months ago

1.0.149

12 months ago

1.0.148

12 months ago

1.0.143

12 months ago

1.0.142

12 months ago

1.0.144

12 months ago

1.0.141

12 months ago

1.0.140

12 months ago

1.0.146

12 months ago

1.0.139

1 year ago

1.0.138

1 year ago

1.0.137

1 year ago

1.0.136

1 year ago

1.0.135

1 year ago

1.0.134

1 year ago

1.0.133

1 year ago

1.0.132

1 year ago

1.0.131

1 year ago

1.0.130

1 year ago

1.0.129

1 year ago

1.0.128

1 year ago

1.0.127

1 year ago

1.0.126

1 year ago

1.0.125

1 year ago

1.0.124

1 year ago

1.0.123

1 year ago