{"id":42363955,"url":"https://github.com/poki/poki-cli","last_synced_at":"2026-01-27T17:54:27.064Z","repository":{"id":37960957,"uuid":"399152369","full_name":"poki/poki-cli","owner":"poki","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-22T03:47:40.000Z","size":279,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-01T16:44:55.365Z","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":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poki.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-08-23T15:19:26.000Z","updated_at":"2025-08-04T22:36:55.000Z","dependencies_parsed_at":"2024-02-14T15:41:39.371Z","dependency_job_id":"0d0cb5ba-361c-45e4-91cd-01501a3844ea","html_url":"https://github.com/poki/poki-cli","commit_stats":{"total_commits":26,"total_committers":4,"mean_commits":6.5,"dds":0.1923076923076923,"last_synced_commit":"6e6f289d221d8df75dd1e82570e152ad976cbdc7"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/poki/poki-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poki%2Fpoki-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poki%2Fpoki-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poki%2Fpoki-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poki%2Fpoki-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poki","download_url":"https://codeload.github.com/poki/poki-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poki%2Fpoki-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28817623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-01-27T17:54:25.019Z","updated_at":"2026-01-27T17:54:27.057Z","avatar_url":"https://github.com/poki.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# poki-cli\n[![npm](https://img.shields.io/npm/v/@poki/cli.svg?style=flat-square)](https://www.npmjs.com/package/@poki/cli)\n[![node](https://img.shields.io/node/v/@poki/cli.svg?style=flat-square)](https://nodejs.org/)\n[![license](https://img.shields.io/github/license/poki/poki-cli.svg?style=flat-square)](LICENSE)\n\nThe [Poki for Developers](https://developers.poki.com/) command line utility allows you to upload game builds directly from your terminal or CI-pipeline.\n\n## Installation\n\nYou can run it directly the command using `npx`:\n```sh\nnpx @poki/cli --help\n```\n\nOr you can add this to your project's `package.json`:\n```json\n{\n  \"scripts\": {\n    \"poki-upload\": \"poki upload\"\n  },\n  \"devDependencies\": {\n    \"@poki/cli\": \"*\"\n  }\n}\n```\nAnd then run `npm install` or `yarn install` to install the dependency.\n\n\n## Configuration\n\nBefore you can upload a build you will need to configure your game ID using the following command:\n```sh\nnpx @poki/cli init --game c7bfd2ba-e23b-486f-9504-a6f196cb44df --build-dir dist\n```\n\nReplace `c7bfd2ba-e23b-486f-9504-a6f196cb44df` with your game ID (can be found in the address bar on your game page on https://developers.poki.com/).\nAnd replace `dist` with your build directory. This is the directory that will be uploaded to Poki for Developers.\n\nThis will create a `poki.json` file in the root of your project containing the following: \n```json\n{\n  \"game_id\": \"c7bfd2ba-e23b-486f-9504-a6f196cb44df\",\n  \"build_dir\": \"dist\"\n}\n```\n\nAlternatively you can add this to your `package.json`:\n```json\n{\n  \"poki\": {\n    \"game_id\": \"c7bfd2ba-e23b-486f-9504-a6f196cb44df\",\n    \"build_dir\": \"dist\"\n  }\n}\n```\n\n## Uploading a build\n\nTo upload a new build you can simply run:\n```sh\nnpx @poki/cli upload --name \"$(git rev-parse --short HEAD)\" --notes \"$(git log -1 --pretty=%B)\"\n\n# Or if you've configured the scripts in the package.json using npm:\nnpm run-script poki-upload\n# Using yarn\nyarn poki-upload\n```\nDo make sure your game is built correctly in the configured build_dir.\n\nWhen using the upload command for the first time your browser will be opened and you'll be asked to authenticate.\nThe authentication credentials will be stored in a `$XDG_CONFIG_HOME/poki/auth.json`, `$HOME/.config/poki/auth.json` or `%LOCALAPPDATA%\\Poki\\auth.json`.\n\nAlso note that a Review still needs to be requested manually on the Poki for Developers platform (for now).\n\n## Full usage\n\n```sh\n$ npx @poki/cli --help\n\nCommands:\n  poki init    Create a poki.json configuration file\n  poki upload  Upload a new version to Poki for Developers\n\nOptions:\n      --version  Show version number\n  -h, --help     Show help\n\nExamples:\n  poki init --game c7bfd2ba-e23b-486f-9504-a6f196cb44df --build-dir dist\n  poki upload --name \"New Version Name\"\n  poki upload --name \"$(git rev-parse --short HEAD)\" --notes \"$(git log -1 --pretty=%B)\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoki%2Fpoki-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoki%2Fpoki-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoki%2Fpoki-cli/lists"}