{"id":19491280,"url":"https://github.com/faisal-fida/copilot-python","last_synced_at":"2026-05-01T23:34:22.749Z","repository":{"id":229580676,"uuid":"777095298","full_name":"faisal-fida/copilot-python","owner":"faisal-fida","description":"FastAPI server interacts with the GitHub Copilot (Reverse Engineered). This project is a FastAPI server that interacts with the GitHub Copilot API. It authenticates with GitHub and uses the access token to get code completions from GitHub Copilot.","archived":false,"fork":false,"pushed_at":"2024-03-25T07:38:50.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T08:46:05.674Z","etag":null,"topics":["api","copilot","fastapi","github","reverse-engineering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/faisal-fida.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-25T07:31:59.000Z","updated_at":"2024-10-06T07:31:04.000Z","dependencies_parsed_at":"2024-03-25T08:52:11.442Z","dependency_job_id":"b032decf-4f99-4f69-afff-0e8509c26060","html_url":"https://github.com/faisal-fida/copilot-python","commit_stats":null,"previous_names":["faisal-fida/copilot-python"],"tags_count":0,"template":false,"template_full_name":"github/codespaces-blank","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisal-fida%2Fcopilot-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisal-fida%2Fcopilot-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisal-fida%2Fcopilot-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faisal-fida%2Fcopilot-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faisal-fida","download_url":"https://codeload.github.com/faisal-fida/copilot-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240738091,"owners_count":19849546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","copilot","fastapi","github","reverse-engineering"],"created_at":"2024-11-10T21:16:23.380Z","updated_at":"2026-05-01T23:34:22.717Z","avatar_url":"https://github.com/faisal-fida.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Copilot API Server\n\nThis project is a FastAPI server that interacts with the GitHub Copilot API. It authenticates with GitHub and uses the access token to get code completions from GitHub Copilot.\n\n## Technologies Used\n\n- Python\n- FastAPI\n- HTTPX\n\n## Getting Started\n\n1. Clone the repository.\n2. Install the dependencies with `pip install poetry \u0026\u0026 poetry install \u0026\u0026 poetry shell`.\n3. Run the server with `python main.py`.\n\n## API Endpoints\n\n- `POST /copilot/completion/`: Get code completions from GitHub Copilot. The request body should contain a `prompt` and an optional `language` (default is \"python\").\n\n## Environment Variables\n\n- `GITHUB_CLIENT_ID`: Your GitHub client ID.\n- `GITHUB_CLIENT_SECRET`: Your GitHub client secret.\n- `GITHUB_REDIRECT_URI`: Your GitHub redirect URI.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaisal-fida%2Fcopilot-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaisal-fida%2Fcopilot-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaisal-fida%2Fcopilot-python/lists"}