{"id":16968066,"url":"https://github.com/thespeedx/github_wrapper","last_synced_at":"2025-04-11T23:51:53.831Z","repository":{"id":41402174,"uuid":"505943511","full_name":"TheSpeedX/github_wrapper","owner":"TheSpeedX","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-22T23:13:15.000Z","size":240,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T23:51:51.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/TheSpeedX.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}},"created_at":"2022-06-21T17:34:09.000Z","updated_at":"2025-02-24T20:52:26.000Z","dependencies_parsed_at":"2022-07-25T22:33:14.556Z","dependency_job_id":null,"html_url":"https://github.com/TheSpeedX/github_wrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSpeedX%2Fgithub_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSpeedX%2Fgithub_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSpeedX%2Fgithub_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheSpeedX%2Fgithub_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheSpeedX","download_url":"https://codeload.github.com/TheSpeedX/github_wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248497865,"owners_count":21113984,"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":[],"created_at":"2024-10-14T00:10:37.670Z","updated_at":"2025-04-11T23:51:53.804Z","avatar_url":"https://github.com/TheSpeedX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github_wrapper\n\nThis is built using FastAPI in Python.\n\n## How to Run\n\n- ### Initial Setup\n\nFirst create a `.env` file taking with variables same as in `.example.env`\n\n- Get Your Client ID and Client Secret From Github Application.\n- Fill in a Secure Secret Key for Web App to use.\n\nNOTE: While creating your Github Application Fill in callback url as \u003chttp://127.0.0.1:8000/github/callback\u003e\n\n- ### Without Docker\n\nMake sure you have Python 3.8+ and pip installed.\n\nInstall required dependencies.\n\n```bash\npip install -r requirements.txt\n```\n\nStart the Server using `uvicorn`\n\n```bash\nuvicorn main:app --host 0.0.0.0 --port 8000\n```\n\nNow head over to  \u003chttp://127.0.0.1:8000/docs\u003e\n\n- ### With Docker\n\nMake sure you have `docker` and `docker-compose` installed.\n\nBuild the container and run it\n\n```bash\ndocker-compose up --build -d\n```\n\nNow head over to  \u003chttp://127.0.0.1:8000/docs\u003e\n\n## Screenshots\n\nHead Over To \u003chttp://127.0.0.1:8000/github/login\u003e to start OAuth\n\n![Github OAuth](img/oauth.png)\n\nAfter Authorization, You will get a JWT Token which you need to pass in all future requests\n\n![JWT Token](img/jwt_response.png)\n\nNow We Can Send Request using the JWT Token as Bearer Token\n\nHere is the [POSTMAN COLLECTION](https://www.getpostman.com/collections/a1cf49a6ecd2ccbd0f55) for the requests.\n\nSome Request Examples are shown below:\n\nCreate Repo\n\n![Create Repo](img/create_repo.png)\n\nList Repo\n\n![List Repo](img/list_repo.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthespeedx%2Fgithub_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthespeedx%2Fgithub_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthespeedx%2Fgithub_wrapper/lists"}