{"id":26375106,"url":"https://github.com/smoudjs/playable-template-three","last_synced_at":"2026-05-11T16:37:38.576Z","repository":{"id":282716690,"uuid":"949431568","full_name":"smoudjs/playable-template-three","owner":"smoudjs","description":"A starter template for creating playable ads using Three.js and @smoud/playable-sdk with TypeScript support","archived":false,"fork":false,"pushed_at":"2025-03-31T16:32:39.000Z","size":204,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T17:42:54.964Z","etag":null,"topics":["3d","ads","boilerplate","playable","template","three","threejs","webgl"],"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-16T13:00:48.000Z","updated_at":"2025-03-31T16:32:42.000Z","dependencies_parsed_at":"2025-03-31T17:40:52.242Z","dependency_job_id":null,"html_url":"https://github.com/smoudjs/playable-template-three","commit_stats":null,"previous_names":["smoudjs/playable-template-three"],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/smoudjs/playable-template-three","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-three","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-three/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-three/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-three/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smoudjs","download_url":"https://codeload.github.com/smoudjs/playable-template-three/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smoudjs%2Fplayable-template-three/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32903758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"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":["3d","ads","boilerplate","playable","template","three","threejs","webgl"],"created_at":"2025-03-17T02:15:55.182Z","updated_at":"2026-05-11T16:37:38.557Z","avatar_url":"https://github.com/smoudjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playable Template with Three.js\n\nA starter template for creating playable ads using Three.js with TypeScript support. This template combines:\n\n- [Three.js](https://threejs.org/) - 3D graphics library for creating immersive WebGL experiences\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- [View on CodePen](https://codepen.io/peter-hutsul/pen/VYwygKp)\n\n## Features\n\n- Three.js integration for high-performance 3D graphics\n- TypeScript support for better development experience\n- Hot module replacement during development\n- Game structure with Three.js and SDK integration\n- Event handling (resize, pause, resume, volume, etc.)\n- Installation button implementation\n- Interaction tracking\n- Responsive 3D scene scaling\n- GLTF model loading and animation\n- Proper lighting setup\n- Smooth animation loop management\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, Three.js and Game initialization\n- `src/Game.ts` - Game logic and Three.js scene setup\n- `src/index.css` - Styles for your playable\n- `src/index.html` - HTML template\n- `assets/` - Directory for your game assets (3D models, textures, etc.)\n\n## Looking for More?\n\nCheck out other available templates for different frameworks and use cases:\n- [playable-template-base](https://github.com/smoudjs/playable-template-base) - Template base version\n- [playable-template-base-js](https://github.com/smoudjs/playable-template-base-js) - Template base version (JavaScript)\n- [playable-template-pixi](https://github.com/smoudjs/playable-template-pixi) - Template with PixiJS\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-three","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmoudjs%2Fplayable-template-three","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmoudjs%2Fplayable-template-three/lists"}