{"id":28998897,"url":"https://github.com/benallfree/van13k","last_synced_at":"2025-06-25T08:01:51.876Z","repository":{"id":299074908,"uuid":"1001745888","full_name":"benallfree/van13k","owner":"benallfree","description":"A VanJS-based js13k starter kit","archived":false,"fork":false,"pushed_at":"2025-06-24T04:52:50.000Z","size":683,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-24T05:29:17.450Z","etag":null,"topics":["css-modules","js13k","js13kgames","js13kgames2025","typescript","vanjs","vite"],"latest_commit_sha":null,"homepage":"https://van13k.benallfree.com/","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/benallfree.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-06-14T00:00:49.000Z","updated_at":"2025-06-24T04:51:55.000Z","dependencies_parsed_at":"2025-06-14T14:36:45.267Z","dependency_job_id":"f756280e-a958-47e8-901f-26888448f18b","html_url":"https://github.com/benallfree/van13k","commit_stats":null,"previous_names":["benallfree/js13k","benallfree/van13k"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/benallfree/van13k","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benallfree%2Fvan13k","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benallfree%2Fvan13k/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benallfree%2Fvan13k/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benallfree%2Fvan13k/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benallfree","download_url":"https://codeload.github.com/benallfree/van13k/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benallfree%2Fvan13k/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261832534,"owners_count":23216490,"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":["css-modules","js13k","js13kgames","js13kgames2025","typescript","vanjs","vite"],"created_at":"2025-06-25T08:00:52.656Z","updated_at":"2025-06-25T08:01:51.868Z","avatar_url":"https://github.com/benallfree.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Van13k - the js13k Starter Kit 🚀\n\n## 📊 Build Stats\n\n| Spec  | Info               |\n| ----- | ------------------ |\n| Build | \u003c!-- BUILD --\u003e853    |\n| Bytes | \u003c!-- BYTES --\u003e2639 |\n\n\nA **2.6k** production-ready starter template for js13k game development featuring modern tooling, aggressive optimization, and real-time size monitoring.\n\n## ✨ Features\n\n### 🎯 **Ultra-Compact Framework**\n\n- **van.js** - Minimal reactive framework (~1.2KB gzipped)\n- **VanJS Routing** - Lightweight client-side routing\n- Perfect for JS13K with minimal overhead\n- Simple, reactive UI updates without bloat\n\n### 🔧 **Optimized Build System**\n\n- **Vite** - Lightning-fast development server\n- **Terser** - Aggressive minification and mangling\n- **LightningCSS** - Fast CSS processing and optimization\n- **ZIP** - Automated archive creation for submission\n- Console stripping in production builds\n- Module preload polyfill disabled for smaller bundles\n\n### 📏 **Real-time Size Monitoring**\n\n- **Base starter size: ~2.6k** (leaves 10.4k for your game!)\n- Automated 13KB limit checking after each build\n- Live file watching with `bun size:watch`\n- macOS notifications when approaching size limit\n- Build stats automatically updated in README\n\n### 🛠️ **Developer Experience**\n\n- **TypeScript** - Full type safety and IntelliSense\n- **CSS Modules** - Scoped styling with class name hashing\n- **Path aliases** - Clean imports (`@/`, `$util/`, `$components/`)\n- **Prettier** - Consistent code formatting\n- **Bundle analyzer** - Visualize what's taking up space\n\n### 📦 **Automated Workflow**\n\n- Pre/post build scripts for version management\n- Automatic README updates with build stats\n- ZIP creation and size validation\n- **Cloudflare Deployment** - Production hosting setup\n- Ready for contest submission\n\n### 🎮 **JS13K Optimizations**\n\n- Drop console statements in production\n- Toplevel variable mangling\n- Module preload polyfill removal\n- Aggressive compression settings\n\n## 🚀 Quick Start\n\n```bash\n# Install dependencies\nbun install\n\n# Start development server\nbun dev\n\n# Build and check size\nbun size\n\n# Watch for changes and auto-rebuild\nbun size:watch\n\n# Analyze bundle composition\nbun analyze\n```\n\n\n## 🎯 Why This Starter?\n\n**For JS13K Success:**\n\n- ⚡ **Fast iteration** - Hot reload during development\n- 📈 **Size awareness** - Constant feedback on bundle size\n- 🔍 **Bundle analysis** - Identify optimization opportunities\n- 🎨 **Modern DX** - TypeScript, path aliases, formatting\n- 📱 **Production ready** - Optimized builds with aggressive compression\n\n**Perfect for:**\n\n- First-time JS13K participants\n- Developers wanting modern tooling\n- Teams needing size monitoring\n- Projects requiring reactive UI updates\n\nStart building your JS13K masterpiece with confidence! 🎮\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenallfree%2Fvan13k","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenallfree%2Fvan13k","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenallfree%2Fvan13k/lists"}