{"id":28673255,"url":"https://github.com/ole/swift-webassembly-javascriptkit-playground","last_synced_at":"2025-06-13T20:09:21.588Z","repository":{"id":270965499,"uuid":"911750224","full_name":"ole/Swift-WebAssembly-JavaScriptKit-playground","owner":"ole","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-15T19:35:30.000Z","size":122,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-15T21:53:25.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/ole.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":"2025-01-03T18:55:52.000Z","updated_at":"2025-01-15T19:35:32.000Z","dependencies_parsed_at":"2025-01-04T12:54:52.994Z","dependency_job_id":null,"html_url":"https://github.com/ole/Swift-WebAssembly-JavaScriptKit-playground","commit_stats":null,"previous_names":["ole/swift-webassembly-javascriptkit-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ole/Swift-WebAssembly-JavaScriptKit-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ole%2FSwift-WebAssembly-JavaScriptKit-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ole%2FSwift-WebAssembly-JavaScriptKit-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ole%2FSwift-WebAssembly-JavaScriptKit-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ole%2FSwift-WebAssembly-JavaScriptKit-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ole","download_url":"https://codeload.github.com/ole/Swift-WebAssembly-JavaScriptKit-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ole%2FSwift-WebAssembly-JavaScriptKit-playground/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259712415,"owners_count":22900041,"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":"2025-06-13T20:09:20.648Z","updated_at":"2025-06-13T20:09:21.570Z","avatar_url":"https://github.com/ole.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple WebAssembly module that uses JavaScriptKit to manipulate the DOM, built with SwiftPM in Embedded Swift mode. Inspired by [Simon Leeb, Web App with Embedded Swift - POC demo (2024-10-20)](https://forums.swift.org/t/web-app-with-embedded-swift-poc-demo/75486).\n\nAs of 2025-01, you need a current Swift development toolchain to build this, at least on macOS. To run this, build the Wasm binary with `make wasmlib`, then start a local web server with `make server`.\n\nThe build steps are documented in the `Makefile`. You’ll probably have to modify them if:\n\n- You’re not on macOS, or\n- You are on macOS, but your installed Swift toolchain is not in `~/Library/Developer/Toolchain/swift-latest.xctoolchain`, or\n- You don’t have Python installed (used to start a local web server) or you want to use another tool to run a local web server.\n\nThis is the resulting web page in the browser:\n\n![Screenshot of a browser window displaying a pink stroked triangle in front of a filled orange rectangle](assets/browser-screenshot.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fole%2Fswift-webassembly-javascriptkit-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fole%2Fswift-webassembly-javascriptkit-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fole%2Fswift-webassembly-javascriptkit-playground/lists"}