You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# For linux & MAC
curl -O https://raw.githubusercontent.com/Chintanpatel24/Prexec/main/Prexec.py && python3 Prexec.py
# For Windows PowerShell
Invoke-WebRequest -Uri https://raw.githubusercontent.com/Chintanpatel24/Prexec/main/Prexec.py -OutFile Prexec.py; python Prexec.py
Method 2: Clone the Repository
# Clone this repository
git clone https://github.com/Chintanpatel24/Prexes.git
# Navigate to the directorycd Prexec
# Run the script
python3 Prexec.py
Method 3: Download Directly
Download Prexec.py from this repository
Save it to your desired location
Run it with Python
python Prexec.py
Method 4: Quick Download (Using wget or curl)
Using wget:
# Download the script
wget https://raw.githubusercontent.com/Chintanpatel24/Prexec/main/Prexec.py
# Run it
python3 Prexec.py
Using curl:
# Download the script
curl -O https://raw.githubusercontent.com/Chintanpatel24/Prexec/main/Prexec.py
# Run it
python3 Prexec.py
π Optional: Setup GitHub Token
For higher API limits (5000 requests/hour instead of 60):
Step 1: Create a Personal Access Token at GitHub Settings
Step 2: Create a .env file in the same directory:
GITHUB_TOKEN=your_token_here
Step 3: The script will automatically detect and use it
π Demo Graph
π Usage
Starting the Tool
cd Prexec
python3 Prexec.py
Everything is a command based !!
Main Menu
β οΈ Limitations
π GitHub API Rate Limits
Authentication
Rate Limit
Resets After
β Without Token
60 requests/hour
1 hour
β With Token
5,000 requests/hour
1 hour
π οΈ Troubleshooting
Issue
Solution
python: command not found
Use python3 check_pr.py instead
HTTP Error 403: rate limit exceeded
Wait 1 hour or add GitHub token
HTTP Error 404: Not Found
Check if username/repo exists
Shows 0 PRs
User has no PRs or repos are private
Script freezes
User has many repos; wait for completion
ModuleNotFoundError
Ensure Python 3.6+ is installed
Debug Mode:
# Run with output logging
python Prexec.py 2>&1| tee output.log
π Example Output
π€ Contributing
Contributions are welcome! π
How to Contribute:
# 1. Fork the repository# 2. Clone your fork
git clone https://github.com/Chintanpatel24/c-pr.git
# 3. Create a feature branch
git checkout -b feature/AmazingFeature
# 4. Make your changes# 5. Commit your changes
git commit -m "Add some AmazingFeature"# 6. Push to the branch
git push origin feature/AmazingFeature
# 7. Open a Pull Request