{"id":21715137,"url":"https://github.com/ts-defold/tsd-template-yagames","last_synced_at":"2025-06-26T14:34:41.001Z","repository":{"id":37851842,"uuid":"423602627","full_name":"ts-defold/tsd-template-yagames","owner":"ts-defold","description":"Yandex Games Template","archived":false,"fork":false,"pushed_at":"2025-06-08T15:23:59.000Z","size":35715,"stargazers_count":9,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-08T16:27:27.836Z","etag":null,"topics":["defold","lua","ts-defold-template","typescript"],"latest_commit_sha":null,"homepage":"https://ts-defold.dev/tsd-template-yagames/","language":"HTML","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/ts-defold.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-11-01T20:11:54.000Z","updated_at":"2025-06-08T15:21:59.000Z","dependencies_parsed_at":"2024-02-22T05:30:21.905Z","dependency_job_id":"5b04c4c0-404b-4863-af26-fae3e707b5ce","html_url":"https://github.com/ts-defold/tsd-template-yagames","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/ts-defold/tsd-template-yagames","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-defold%2Ftsd-template-yagames","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-defold%2Ftsd-template-yagames/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-defold%2Ftsd-template-yagames/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-defold%2Ftsd-template-yagames/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ts-defold","download_url":"https://codeload.github.com/ts-defold/tsd-template-yagames/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-defold%2Ftsd-template-yagames/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262085547,"owners_count":23256464,"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":["defold","lua","ts-defold-template","typescript"],"created_at":"2024-11-26T00:41:21.704Z","updated_at":"2025-06-26T14:34:40.961Z","avatar_url":"https://github.com/ts-defold.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yandex Games TypeScript Template\n\n\u003ca href=\"https://discord.gg/eukcq5m\"\u003e\u003cimg alt=\"Chat with us!\" src=\"https://img.shields.io/discord/766898804896038942.svg?colorB=7581dc\u0026logo=discord\u0026logoColor=white\"\u003e\u003c/a\u003e\n\nA dev environment for [Defold](https://defold.com/) pre-configured to use the Yandex Games SDK that transpiles TypeScript into lua using [TypeScriptToLua](https://github.com/TypeScriptToLua/TypeScriptToLua).\n\n## Features\n\n- Full Lua and Defold API type definitions for TypeScript auto-complete and type checking\n- Eslint config for handling the caveats of TypeScriptToLua and keeping your code correct\n- Handles script, gui_script, and module exports using familiar ES6 export syntax\n- Full BoilerPlate game project ready to transpile and go\n- File watcher via `npm run dev` to transpile on save\n\n## Bonus\n\n- Throwback retro console frame with virtual dpad and buttons that work with touch input on mobile\n- Online and ofline Leaderboards\n\n_Note that you will need to have [Node.js](https://nodejs.org) installed._\n\n## Quick Start\n\n- Use `npm run dev` to start a watcher that compiles and emits lua and script when you save\n- Use `npm run build` to just compile your ts, sans watcher\n\n## Installation\n\n1. Use `npx @ts-defold/create my-gamejam-masterpiece --template yagames`\n\n2. Generate\n\n```bash\nnpm run build # Transpile the TypeScript files to lua\n# or\nnpm run dev # Watch for changes and regenerate files on save\n```\n\n3. Code\n\n```\ncode .\n```\n\n4. Open `app/game.project` in Defold\n\n- Craft your next banger with the help of Typescript types!\n\n\u003cp align=\"center\" class=\"h4\"\u003e\n  TypeScript :heart: Defold\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fts-defold%2Ftsd-template-yagames","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fts-defold%2Ftsd-template-yagames","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fts-defold%2Ftsd-template-yagames/lists"}