---
title: CoachBot
url: https://nandomoreira.dev/en/lab/coachbot-cli
collection: lab
tech:
  - Shell
  - JSON
date: 2026-02-19
---

# CoachBot

Anti-motivational coach for the terminal: every time a shell opens, a sarcastic line in a speech bubble, spoken by a little pixel-art robot. Over a hundred lines in English and as many in Portuguese, and it installs with a single command.

## Problem

A motivational line in the terminal is a cliché nobody reads after the second
day. The sarcastic version does the opposite: it gets a smile precisely
because it does not take the day seriously.

## Decisions

A shell script with no dependency beyond what is already on the system, with
the lines in JSON separated by language, so adding a language does not touch
the code. The language comes from a flag or the COACHBOT_LANG variable, and
the one-line installer puts everything in ~/.local/bin. It works in bash,
zsh, fish and PowerShell.

## Outcome

A small humor project, in use in my own terminal. Two stars on GitHub.

## Links

- Repo: https://github.com/nandomoreirame/coachbot-cli
