Skip to content

tmc/smol-dev-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smol-dev-go

Go implementation of smol developer

Installation

Prerequisites:

  • Go (brew install go)
$ go install github.com/tmc/smol-dev-go@master

This will place smol-dev-go into ~/go/bin/.

Alternatively, you can run it directly via:

$ go run github.com/tmc/smol-dev-go@master

Options

$ smol-dev-go -h

Usage of smol-dev-go:
  -concurrency int
    	number of concurrent files to generate (default 5)
  -model string
    	model to use (default "gpt-4")
  -prompt string
    	prompt to use (can be a filename)
  -target-dir string
    	target directory to write files to
  -verbose
    	verbose output

Example Usage

Suppose you want to generate a small app that prints "Hello World" in different languages based on user input. You can run the following command:

smol-dev-go -prompt="the app prints 'Hello World' in different languages based on user input" -target-dir="./generated_code" -verbose=true

This command will generate the necessary files in the ./generated_code directory.

About

smol-dev-go, a Go implementation of smol developer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages