GitXplorerGitXplorer
R

autocoder

public
3 stars
0 forks
6 issues

Commits

List of commits on branch main.
Unverified
e0a6171a20a0e791b21475edc4cea6b5a6dd8765

slight format improvement in prompts.py

RRafaelCosman committed 2 years ago
Unverified
11405fd58d360f4fee93971f4625c390c8d38ad6

factors out EXAMPLES from both prompts. close #10

RRafaelCosman committed 2 years ago
Unverified
fc8c4b50c963a6510e7b0ac6788186528b1d90d5

adds an example to the prompt of removing a file

RRafaelCosman committed 2 years ago
Unverified
15a5fd01d5ddec106e8da6b078ed94b5ca225c34

slight tweak to output formatting

RRafaelCosman committed 2 years ago
Unverified
22b7d1704c7d46a755080de60fa71def1c59229e

colors completion handling output appropriately. close #9

RRafaelCosman committed 2 years ago
Unverified
8639c135c9b26dad817eb559bbb8e67aba6c2ee6

improves formtting in completion handling and adds attempt to run the command again (autocoder will only try to fix once)

RRafaelCosman committed 2 years ago

README

The README file for this repository.

Autocoder

autocoder is a command-line tool for automatically writing code directly in your repo. After installing, navigate to your project folder and then run autocoder "<instructions for what you want to do>"

For example:

  • cd my-repo
  • autocoder "please write me a login page"
  • autocoder "write me a webserver to serve the login page"
  • autocoder "run the webserver"
  • autocoder "please add styling to the login page so it looks better"

Autocoder will also automatically catch exceptions thrown by code it runs, and will attempt to fix bugs.

NOTE: Autocoder is a very much a prototype right now and has severe limitations.

Demo Video (60s)

Demo Video

Features demoed

  1. Writing new files
  2. Running console commands
  3. Debugging simple bugs
  4. Editing files

Note: The OpenAI API actually takes several seconds to reply, this waiting time was edited out to make the video shorter. Thus the tool in practice is significantly slower than shown in the video.