{"id":26891973,"url":"https://github.com/xiaoxiaojx/pure","last_synced_at":"2025-07-05T04:37:40.861Z","repository":{"id":62292970,"uuid":"551453606","full_name":"xiaoxiaojx/pure","owner":"xiaoxiaojx","description":"A toy JavaScript runtime.","archived":false,"fork":false,"pushed_at":"2022-11-15T16:57:05.000Z","size":1547,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-14T06:13:32.127Z","etag":null,"topics":["javascript-runtime"],"latest_commit_sha":null,"homepage":"","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/xiaoxiaojx.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":"2022-10-14T12:33:50.000Z","updated_at":"2023-10-02T15:32:33.000Z","dependencies_parsed_at":"2023-01-23T02:31:12.312Z","dependency_job_id":null,"html_url":"https://github.com/xiaoxiaojx/pure","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoxiaojx%2Fpure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoxiaojx%2Fpure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoxiaojx%2Fpure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoxiaojx%2Fpure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaoxiaojx","download_url":"https://codeload.github.com/xiaoxiaojx/pure/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246552876,"owners_count":20795837,"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":["javascript-runtime"],"created_at":"2025-03-31T22:48:28.928Z","updated_at":"2025-03-31T22:48:29.367Z","avatar_url":"https://github.com/xiaoxiaojx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pure\n\nPure is a lightweight JavaScript runtime, based on v8 and libuv.\n\u003e It is mainly used for learning 📖 ✍️\n\nThe [Minimum Common Web Platform API](https://proposal-common-min-api.deno.dev/) will be gradually implemented in the future.\n\n\n## Getting Started\nOnly supports MacBook M1 for now.\n```bash\n# Step1: clone\ngit clone https://github.com/xiaoxiaojx/pure.git\n\n# Step2: build v8 and uv\n# refer to build-v8.sh build-uv.sh\n# mkdir -p liba\n#├── liba \n#│   ├── libuv_a.a\n#│   ├── libv8_monolith.a\n\n# Step3: build pure\nmake build\n\n# Step4: run\n./pure ./hello.js\n\n# hello world~\n```\n\n## Why Pure\nThe motivation for writing is that three similar products,  [Next.js Edge Runtime](https://nextjs.org/docs/api-reference/edge-runtime)、[cloudflare workerd](https://github.com/cloudflare/workerd)、[Noslate JavaScript worker](https://github.com/noslate-project/aworker) have recently appeared. In order to keep up with the tide of the times, so ~","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoxiaojx%2Fpure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaoxiaojx%2Fpure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoxiaojx%2Fpure/lists"}