Increase your productivity NOW! 🚀

https://marketplace.visualstudio.com/items?itemName=overfit.cuddle-code

JetBrains approved Honorable Award project by the team Overfit

Inspiration

I have been thinking what is the biggest struggle with coding. Especially here at the Hackathon. What could I do that would not only significantly improve my Dev experience in future life, but specifically help us win during these 24 hours.

The answer is obvious. If us 4 people for 24 hours could somehow remain fully focused and brimming with energy... I mean you do the math -- that's 12 mandays of work.

Anyway, for us as team, positive and friendly encouragement just gives us such a boost. When you want to finish the feature and show it to you friend. When he finally sees it and is as excited as you are. That just recharges your battery.

So obviously, we went ahead, automated it. But unfortunately, made it a little bit too good.

What it does

We made a VS Code extension, Cuddle Code, that is always there with you and ready to support you. It, or rather she (Sandy), monitors your actions and gives you periodical remark, encouragements or even teasing. These comments are targeted, but unpredictable, which exactly affects the subconscious excitement of expecting the comment and the reward of receiving it. This basically results in unending desire of more and more coding.

She is able to react to more than two dozen distinct events (related to writing, refactoring, editor interaction, dev tool outputs, git, ...), each with a large set of curated enjoyable responses totaling at 450. Furthermore, she supports dynamic responses generated in real time in reaction to the content of the code.

How we built it

We integrated various VS Code and system APIs plus an insignificant amount of hacks to somehow figure out what the user is doing and categorize them. Based on these, we select an appropriate non-repetitive response from our pool of options, which may either a dynamic created, static non-cached or static cached audio file generated by using ElevenLabs Text-To-Speech API.

Challenges we ran into

Azure. But also, user input is unpredictable.

Accomplishments that we're proud of

It works and we actually like using it.

What we learned

The power of positivity and encouragement is much stronger than one could imagine.

What's next for Cuddle Code

Get 100 users, but that shouldn't be too hard.

Built With

  • elevenlabs
  • openai
Share this project:

Updates