{"id":16321500,"url":"https://github.com/doodlewind/minimal-js-runtime","last_synced_at":"2025-07-11T18:41:16.192Z","repository":{"id":62092778,"uuid":"237404227","full_name":"doodlewind/minimal-js-runtime","owner":"doodlewind","description":"A toy JavaScript runtime based on QuickJS and libuv.","archived":false,"fork":false,"pushed_at":"2020-05-08T10:06:02.000Z","size":22,"stargazers_count":67,"open_issues_count":2,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-11T22:48:18.789Z","etag":null,"topics":["engine","javascript","libuv","quickjs","runtime"],"latest_commit_sha":null,"homepage":null,"language":"C","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/doodlewind.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}},"created_at":"2020-01-31T10:05:54.000Z","updated_at":"2024-07-27T09:32:08.000Z","dependencies_parsed_at":"2022-10-26T08:45:34.106Z","dependency_job_id":null,"html_url":"https://github.com/doodlewind/minimal-js-runtime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/doodlewind/minimal-js-runtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodlewind%2Fminimal-js-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodlewind%2Fminimal-js-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodlewind%2Fminimal-js-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodlewind%2Fminimal-js-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doodlewind","download_url":"https://codeload.github.com/doodlewind/minimal-js-runtime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doodlewind%2Fminimal-js-runtime/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264874162,"owners_count":23677024,"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":["engine","javascript","libuv","quickjs","runtime"],"created_at":"2024-10-10T22:47:57.297Z","updated_at":"2025-07-11T18:41:16.150Z","avatar_url":"https://github.com/doodlewind.png","language":"C","readme":"# Minimal JS Runtime\nA toy JavaScript runtime based on QuickJS and libuv.\n\n## Introduction\nThis project demonstrates how to build a simplest JavaScript runtime with QuickJS and libuv. Takeaway points include:\n\n* Native `fib` function implementation.\n* `setTimeout` implementation.\n* Support for running microtasks and macrotasks.\n\nSee my Chinese blog post for technical details:\n\n* [From JavaScript Engine to JavaScript Runtime - 1](https://ewind.us/2020/js-engine-to-js-runtime-1/)\n* [From JavaScript Engine to JavaScript Runtime - 2](https://ewind.us/2020/js-engine-to-js-runtime-2/)\n\n## Getting Started\nPlease make sure [CMake](https://cmake.org/), [QuickJS](https://bellard.org/quickjs/) and [libuv](https://libuv.org/) are globally installed.\n\nBuild the runtime:\n\n``` bash\ncd build\ncmake .. \u0026\u0026 make\n```\n\nStart the runtime:\n\n``` bash\n./runtime\n```\n\n## Misc\nTo find out how to port the original event loop shipped with QuickJS, checkout commit [fce26e](https://github.com/doodlewind/minimal-js-runtime/commit/fce26ed2641ca9ff5ee3bad7dd1dc76caa679aa8).\n\n## License\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoodlewind%2Fminimal-js-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoodlewind%2Fminimal-js-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoodlewind%2Fminimal-js-runtime/lists"}