{"id":14984948,"url":"https://github.com/cameronking4/gh-repo-server","last_synced_at":"2025-10-24T16:26:05.864Z","repository":{"id":251450697,"uuid":"837458674","full_name":"cameronking4/gh-repo-server","owner":"cameronking4","description":"Simple deno server to fetch the contents of a github repo and create a single json representation. Created to supply ChatGPT context of my github repositories through Custom GPT function calling.","archived":false,"fork":false,"pushed_at":"2024-08-13T05:18:03.000Z","size":28,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T23:13:31.603Z","etag":null,"topics":["deno","denodeploy","github","gpteezy","oak","pat"],"latest_commit_sha":null,"homepage":"https://gh-repo.deno.dev/get-repo?repo=\"\"","language":"TypeScript","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/cameronking4.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,"publiccode":null,"codemeta":null}},"created_at":"2024-08-03T03:43:42.000Z","updated_at":"2024-12-19T08:58:53.000Z","dependencies_parsed_at":"2024-08-13T11:47:40.176Z","dependency_job_id":null,"html_url":"https://github.com/cameronking4/gh-repo-server","commit_stats":null,"previous_names":["cameronking4/gh-repo-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronking4%2Fgh-repo-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronking4%2Fgh-repo-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronking4%2Fgh-repo-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cameronking4%2Fgh-repo-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cameronking4","download_url":"https://codeload.github.com/cameronking4/gh-repo-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312135,"owners_count":21082638,"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":["deno","denodeploy","github","gpteezy","oak","pat"],"created_at":"2024-09-24T14:09:54.533Z","updated_at":"2025-10-24T16:26:05.798Z","avatar_url":"https://github.com/cameronking4.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"# Fetch Github Repo for ChatGPT context\nDownload the OpenAI yaml and add to your gpt or chat to begin fetching public Github repos. Clone this repo and self host using DenoDeploy to pull private Github repos using your PAT.\n\n## Demo\n\nhttps://github.com/user-attachments/assets/e6bc2ccb-7158-422a-98ae-3da3041b2533\n\n## Deno Deploy Server\nThis Deno server application uses the Oak framework to create a simple API for fetching and displaying the contents of a GitHub repository. The API exposes an endpoint to retrieve the contents of a specified repository, including files and directories, but excludes certain file types (e.g., images and videos).\n\n## Features\n\n- Fetch contents of a specified GitHub repository.\n- Recursively retrieve and display directory contents.\n- Exclude certain file types from retrieval.\n- Return file contents in JSON format.\n\n## Prerequisites\n\n- Deno runtime installed. [Install Deno](https://deno.land/manual@v1.11.5/getting_started/installation)\n- A GitHub Personal Access Token (PAT) with access to the desired repositories.\n\n## Environment Variables\n\n- `GITHUB_PAT`: Your GitHub Personal Access Token.\n\n## Installation\n\n1. **Clone the repository:**\n\n   ```sh\n   git clone https://github.com/cameronking4/gh-repo-server.git\n   cd gh-repo-server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronking4%2Fgh-repo-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcameronking4%2Fgh-repo-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcameronking4%2Fgh-repo-server/lists"}