This is a simple Flask-based server designed to help you detect whether GitHub Copilot (or any other automated tool) sends HTTP requests to a given URL. It logs incoming requests with the client's IP address and timestamp.
You can use this server to:
- Test if Copilot accesses external URLs during code generation or suggestion.
- Monitor request activity from any client.
- Log basic request metadata for analysis.
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py
-
Create a GitHub repository and name it
copilot-request-detector
. -
Add the following files:
app.py
(see below)requirements.txt
-
Install dependencies:
pip install -r requirements.txt