{"id":21353828,"url":"https://github.com/fabiosantoscode/quickjs-precompiler","last_synced_at":"2026-06-20T01:31:15.394Z","repository":{"id":261941497,"uuid":"885780073","full_name":"fabiosantoscode/quickjs-precompiler","owner":"fabiosantoscode","description":"Speed up javascript: compile some JS to C, the rest will use quickjs","archived":false,"fork":false,"pushed_at":"2025-05-28T12:28:36.000Z","size":2201,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-22T17:32:44.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/fabiosantoscode.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":"2024-11-09T11:31:04.000Z","updated_at":"2025-07-03T15:02:06.000Z","dependencies_parsed_at":"2024-11-09T12:31:05.472Z","dependency_job_id":"0e5ad6fe-0035-4854-90f7-121abf731bbb","html_url":"https://github.com/fabiosantoscode/quickjs-precompiler","commit_stats":null,"previous_names":["fabiosantoscode/quickjs-precompiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fabiosantoscode/quickjs-precompiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiosantoscode%2Fquickjs-precompiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiosantoscode%2Fquickjs-precompiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiosantoscode%2Fquickjs-precompiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiosantoscode%2Fquickjs-precompiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabiosantoscode","download_url":"https://codeload.github.com/fabiosantoscode/quickjs-precompiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabiosantoscode%2Fquickjs-precompiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34554511,"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-06-19T02:00:06.005Z","response_time":61,"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":[],"created_at":"2024-11-22T03:20:04.274Z","updated_at":"2026-06-20T01:31:15.390Z","avatar_url":"https://github.com/fabiosantoscode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quickjs-precompiler\n\nPrecompiles your JavaScript files into C with quickjs embedded.\n\nNote: quickjs can already output C files containing your JS turned into bytecode, but this aims to provide a faster version of this by creating C files that mirror your actual JS.\n\n# Internal design\n\nFirstly, the JS is parsed with Acorn, producing the ESTree AST. This is a standard format for JavaScript ASTs.\n\nThen, we turn the ESTree AST into our internal precomp-AST. The precomp-AST is fully convertible into C with quickJS calls.\n\nIn the future, there may be a step to optimize the precomp-AST by utilizing type information.\n\nFinally, the precomp-AST is output into C source code.\n\n# Roadmap\n\n - Optimize written functions per-type\n - Extend your code with C functions\n - Precompile the generated code with TCC\n\n# Hacking\n\nThis contains a git submodule vendor/quickjs checked out at a specific commit. You need to compile this in order to use quickjs-precompiler.\n\n```\ncd vendor/quickjs; make; make quickjs.o\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiosantoscode%2Fquickjs-precompiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabiosantoscode%2Fquickjs-precompiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabiosantoscode%2Fquickjs-precompiler/lists"}