{"id":18799617,"url":"https://github.com/alephjs/aleph-compiler","last_synced_at":"2025-07-20T15:33:39.401Z","repository":{"id":41514213,"uuid":"487492893","full_name":"alephjs/aleph-compiler","owner":"alephjs","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-19T23:54:53.000Z","size":123915,"stargazers_count":29,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T17:44:04.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/alephjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-05-01T09:15:28.000Z","updated_at":"2024-12-08T08:18:27.000Z","dependencies_parsed_at":"2025-04-13T17:36:39.238Z","dependency_job_id":"4f015825-099c-43a7-97f6-0757d95db2d7","html_url":"https://github.com/alephjs/aleph-compiler","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/alephjs/aleph-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephjs%2Faleph-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephjs%2Faleph-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephjs%2Faleph-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephjs%2Faleph-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alephjs","download_url":"https://codeload.github.com/alephjs/aleph-compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alephjs%2Faleph-compiler/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266151525,"owners_count":23884436,"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":[],"created_at":"2024-11-07T22:15:55.284Z","updated_at":"2025-07-20T15:33:38.186Z","avatar_url":"https://github.com/alephjs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Aleph.js: The Full-stack Framework in Deno.](https://raw.githubusercontent.com/alephjs/aleph-compiler/main/.github/poster.svg)](https://alephjs.org)\n\n# Aleph.js Compiler\n\nThe compiler of Aleph.js written in Rust, powered by [swc](https://swc.rs) and [lightningcss](https://lightningcss.dev/).\n\n## Usage\n\n```ts\nimport { transform } from \"https://deno.land/x/aleph_compiler@0.8.4/mod.ts\";\n\nconst code = `\nimport { useState, useEffect } from \"react\"\n\nexport default function App() {\n  const [msg, setMsg] = useState(\"...\")\n\n  useEffect(() =\u003e {\n    setTimeout(() =\u003e {\n      setMsg(\"world!\")\n    }, 1000)\n  }, [])\n\n  return \u003ch1\u003eHello {msg}\u003c/h1\u003e\n}\n`\n\nconst ret = await transform(\"./app.tsx\", code, {\n  importMap: JSON.stringify({\n    imports: {\n      \"react\": \"https://esm.sh/react@18\",\n    }\n  }),\n  jsxImportSource: \"https://esm.sh/react@18\",\n  sourceMap: true,\n})\n\nconsole.log(ret.code, ret.map)\n```\n\n## Development Setup\n\nYou will need [rust](https://www.rust-lang.org/tools/install) 1.60+ and [wasm-pack](https://rustwasm.github.io/wasm-pack/installer/).\n\n## Build\n\n```bash\ndeno run -A build.ts\n```\n\n## Run tests\n\n```bash\ncargo test --all\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falephjs%2Faleph-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falephjs%2Faleph-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falephjs%2Faleph-compiler/lists"}