A friend of mine approached about coming up with ideas to live stream to his audience. I suggested to build small projects that could finished within a single session like code katas.
Is there any code katas or small projects that people suggest that be built in 4 hours or less?
Top comments (2)
Command line tools!
The hard part is comin up with an idea.
Once that done, that fits in less than 4 hours.
I just did a live coding session in YouTube where we built a simple version of a git extension in one hour.
Based on my project here:
jmfayard / kotlin-cli-starter
Life is too short for Bash programming
A starter project to build command-line tools in Kotlin Multiplatform
Contains a re-implementation of a real world CLI tool: git-standup
Installation
You can install using one of the options listed below
curl -L https://raw.githubusercontent.com/jmfayard/kotlin-cli-starter/main/installer.sh | sudo sh
./gradlew allTests
./gradlew allRun
./gradlew run
./gradlew install
then$ git standup
./gradlew jsNodeRun
Why?
Being able to write your own command-line tools is a great skill to have. Automate all the things!
You can write the CLI tools in Kotlin and reap the benefits of using
An basic Discord Bot in NodeJS (it is possible)