motivator-cli
v1.1.0
Published
A CLI tool that motivates and serves HTML files.
Downloads
18
Maintainers
Readme
🚀 motivator-cli
A fun Node.js CLI tool that motivates you while running your JavaScript or HTML code!
Whether your code runs perfectly or crashes — you'll always be cheered on 💬💚
📦 Features
- ✅ Runs your
.jsfile withmt <filename> - 🌐 Serves
.htmlfiles withmthtml <filename.html> <port> - 🎯 Shows a motivational quote on success
- ❌ Shows an encouraging message on error
- 🌈 Uses colorful console messages (powered by
chalk) - 🔥 Easy to use — just type one command
📥 Installation
🔁 Run without installing (via npx)
npx motivator-cli index.js🌐 Install globally
npm install -g motivator-cliNow you can use:
mt index.js
mthtml index.html 3000✅ Example Output
If Code Runs Successfully:
✅ Great job! You did it! 🚀If There’s an Error:
😅 Keep it up! Errors are part of the journey. You got this! 💪🌐 Serving HTML
You can now serve your index.html using:
mthtml index.html 3000This opens a local server and auto-opens the browser.
💻 Requirements
- Node.js v14 or above
- Your
.jsfile should exist and be runnable with node
👨💻 Author
Made with ❤️ by Sanket Uphade
📫 Contact Me
📜 License
ISC © 2025 Sanket Uphade
