{"id":21942680,"url":"https://github.com/zonayedpca/wasm-hello-world","last_synced_at":"2026-05-07T07:36:06.151Z","repository":{"id":97127534,"uuid":"256989073","full_name":"zonayedpca/wasm-hello-world","owner":"zonayedpca","description":"A Simple Hello World with Web Assembly","archived":false,"fork":false,"pushed_at":"2020-04-19T12:17:33.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T16:08:35.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://zonayedpca.github.io/wasm-hello-world","language":"JavaScript","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/zonayedpca.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":"2020-04-19T12:05:14.000Z","updated_at":"2023-09-14T17:49:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"34e607d7-3eca-4fa2-9da3-2d5c9d984e6d","html_url":"https://github.com/zonayedpca/wasm-hello-world","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonayedpca%2Fwasm-hello-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonayedpca%2Fwasm-hello-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonayedpca%2Fwasm-hello-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zonayedpca%2Fwasm-hello-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zonayedpca","download_url":"https://codeload.github.com/zonayedpca/wasm-hello-world/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244981009,"owners_count":20542287,"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-29T03:26:04.472Z","updated_at":"2026-05-07T07:36:06.118Z","avatar_url":"https://github.com/zonayedpca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Get the compiler(Emscripten)\nFollow the instruction given in their [website](https://emscripten.org/docs/getting_started/downloads.html) and install the compiler. After completing the installation, you will be able to access the command ```emcc``` from your terminal if everything goes right.\n\n### Write your C Program\nWe have included one simple Hello World program here named as ```helloworld.c```\n```\n#include \u003cstdio.h\u003e\n\nint main() {\n    printf(\"Hello World from C\\n\");\n    return 0;\n}\n```\n\n### Compile your program using Emscripten\n```\nemcc helloworld.c -o helloworld\n```\nOnce done you will be able to see two more new files called ```helloworld.js``` and ```helloworld.wasm```.\n\n### Connect the compiled files with your Webpage\nThis is much more easier than you can think of. Simply, add the ```helloworld.js``` file into your ```html``` file. \n```\n\u003cscript src=\"helloworld.js\"\u003e\u003c/script\u003e\n```\n\n### Need a server to run\nIf you use your file directory ```file://``` to see the html file, it won't work. You need a server which can be very made using [```http-server```](https://www.npmjs.com/package/http-server) and boom, once you open up your webpage, you will see your C program is showing output into your browser console.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonayedpca%2Fwasm-hello-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzonayedpca%2Fwasm-hello-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzonayedpca%2Fwasm-hello-world/lists"}