{"id":26925082,"url":"https://github.com/smoudjs/playable-template-base","last_synced_at":"2025-04-02T02:29:53.242Z","repository":{"id":282637887,"uuid":"949205319","full_name":"smoudjs/playable-template-base","owner":"smoudjs","description":"A starter template for creating playable ads using @smoud/playable-sdk with TypeScript support","archived":false,"fork":false,"pushed_at":"2025-03-31T16:29:45.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T17:37:28.015Z","etag":null,"topics":["ads","boilerplate","game","playable","template"],"latest_commit_sha":null,"homepage":"","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/smoudjs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-15T22:54:29.000Z","updated_at":"2025-03-31T16:29:49.000Z","dependencies_parsed_at":"2025-03-31T17:39:55.606Z","dependency_job_id":null,"html_url":"https://github.com/smoudjs/playable-template-base","commit_stats":null,"previous_names":["smoudjs/playable-template-base"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoudjs","download_url":"https://codeload.github.com/smoudjs/playable-template-base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246743330,"owners_count":20826506,"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":["ads","boilerplate","game","playable","template"],"created_at":"2025-04-02T02:29:52.608Z","updated_at":"2025-04-02T02:29:53.233Z","avatar_url":"https://github.com/smoudjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Base Playable Template\n\nA starter template for creating playable ads with TypeScript support. This template uses:\n\n- [@smoud/playable-sdk](https://github.com/smoudjs/playable-sdk#readme) - SDK for creating playable ads with standardized events and methods\n- [@smoud/playable-scripts](https://github.com/smoudjs/playable-scripts#readme) - Build and development tools optimized for playable ads\n\n## Demo\n\nTry out this template:\n- [Open in CodeSandbox](https://codesandbox.io/p/github/smoudjs/playable-template-base/master?import=true)\n- [View on CodePen](https://codepen.io/peter-hutsul/pen/QwWarRB)\n\n## Features\n\n- TypeScript support\n- Hot module replacement during development\n- Basic game structure with SDK integration\n- Event handling (resize, pause, resume, volume, etc.)\n- Installation button implementation\n- Interaction tracking\n\n## Getting Started\n\n1. Clone this repository\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Start development server:\n   ```bash\n   npm run dev\n   ```\n4. Build for production:\n   ```bash\n   npm run build\n   ```\n\n## Project Structure\n\n- `src/index.ts` - Main entry point with SDK and Game initialization\n- `src/Game.ts` - Game logic\n- `src/index.css` - Styles for your playable\n- `src/index.html` - HTML template\n\n## Looking for More?\n\nCheck out other available templates for different frameworks and use cases:\n- [playable-template-base-js](https://github.com/smoudjs/playable-template-base-js) - JavaScript version of this template\n- [playable-template-pixi](https://github.com/smoudjs/playable-template-pixi) - Template with PixiJS\n- [playable-template-three](https://github.com/smoudjs/playable-template-three) - Template with Three.js\n- [playable-template-phaser](https://github.com/smoudjs/playable-template-phaser) - Template with Phaser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoudjs%2Fplayable-template-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoudjs%2Fplayable-template-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoudjs%2Fplayable-template-base/lists"}