| Crates.io | katac |
| lib.rs | katac |
| version | 0.1.4 |
| created_at | 2025-12-10 13:47:57.478792+00 |
| updated_at | 2025-12-10 20:00:11.158202+00 |
| description | A simple command-line application to streamline the process of practicing coding katas |
| homepage | https://github.com/aldevv/katac |
| repository | https://github.com/aldevv/katac |
| max_upload_size | |
| id | 1978046 |
| size | 370,778 |
Katac is a simple command-line application designed to streamline the process of practicing coding katas. It allows you to organize your katas by copying them into dedicated day folders and easily run them when you're done
curl -fsSL https://raw.githubusercontent.com/aldevv/katac/main/install.sh | bash
Download pre-built binaries from the releases page for your platform (Linux, macOS, Windows - x86_64, ARM64, etc.)
# From crates.io
cargo install katac
# Or directly from GitHub
cargo install --git https://github.com/aldevv/katac
katasmkdir -p katas/hello_world
// hello.go
func helloWorld() {
}
func main() {
helloWorld()
}
to begin a new day run the katac command with the kata or katas you want to do: (it can also be a path)
# katac <kata_name>...
katac hello_world
this will create a days folder which will contain a day1 containing your kata
you can run your kata if the kata has a Makefile (if you have make), or a run.sh (run.bat for windows)
# Makefile
run:
go run hello.go
after you are done writing the kata like in this example:
import "fmt"
func helloWorld() {
fmt.Println("hello world")
}
func main() {
helloWorld()
}
you can run it by doing this:
# katac run [kata_name]...
katac run
you can create a katac.toml file that looks like this:
[katas]
katas_dir = "go-katas"
days_dir = "go-days"
you can run random katas by using the random command and giving the number of random katas you want to do, like this
# this will copy 4 randomly selected katas from your katas directory to your days directory
katac random 4
if you want to choose the katas the random command will work on, you can add this property to the katac.toml file
[katas]
random = ["Map", "LRU", "Trie", "Stack"]
interactively select and copy example katas:
katac init
update to the latest version:
katac upgrade
If you have any ideas for improvements or find any issues, feel free to open an issue or submit a pull request.