{"id":26925081,"url":"https://github.com/smoudjs/playable-template-base-js","last_synced_at":"2025-09-03T04:37:43.077Z","repository":{"id":282640185,"uuid":"949217912","full_name":"smoudjs/playable-template-base-js","owner":"smoudjs","description":"A starter template for creating playable ads using @smoud/playable-sdk with JavaScript","archived":false,"fork":false,"pushed_at":"2025-04-01T07:55:43.000Z","size":189,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-22T07:41:16.374Z","etag":null,"topics":["ads","boilerplate","game","playable","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/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,"zenodo":null}},"created_at":"2025-03-15T23:53:42.000Z","updated_at":"2025-04-01T07:55:46.000Z","dependencies_parsed_at":"2025-03-16T01:18:40.203Z","dependency_job_id":"f8d602c0-ee85-4946-8333-777cf2794921","html_url":"https://github.com/smoudjs/playable-template-base-js","commit_stats":null,"previous_names":["smoudjs/playable-template-base-js"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/smoudjs/playable-template-base-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoudjs","download_url":"https://codeload.github.com/smoudjs/playable-template-base-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-base-js/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273392280,"owners_count":25097256,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"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":["ads","boilerplate","game","playable","template"],"created_at":"2025-04-02T02:29:52.206Z","updated_at":"2025-09-03T04:37:43.034Z","avatar_url":"https://github.com/smoudjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Base Playable Template (JavaScript)\n\nA starter template for creating playable ads with JavaScript. 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\n- [View on CodePen](https://codepen.io/peter-hutsul/pen/wBvpXBm)\n- [View on JSFiddle](https://jsfiddle.net/duglas/5hkbuvw6/)\n\n## Features\n\n- Modern JavaScript (ES6+)\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.js` - Main entry point with SDK and Game initialization\n- `src/Game.js` - 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\n- [playable-template-base](https://github.com/smoudjs/playable-template-base) - TypeScript 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-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoudjs%2Fplayable-template-base-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoudjs%2Fplayable-template-base-js/lists"}