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

https://github.com/thaikolja/github-repository-watcher

Never miss an issue in one of your many repositories on GitHub. Run this Python script once, and you've subscribed to all of your repositories, including those in your organization.
https://github.com/thaikolja/github-repository-watcher

github python repository

Last synced: 25 days ago
JSON representation

Never miss an issue in one of your many repositories on GitHub. Run this Python script once, and you've subscribed to all of your repositories, including those in your organization.

Awesome Lists containing this project

README

          

# GitHub Repository Watcher

[![Python](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/) ![GitHub Release](https://img.shields.io/github/v/release/thaikolja/github-repository-watcher?style=flat) ![GitHub License](https://img.shields.io/github/license/thaikolja/github-repository-watcher?style=flat)

**Never miss an issue** in one of your many repositories on GitHub. Run this Python script once, and you've **subscribed to all of your repositories**, including those in your organization.

## Features

- Bulk subscribe to all accessible repositories
- Supports personal, organization, and collaborator repositories
- Handles large accounts with pagination
- Simple status output for each repository
- Minimal dependencies, fast setup

## Example Output

Output example

## Requirements

- Python `3.6` or newer
- `requests` library (`pip install requests`)
- [GitHub personal access token](https://github.com/settings/tokens) with `repo` scope

## Install & Usage
1. Clone this repository and change into the directory:

```bash
git clone https://github.com/thaikolja/github-repository-watcher.git
cd github-repository-watcher
```

2. Create a virtual Python environment (recommended) and switch into it:

```bash
python3 -m venv venv && source venv/bin/activate
```

3. Install the `requests` library:

```bash
pip install requests
```

4. Edit the top section of the file `main.py` and set your [GitHub token](https://github.com/settings/tokens) starting at line `33`:

```python
# ========== ENTER YOUR GITHUB ACCESS TOKEN HERE ==========

# GitHub personal access token for API authentication
# Replace with your token
TOKEN: str = "YOUR_TOKEN_HERE"

# ========== DO NOT MODIFY BELOW THIS LINE ================
```

5. Run:
```bash
python3 main.py
```

## License
MIT

## Authors

* Kolja Nolte (kolja.nolte@gmail.com)