An open API service indexing awesome lists of open source software.

https://github.com/teewrath/cli-letter

A cli letter for your siginificant one
https://github.com/teewrath/cli-letter

Last synced: over 1 year ago
JSON representation

A cli letter for your siginificant one

Awesome Lists containing this project

README

          

# ❀️ Command Line Letter ❀️

![cli logo](https://github.com/user-attachments/assets/93dcc7e0-dcab-43a1-8953-970818b568bc)

### πŸ’Œ Ask them if they will be your Valentine? πŸ’Œ
*Built with ❀️ using JavaScript*

![demo](https://github.com/user-attachments/assets/248e24b5-7c31-41f3-9318-c39df6ab0284)

---

## πŸš€ How to Use This Project
Follow these simple steps to create your personalized Valentine CLI:

### πŸ’Œ 1. Personalize the Letter
Open `index.js` and add your name:
```javascript
const rainbowTitle = chalkAnimation.rainbow(`This is a letter from (Your Name)\n`);
```
Replace `(Your Name)` with your name (Line 16 in `index.js`).

### πŸ“¦ 2. Publish Your NPM Package
Publish your changes as a package:
```bash
npm login
npm version patch
npm publish
```

### πŸ’» 3. Share the Love ❀️
Ask them to run your CLI using:
```bash
npx
```

---

## πŸ’ž Try the Existing Package
Want to see it in action? Try the existing version:
```bash
npx cli-letter
```

---

## πŸ› οΈ Packages Used
- [chalk](https://github.com/chalk/chalk) - Terminal string styling
- [inquirer](https://github.com/SBoudrias/Inquirer.js) - Interactive prompts
- [gradient-string](https://github.com/bokub/gradient-string) - Beautiful gradients
- [chalk-animation](https://github.com/bokub/chalk-animation) - Terminal animations
- [figlet](https://github.com/patorjk/figlet.js) - ASCII text generator
- [nanospinner](https://github.com/usmanyunusov/nanospinner) - Lightweight spinner

### πŸ“¦ Install All Dependencies:
```bash
npm i chalk chalk-animation figlet gradient-string inquirer nanospinner
```

---

## 🌟 Show Some Love
If this project helped you get your Valentine, don't forget to ⭐ the repository!

πŸ’– Happy Valentine’s Day! πŸ’–