{"id":15516032,"url":"https://github.com/bfirsh/jsnes-web","last_synced_at":"2025-10-04T12:38:02.934Z","repository":{"id":20634011,"uuid":"90454274","full_name":"bfirsh/jsnes-web","owner":"bfirsh","description":"A browser UI for JSNES, a JavaScript NES emulator","archived":false,"fork":false,"pushed_at":"2023-01-16T13:03:46.000Z","size":2233,"stargazers_count":600,"open_issues_count":53,"forks_count":162,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-28T08:06:57.334Z","etag":null,"topics":["canvas","emulation","emulator","nes","webaudio"],"latest_commit_sha":null,"homepage":"https://jsnes.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfirsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-06T10:05:47.000Z","updated_at":"2025-03-23T16:20:23.000Z","dependencies_parsed_at":"2023-02-10T03:30:39.643Z","dependency_job_id":null,"html_url":"https://github.com/bfirsh/jsnes-web","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/bfirsh%2Fjsnes-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fjsnes-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fjsnes-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfirsh%2Fjsnes-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfirsh","download_url":"https://codeload.github.com/bfirsh/jsnes-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149501,"owners_count":20891954,"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":["canvas","emulation","emulator","nes","webaudio"],"created_at":"2024-10-02T10:05:26.516Z","updated_at":"2025-10-04T12:38:02.917Z","avatar_url":"https://github.com/bfirsh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSNES Web UI\n\nA React-based web UI for [JSNES](https://github.com/bfirsh/jsnes).\n\n## Running in development\n\n    $ npm install\n    $ npm start\n\n## Building for production\n\n    $ npm run build\n\nThe built app will be in `build/`.\n\n## Running tests\n\n    $ npm test\n\n## Formatting code\n\nAll code must conform to [Prettier](https://prettier.io/) formatting. The test suite won't pass unless it does.\n\nTo automatically format all your code, run:\n\n    $ npm run format\n\n## Embedding JSNES in your own app\n\nUnfortunately this isn't trivial at the moment. The best way is copy and paste code from this repository into a React app, then use the [`\u003cEmulator\u003e`](https://github.com/bfirsh/jsnes-web/blob/master/src/Emulator.js). [Here is a usage example.](https://github.com/bfirsh/jsnes-web/blob/d3c35eec11986412626cbd08668dbac700e08751/src/RunPage.js#L119-L125).\n\nA project for potential contributors (hello!): jsnes-web should be reusable and on NPM! It just needs compiling and bundling.\n\n## Adding roms\n\nOpen `src/config.js` and add a new key to `config.ROMS`. For example:\n\n```javascript\nconst config = {\n  ROMS: {\n    // ...\n    myrom: {\n      name: \"My Rom\",\n      description: \u003cspan\u003eThis is my own homebrew NES rom\u003c/span\u003e,\n      url: \"http://localhost:3000/roms/myrom/myrom.nes\"\n    }\n  }\n}\n```\n\nThen, add the ROM file as `public/roms/myrom/myrom.nes`. The ROM should now be available to play at http://localhost:3000/run/myrom\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfirsh%2Fjsnes-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfirsh%2Fjsnes-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfirsh%2Fjsnes-web/lists"}