{"id":29871617,"url":"https://github.com/salernoelia/propa","last_synced_at":"2026-04-15T07:36:50.901Z","repository":{"id":297861352,"uuid":"998130386","full_name":"salernoelia/propa","owner":"salernoelia","description":"A lightweight TypeScript framework for Vite with WebAssembly and P5.js support and minimal DOM abstractions.","archived":false,"fork":false,"pushed_at":"2025-09-04T17:57:24.000Z","size":834,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-04T19:35:02.883Z","etag":null,"topics":["framework","typescript","wasm"],"latest_commit_sha":null,"homepage":"https://salernoelia.github.io/propa/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salernoelia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-06-07T23:31:58.000Z","updated_at":"2025-09-04T17:57:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb1d0313-eaf2-4163-a484-02b7d7f88a18","html_url":"https://github.com/salernoelia/propa","commit_stats":null,"previous_names":["salernoelia/propa"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/salernoelia/propa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salernoelia%2Fpropa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salernoelia%2Fpropa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salernoelia%2Fpropa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salernoelia%2Fpropa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salernoelia","download_url":"https://codeload.github.com/salernoelia/propa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salernoelia%2Fpropa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31831847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["framework","typescript","wasm"],"created_at":"2025-07-30T20:01:15.259Z","updated_at":"2026-04-15T07:36:50.894Z","avatar_url":"https://github.com/salernoelia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Propa Framework\n\n![Propa Logo](./docs/public/logo.png)\n\nA lean and performant TypeScript framework for building reactive web applications with first-class WebAssembly and P5.js integration.\n\n## Features\n\n* **Zero Dependencies**: Pure TypeScript implementation for a minimal runtime footprint.\n* **Smart Reactivity**: Efficient, batched DOM updates with automatic dependency tracking and subscription management.\n* **WebAssembly Integration**: Seamless, type-safe loading and execution of WASM modules (e.g., Rust compiled to WASM).\n* **P5.js Canvas**: A dedicated wrapper for embedding and managing p5.js sketches, perfect for creative coding and interactive visualizations.\n* **Minimal Routing**: Hash-based routing with robust component lifecycle management for single-page applications.\n* **JSX Support**: Compile-time JSX transformation into native DOM operations, offering a familiar declarative syntax without a virtual DOM.\n\n## Installation\n\n```bash\nnpm install @salernoelia/propa\n```\n\n## Quick Setup\n\nTo use `Propa` with JSX, configure your `vite.config.ts` and `tsconfig.json` files:\n\n### `vite.config.ts`\n\n```typescript\n// vite.config.ts\nimport { defineConfig } from 'vite';\n\nexport default defineConfig({\n  esbuild: {\n    jsx: 'transform',\n    jsxFactory: 'h',\n    jsxFragment: 'Fragment',\n  },\n  // Other Vite configurations...\n});\n```\n\n### `tsconfig.json`\n\n```json\n// tsconfig.json\n{\n  \"compilerOptions\": {\n    \"jsx\": \"react\", // Or \"react-jsx\" if using new JSX transform\n    \"jsxFactory\": \"h\",\n    \"jsxFragmentFactory\": \"Fragment\",\n    \"lib\": [\"DOM\", \"ES2020\"], // Ensure DOM library is included\n    // ... other compiler options\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalernoelia%2Fpropa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalernoelia%2Fpropa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalernoelia%2Fpropa/lists"}