Metadata-Version: 2.4
Name: repo-notifier
Version: 0.1.2
Summary: A CLI tool that emails a friend when you create a new GitHub repo
Home-page: https://github.com/Priyanshu-1477/repo-notifier
Author: Priyanshu Raj
Author-email: your_email@example.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests
Requires-Dist: python-dotenv
Requires-Dist: rich
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 📦 Repo Notifier

A simple Python CLI tool that monitors your GitHub account and sends you an email whenever a new repository is created.

---

## ✨ Features

- ✅ Detects newly created public repositories
- 📧 Sends email notifications
- 🔐 Uses environment variables for secure credentials
- 🧪 Easy to test and extend
- 💻 Usable from terminal via `repo-notifier` command

---

## 📥 Installation

```bash
pip install repo-notifier
```

---

## ⚙️ Setup

1. **Create a `.env` file** in your working directory with the following variables:

```
GITHUB_USERNAME=your_github_username
GITHUB_TOKEN=your_github_token
SENDER_EMAIL=your_email@gmail.com
APP_PASSWORD=your_gmail_app_password
RECEIVER_EMAIL=recipient_email@gmail.com
```

> ⚠️ Make sure to [generate a GitHub Personal Access Token (classic)](https://github.com/settings/tokens) with `repo` and `read:user` scopes.  
> ⚠️ For Gmail, use an [App Password](https://support.google.com/mail/answer/185833?hl=en) (not your actual password).

---

## 🚀 Usage

Run the tool using:

```bash
repo-notifier
```

If a new repo is detected, you’ll receive an email with a link to the new repository.

---

## 📂 File Structure

```
repo-notifier/
├── notifier/
│   ├── __init__.py
│   └── notifier.py
├── .env                  # Your secrets (not committed)
├── README.md
├── setup.py
├── pyproject.toml
└── MANIFEST.in
```

---

## 🛠 Example Email

```
Subject: New GitHub Repo: my-new-project

Hey! 👋

A new GitHub repository was just created:
🔗 https://github.com/your_username/my-new-project

Check it out!

– Your GitHub Notifier Bot
```

---

## 📃 License

MIT © 2025 Priyanshu Raj
