Skip to content
A browser UI for JSNES, a JavaScript NES emulator
Branch: master
Clone or download
dependabot-preview and bfirsh [Security] Bump tar from 2.2.1 to 2.2.2
Bumps [tar](https://github.com/npm/node-tar) from 2.2.1 to 2.2.2. **This update includes security fixes.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Commits](npm/node-tar@v2.2.1...v2.2.2)
Latest commit d696c89 May 25, 2019

README.md

JSNES Web UI

A React-based web UI for JSNES.

Running in development

$ yarn install
$ yarn start

Building for production

$ yarn build

The built app will be in build/.

Running tests

$ yarn test

Formatting code

All code must conform to Prettier formatting. The test suite won't pass unless it does.

To automatically format all your code, run:

$ yarn run format

Adding roms

Add ROMs for yourself using localStorage

Navigate to the server public root (e.g. http://localhost:3000), click "+ Add ROM files" and follow the instructions. The ROMs will be saved into your browser cache and other users will not be able to access them.

Add ROMs for all users

Open src/config.js and add a new key under the defined config.ROMS. For example:

myrom: {
  name: "My Rom",
  description: <span>This is my own homebrew NES rom</span>,
  url: "http://localhost:3000/roms/myrom/myrom.nes"
}

If you add your rom file now under public/roms/myrom/myrom.nes, the game should start playing as you navigate to http://localhost:3000/run/myrom

You can’t perform that action at this time.