DEV Community

Cover image for Code Zen Track Action
Antony Prince J
Antony Prince J

Posted on

Code Zen Track Action

What I built

A Github action that responds with jokes, motivational quotes or any advice from your favourite character using GPT API leveraging the Github API to analyze the developer's GitHub history. This can be really helpful for developers to maintain their code zen by providing helpful suggestions to help them avoid burnout and frustration.

It aims to prioritise mental health and provide tailored prompts and responses to empower developers in their journey towards better well-being, productivity, and overall satisfaction.

Category Submission:

Maintainer Must-Haves

App Link

https://github.com/marketplace/actions/code-zen-track-action

Screenshots

Code Zen Track Issue 1

Code Zen Track Issue 2

Description

Code Zen Track Action is a Github action that provides GPT responses for the prompt generated using the user's Github usage history. This enables developers to find scheduled reminders in their repository's issues to let them know to prioritise their mental health using quotes, jokes or any advice. The action can be configured to what persona, tone and operative clause that the response should take !

Link to Source Code

https://github.com/antoprince001/code-zen-track-action

Permissive License

MIT

Background (What made you decide to build this particular app? What inspired you?)

Developers tend to be highly invested in their work at times and forget to take occasional breaks or get anxious over a lot of things. It could be maybe if a ci/cd pipeline keeps failing or they feel their github contributions are not getting appreciated. Feeling under appreciated might make the devs lose their motivation.
So similar to apps that remind devs to take a break, this github action can provide suggestions based on the user github history and be scheduled to trigger in periodic intervals and create an issue in the repo. But instead of just receiving a generic recommendation, you can set the words to follow the pattern of your favorite character , set the tone and define whether you want some wise words or a joke or even just honest opinion

How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?)

It is developed as an custom Github Action using javascript template as a starting point. It also makes use of Github and OpenAI API for the action to run.

Additional Resources/Info

Created with love and passion. I am grateful for developers
@sharmilas22 and @hemanthhari2000 , who collaborated on this open source project.

Top comments (0)