DEV Community

Dan Stockham
Dan Stockham

Posted on

Project ideas that can be done in 4 hours or less?

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)

jmfayard profile image
Jean-Michel ๐Ÿ•ต๐Ÿปโ€โ™‚๏ธ Fayard

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:

GitHub logo 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



You can install using one of the options listed below

Source Command
Node npm install -g kotlin-cli-starter
Installer curl -L | sudo sh
Tests ./gradlew allTests
Kotlin All Platforms Run ./gradlew allRun
Kotlin JVM Run ./gradlew run
Kotlin Native Run ./gradlew install then $ git standup
Kotlin Node.JS Run ./gradlew jsNodeRun


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

  • a modern programming language
  • modern IDE support
  • modern practices such as unit testing and continuous integration
  • leverage Kotlin multiplatform libraries
  • run your code on the JVM and benefit from a wealth of Java libraries
  • or build a native executable, which starts very fast andโ€ฆ
minecodes profile image

An basic Discord Bot in NodeJS (it is possible)