{"id":50982428,"url":"https://github.com/wpank/subql","last_synced_at":"2026-06-19T15:36:20.543Z","repository":{"id":60439475,"uuid":"514429614","full_name":"wpank/subql","owner":"wpank","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-17T09:41:23.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-02T03:21:21.242Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpank.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-15T23:26:24.000Z","updated_at":"2022-09-29T14:57:01.000Z","dependencies_parsed_at":"2022-09-29T15:50:12.698Z","dependency_job_id":null,"html_url":"https://github.com/wpank/subql","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/wpank/subql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpank%2Fsubql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpank%2Fsubql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpank%2Fsubql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpank%2Fsubql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpank","download_url":"https://codeload.github.com/wpank/subql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpank%2Fsubql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34538466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2026-06-19T15:36:20.013Z","updated_at":"2026-06-19T15:36:20.532Z","avatar_url":"https://github.com/wpank.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n## Preparation\n\n#### Environment\n\n- [Typescript](https://www.typescriptlang.org/) are required to compile project and define types.  \n\n- Both SubQuery CLI and generated Project have dependencies and require [Node](https://nodejs.org/en/).\n\n\n#### Code generation\n\nIn order to index your SubQuery project, it is mandatory to build your project first.\nRun this command under the project directory.\n\n````\nyarn codegen\n````\n\n## Build the project\n\nIn order to deploy your SubQuery project to our hosted service, it is mandatory to pack your configuration before upload.\nRun pack command from root directory of your project will automatically generate a `your-project-name.tgz` file.\n\n```\nyarn build\n```\n\n## Indexing and Query\n\n#### Run required systems in docker\n\n\nUnder the project directory run following command:\n\n```\ndocker-compose pull \u0026\u0026 docker-compose up\n```\n#### Query the project\n\nOpen your browser and head to `http://localhost:3000`.\n\nFinally, you should see a GraphQL playground is showing in the explorer and the schemas that ready to query.\n\nFor the `subql-starter` project, you can try to query with the following code to get a taste of how it works.\n\n````graphql\n{\n  query{\n    starterEntities(first:10){\n      nodes{\n        field1,\n        field2,\n        field3\n      }\n    }\n  }\n}\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpank%2Fsubql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpank%2Fsubql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpank%2Fsubql/lists"}