DEV Community

loading...

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

Dan Stockham
C#/JavaScript Developer
・1 min read

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?

Discussion (2)

Collapse
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

jmfayard_kotlin-cli-starter__Life_is_too_short_for_Bash_programming_and_Telegram_and_GitHub_Desktop

Installation

You can install using one of the options listed below

Source Command
Node npm install -g kotlin-cli-starter
Installer curl -L https://raw.githubusercontent.com/jmfayard/kotlin-cli-starter/main/installer.sh | 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

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

  • 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…
Collapse
minecodes profile image
Minecodes

An basic Discord Bot in NodeJS (it is possible)