{"id":21555082,"url":"https://github.com/suspiciouslookingowl/youtubei-gql","last_synced_at":"2025-07-19T16:13:35.003Z","repository":{"id":46067250,"uuid":"515030890","full_name":"SuspiciousLookingOwl/youtubei-gql","owner":"SuspiciousLookingOwl","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-28T19:29:44.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-24T10:27:03.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/SuspiciousLookingOwl.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-07-18T04:11:08.000Z","updated_at":"2022-07-18T04:47:51.000Z","dependencies_parsed_at":"2022-07-19T02:17:20.223Z","dependency_job_id":null,"html_url":"https://github.com/SuspiciousLookingOwl/youtubei-gql","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/SuspiciousLookingOwl%2Fyoutubei-gql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuspiciousLookingOwl%2Fyoutubei-gql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuspiciousLookingOwl%2Fyoutubei-gql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SuspiciousLookingOwl%2Fyoutubei-gql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SuspiciousLookingOwl","download_url":"https://codeload.github.com/SuspiciousLookingOwl/youtubei-gql/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244147343,"owners_count":20405942,"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-11-24T08:00:54.474Z","updated_at":"2025-03-18T03:19:44.989Z","avatar_url":"https://github.com/SuspiciousLookingOwl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Youtube GraphQL API\n\n**Note: this app is made for educational purposes**\n\nA Youtube GraphQL API made with [NestJS](https://docs.nestjs.com/graphql) and [Youtubei](https://github.com/SuspiciousLookingOwl/youtubei)\n\n#### [Schema](./src/schema.gql)\n\n#### [Try It Out](https://youtubei-gql.glitch.me/graphql)\n\n## Example\n\n\u003ctable border=\"0\"\u003e\n\n\u003ctr\u003e\n\u003ctd\u003eQuery\u003c/td\u003e\n\u003ctd\u003eResult\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e\n\n```gql\nquery {\n  search(keyword: \"never gonna give you up\", limit: 3) {\n    items {\n      ... on BaseChannel {\n        channelId: id\n        name\n      }\n      ... on VideoCompact {\n        videoId: id\n        title\n        channel {\n          name\n        }\n      }\n      ... on PlaylistCompact {\n        playlistId: id\n        title\n        channel {\n          name\n        }\n      }\n    }\n  }\n  video(id: \"dQw4w9WgXcQ\") {\n    id\n    title\n    related(limit: 1) {\n      items {\n        id\n        title\n        channel {\n          name\n          videos(limit: 5) {\n            items {\n              id\n              title\n            }\n          }\n        }\n      }\n    }\n  }\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```json\n{\n  \"data\": {\n    \"search\": {\n      \"items\": [\n        {\n          \"videoId\": \"dQw4w9WgXcQ\",\n          \"title\": \"Rick Astley - Never Gonna Give You Up (Official Music Video)\",\n          \"channel\": {\n            \"name\": \"Rick Astley\"\n          }\n        },\n        {\n          \"videoId\": \"34Ig3X59_qA\",\n          \"title\": \"Never Gonna Give You Up - Rick Astley (Lyrics) 🎵\",\n          \"channel\": {\n            \"name\": \"DopeLyrics\"\n          }\n        },\n        {\n          \"videoId\": \"LLFhKaqnWwk\",\n          \"title\": \"Rick Astley - Never Gonna Give You Up (Official Animated Video)\",\n          \"channel\": {\n            \"name\": \"Rick Astley\"\n          }\n        }\n      ]\n    },\n    \"video\": {\n      \"id\": \"dQw4w9WgXcQ\",\n      \"title\": \"Rick Astley - Never Gonna Give You Up (Official Music Video)\",\n      \"related\": {\n        \"items\": [\n          {\n            \"id\": \"yPYZpwSpKmA\",\n            \"title\": \"Rick Astley - Together Forever (Official Video) [Remastered in 4K]\",\n            \"channel\": {\n              \"name\": \"Rick Astley\",\n              \"videos\": {\n                \"items\": [\n                  {\n                    \"id\": \"LLFhKaqnWwk\",\n                    \"title\": \"Rick Astley - Never Gonna Give You Up (Official Animated Video)\"\n                  },\n                  {\n                    \"id\": \"rZlQ28OeGMI\",\n                    \"title\": \"Rick Astley – My Arms Keep Missing You (Official Audio)\"\n                  },\n                  {\n                    \"id\": \"JIOPB36ALMM\",\n                    \"title\": \"Rick Astley - abcdefu (GAYLE Cover)\"\n                  }\n                ]\n              }\n            }\n          }\n        ]\n      }\n    }\n  }\n}\n```\n\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Development\n\nInstall `pnpm` if you haven't\n\n````\n\nnpm i -g pnpm\n\n```\n\nInstall dependency\n\n```\n\npnpm i\n\n```\n\nStart the dev server:\n\n```\n\npnpm start:dev\n\n```\n\n```\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuspiciouslookingowl%2Fyoutubei-gql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuspiciouslookingowl%2Fyoutubei-gql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuspiciouslookingowl%2Fyoutubei-gql/lists"}