{"id":17308043,"url":"https://github.com/ilyaigpetrov/ncurses-for-emscripten","last_synced_at":"2025-07-31T14:32:15.414Z","repository":{"id":70165715,"uuid":"139713197","full_name":"ilyaigpetrov/ncurses-for-emscripten","owner":"ilyaigpetrov","description":"ncurses 6.1 compiled by emscripten for usage in a browser. It is compiled, loaded, but doesn't work! You are wanted to make it work!","archived":false,"fork":false,"pushed_at":"2019-05-02T15:13:43.000Z","size":56134,"stargazers_count":14,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-23T12:42:38.591Z","etag":null,"topics":["emscripten","ncurses","xterm"],"latest_commit_sha":null,"homepage":"","language":"WebAssembly","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/ilyaigpetrov.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":"2018-07-04T11:31:55.000Z","updated_at":"2024-03-27T02:31:19.000Z","dependencies_parsed_at":"2023-03-11T08:11:38.191Z","dependency_job_id":null,"html_url":"https://github.com/ilyaigpetrov/ncurses-for-emscripten","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/ilyaigpetrov%2Fncurses-for-emscripten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyaigpetrov%2Fncurses-for-emscripten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyaigpetrov%2Fncurses-for-emscripten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilyaigpetrov%2Fncurses-for-emscripten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilyaigpetrov","download_url":"https://codeload.github.com/ilyaigpetrov/ncurses-for-emscripten/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228257567,"owners_count":17892650,"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":["emscripten","ncurses","xterm"],"created_at":"2024-10-15T12:03:02.704Z","updated_at":"2024-12-05T08:09:45.350Z","avatar_url":"https://github.com/ilyaigpetrov.png","language":"WebAssembly","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ncurses for emscripten\n\nncurses 6.1 compiled by emscripten for usage in a browser. They are compiled, loaded, but don't work! You are wanted to make it work!\n\n# HowTo\n\n1. Install emscripten, [instructions](https://webassembly.org/getting-started/developers-guide/).\n2. Activate emscripten by `source emsdk_env.sh`.\n3. Compile ncurses app source files:\n```sh-session\nvim hello.c\nvim min-shell.html\n./hello2.sh\n# Launch your favorite http-server to serve ./ (mine is: https://www.npmjs.com/package/http-server)\n# Open http://localhost:\u003cYOUR_PORT\u003e/hello.html in the browser\n```\n4. Alternative way:\n```sh-session\n./hello.sh\n# Launch your favorite http-server to serve ./ (mine is: https://www.npmjs.com/package/http-server)\n# Open http://localhost:\u003cYOUR_PORT\u003e/index.html in the browser\n```\n\n# About `hello2.sh`, `worm2.sh`, `*2.sh`\n\nThese files make use of `./min-shell.html` and compile to `hello.html`, `worm.html`, `*.html`.\nSometimes `index.html` fails, but `min-shell.html` works, that's why I recommend `*2.sh` files for a robust experience.\n\n---------------------\n\n[If You Want to Compile ncurses Yourself or Get More Debug Info from ncurses](./COMPILE.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyaigpetrov%2Fncurses-for-emscripten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filyaigpetrov%2Fncurses-for-emscripten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filyaigpetrov%2Fncurses-for-emscripten/lists"}