{"id":17056071,"url":"https://github.com/colingourlay/create-playdate","last_synced_at":"2025-07-29T22:13:37.227Z","repository":{"id":57210641,"uuid":"465259581","full_name":"colingourlay/create-playdate","owner":"colingourlay","description":"Start building your next Playdate game: npm create playdate","archived":false,"fork":false,"pushed_at":"2023-07-16T05:03:39.000Z","size":304,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T02:52:37.431Z","etag":null,"topics":["game","node-js","playdate","playdate-sdk","template"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/colingourlay.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-03-02T10:32:02.000Z","updated_at":"2023-08-08T14:03:04.000Z","dependencies_parsed_at":"2022-08-31T04:01:30.945Z","dependency_job_id":null,"html_url":"https://github.com/colingourlay/create-playdate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colingourlay%2Fcreate-playdate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colingourlay%2Fcreate-playdate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colingourlay%2Fcreate-playdate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/colingourlay%2Fcreate-playdate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/colingourlay","download_url":"https://codeload.github.com/colingourlay/create-playdate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248603493,"owners_count":21131804,"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":["game","node-js","playdate","playdate-sdk","template"],"created_at":"2024-10-14T10:23:15.198Z","updated_at":"2025-04-12T17:25:50.319Z","avatar_url":"https://github.com/colingourlay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-playdate\n\nGenerate a Playdate Lua SDK project, which you can then manage with **npm**, **yarn** or **pnpm**\n\n## Quick Start\n\nThere's nothing to pre-install (except [Node.js](https://nodejs.org/en/)). Run this command in your terminal and answer the handful of prompts:\n\n```sh\nnpm create playdate@latest\n```\n\n## Alternative usage methods\n\n### Global installation\n\nIf you want to pre-install the generator, you can run:\n\n```sh\nnpm install --global create-playdate\n```\n\nThen, run this command to generate a project:\n\n```sh\ncreate-playdate\n```\n\nI wouldn't recommend this though, as it'll be up to you to update the generator manually, whereas `npm create playdate@latest` (or `yarn create playdate` / `pnpm create playdate`) will always ensure you run latest version.\n\n### API ▸ `create` function\n\nThe project generator can be called from within your own Node.js codebase. First, add the package dependency:\n\n```sh\nnpm install create-playdate\n```\n\nThen, import the `create` function into your code, and call it with an object containing the `cwd` you want to generate a project in and a `name` for the game. Optionally, you can also include the name of the `author` and zero or more `editors`.\n\n```js\nimport { create } from 'create-playdate';\n\ncreate({\n\tcwd: '/Users/someone-cool/playdate-games/my-game',\n\tname: 'My Game',\n\tauthor: 'Someone Cool',\n\teditors: ['vscode'] // (and/or 'nova')\n});\n```\n\n## Attributions\n\n- Template structure \u0026 `main.lua` contents suggested by [Panic](https://sdk.play.date/1.9.0/Inside%20Playdate.html#_a_basic_playdate_game_in_lua)\n- Project inspired by [potch](https://twitter.com/potch)'s Playdate `package.json`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolingourlay%2Fcreate-playdate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolingourlay%2Fcreate-playdate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolingourlay%2Fcreate-playdate/lists"}