{"id":51464696,"url":"https://github.com/simplearyan/canvas.labs","last_synced_at":"2026-07-06T09:31:51.649Z","repository":{"id":358671509,"uuid":"1241952153","full_name":"simplearyan/canvas.labs","owner":"simplearyan","description":"High-Fidelity Animation Platform","archived":false,"fork":false,"pushed_at":"2026-05-26T03:14:46.000Z","size":27679,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-26T04:22:14.754Z","etag":null,"topics":["astro","canvas","mediabunny","solid","typescript"],"latest_commit_sha":null,"homepage":"https://simplearyan.github.io/canvas.labs/","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/simplearyan.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-18T02:01:47.000Z","updated_at":"2026-05-26T03:14:50.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/simplearyan/canvas.labs","commit_stats":null,"previous_names":["simplearyan/canvas.labs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simplearyan/canvas.labs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplearyan%2Fcanvas.labs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplearyan%2Fcanvas.labs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplearyan%2Fcanvas.labs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplearyan%2Fcanvas.labs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplearyan","download_url":"https://codeload.github.com/simplearyan/canvas.labs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplearyan%2Fcanvas.labs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35185688,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"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":["astro","canvas","mediabunny","solid","typescript"],"created_at":"2026-07-06T09:31:51.185Z","updated_at":"2026-07-06T09:31:51.577Z","avatar_url":"https://github.com/simplearyan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 Canvas Labs Portal\n\nA premium, high-performance, and indexable Web Portal for animated canvas background templates and timeline-based editor suites. Built on top of **Astro**, **SolidJS** (for reactive state hydration), and **Tailwind CSS v4** (via high-performance Vite compile pipelines).\n\n---\n\n## ✨ Features \u0026 Visual Masterpiece Design\n\n- 🖼️ **Premium Flat Gallery**: Seamlessly filterable visual cards covering backgrounds, charts, UI elements, text loops, ads, and interactive websites.\n- 📐 **3-State Responsive Sidebar**:\n  1. *Push Sidebar* (Desktop width \u003e= 1280px) - clean layout push.\n  2. *Floating Expander* (Tablet width \u003e= 768px) - smart floating action.\n  3. *Slide-out Overlay Drawer* (Mobile width \u003c 768px) - fluid navigation drawer.\n- ⏱️ **Full Timeline Editor Workspace**: Multi-track clips layering, real-time interactive canvas render buffers, playback speed curves, zoom ruler guides, and direct WebM export workflows.\n- 🌓 **Zero-Flicker Theme System**: Fast, block-level `\u003cscript is:inline\u003e` in Astro `\u003chead\u003e` queries local storage and matches system parameters, setting the dark/light modes *before first paint* to eliminate layout shifts or flashes.\n- 🌟 **Adaptive Dynamic Favicon**: Chrome/Firefox preferences-color-scheme sensor that animates a rotating star `⭐` for dark tabs and a sliding pointer hand `👉` for light tabs.\n- 📜 **Continuous Marquee Title**: Animated continuous scroll title in the browser tab keeping engagement high.\n\n---\n\n## 🗂️ Project Scalable Directory Tree\n\nTo support modular growth, shared UI blocks, separate editor engines, and preset customizers, the project follows a strict architectural design system:\n\n```\nsrc/\n├── store/                     # Fine-grained state management stores\n│   └── global.ts              # Theme, navigation, category, search, and quick adjustment signals\n│\n├── components/                # Shared layout \u0026 atomic UI blocks\n│   ├── ui/                    # Reusable atom-level primitives\n│   │   └── Icon.tsx           # Framework-independent SVG vector icon lookup\n│   ├── layout/                # Global layout boundaries\n│   │   ├── Header.tsx         # Responsive top navigation \u0026 theme settings\n│   │   └── Sidebar.tsx        # Dynamic 3-state navigation (push, float, drawer)\n│   └── common/                # Shared composite components\n│       └── PresetCard.tsx     # Standardized flat gallery card listings\n│\n├── editors/                   # Core Editor Applications \u0026 Canvas loops\n│   ├── core/                  # Shared base pipelines\n│   │   └── Engine.ts          # Abstract Base Class for high-performance canvas loops\n│   ├── chart/                 # Chart Animator Application\n│   │   └── ChartCanvas.ts     # Canvas chart bars rendering inheriting Engine\n│   └── sumi-e/                # Japanese Sumi-e Brush Application\n│       └── SumiCanvas.ts      # bezier brush strokes rendering inheriting Engine\n│\n├── presets/                   # Preset Quick Customizer Panels\n│   ├── core/                  # Reusable preview panels\n│   │   └── QuickPreview.tsx   # Canvas wrapper with mockup controls\n│   ├── chart/                 # Quick adjust controls for Charts\n│   │   └── ChartQuickControls.tsx\n│   └── sumi-e/                # Quick adjust controls for Sumi-e brush loops\n│       └── SumiQuickControls.tsx\n│\n├── styles/                    # Stylesheets \u0026 CSS Tokens\n│   └── global.css             # Tailwind v4 theme specifications and custom animations\n│\n└── pages/                     # SSG Astro page routes\n    └── index.astro            # Primary index landing page\n```\n\n---\n\n## 🛠️ Code Architectural Principles\n\n### 1. Canvas Animation Engine Inheritance\nTo implement a new canvas animator application, extend the high-performance abstract `Engine` base class located in [Engine.ts](src/editors/core/Engine.ts):\n\n```typescript\nimport { Engine } from \"../core/Engine\";\n\nexport class MyCustomCanvas extends Engine {\n  protected render(): void {\n    const ctx = this.ctx;\n    const width = this.canvas.width;\n    const height = this.canvas.height;\n    \n    // 1. Draw your high-performance animations here\n    // 2. Use this.frame to track time cycles\n  }\n}\n```\n\n### 2. Fine-grained Reactive Stores\nAll shared application actions and UI states belong inside the global store [global.ts](src/store/global.ts). Avoid mixing local business states inside render-blocking UI templates.\n\n---\n\n## 🚀 How to Run Locally\n\n### Prerequisites\nMake sure you have Node.js (v18.0.0 or higher) installed.\n\n### 1. Install Dependencies\n```bash\nnpm install\n```\n\n### 2. Launch Local Development Server\nStarts the high-speed dev server with Hot Module Replacement (HMR):\n```bash\nnpm run dev\n```\nOpen `http://localhost:4321/` in your browser.\n\n### 3. Build Production Bundle\nGenerates pre-rendered, fully static, and SEO-optimized HTML/JS bundles inside `dist/`:\n```bash\nnpm run build\n```\n\n---\n\n## ⚡ Technical Stack\n\n- **Framework**: [Astro](https://astro.build/) (Static Site Generation / pre-rendering hub)\n- **State \u0026 Rendering**: [SolidJS](https://www.solidjs.com/) (Fine-grained reactive signals and client-side hydration)\n- **Styling**: [Tailwind CSS v4](https://tailwindcss.com/) (Next-generation lightning-fast Vite compilation pipeline)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplearyan%2Fcanvas.labs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplearyan%2Fcanvas.labs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplearyan%2Fcanvas.labs/lists"}