Motivator
Motivator is a lightweight VS Code extension that shows a random, encouraging message while you work. Choose how often messages appear, replace the built-in library with your own, or turn automatic messages off whenever you want.
How to use
- Install VS Code Motivator from the Extensions view.
- Open VS Code Settings and search for Motivator to choose the message interval, add your own messages, or turn automatic messages on or off.
- Open the Command Palette and run Motivator: Show a Message Now whenever you want an immediate boost.
- Run Motivator: Buy Me a Coffee from the Command Palette to open the project's support page.

Features
- Includes 100 default motivational messages.
- Lets you choose the interval between messages, in minutes.
- Lets you turn automatic messages on or off.
- Lets you supply your own messages in VS Code Settings.
- Includes a command to display a message immediately.
- Includes an optional Buy Me a Coffee reminder, shown at most once every seven days by default.
Configuration
Open VS Code Settings and search for Motivator, or add these settings to your settings.json:
{
"motivator.enabled": true,
"motivator.intervalMinutes": 30,
"motivator.buyMeCoffeeReminderEnabled": true,
"motivator.buyMeCoffeeReminderIntervalDays": 7,
"motivator.messages": [
"Progress beats perfection.",
"Take the problem one piece at a time.",
"Your next commit can be the breakthrough."
]
}
| Setting |
Type |
Default |
Description |
motivator.enabled |
boolean |
true |
Enables automatic motivational messages. |
motivator.intervalMinutes |
number |
30 |
Number of minutes between messages. The minimum is one minute. |
motivator.messages |
string array |
100 built-in messages |
Replaces the built-in message library with your own list. |
motivator.buyMeCoffeeReminderEnabled |
boolean |
true |
Enables the separate support reminder. Choosing Don't show again disables this setting without affecting Motivator. |
motivator.buyMeCoffeeReminderIntervalDays |
number |
7 |
Minimum number of days between support reminders. |
Support the project
If Motivator makes your coding day a little better, you can buy me a coffee. Your support helps keep the extension maintained and improving.
Development
- Open this folder in VS Code.
- Run
npm install.
- Press
F5 to launch an Extension Development Host.
- Make a change and run
npm run compile, or run npm run watch during development.
Packaging and publishing
Install the VS Code packaging tool and create a package:
npm install --global @vscode/vsce
vsce package
This produces a .vsix file that you can install locally or upload to the Visual Studio Marketplace.