The Wayback Machine - https://web.archive.org/web/20220525101821/https://github.com/gbdev/virens
Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

virens

build + deploy

Experimental Homebrew Hub frontend in Nuxt 3 (3.0.0-rc.1 - Vue 3), consuming the new Homebrew Hub API.

The GB/GBC emulation is powered by the binjgb emulator, running in the browser via WebAssembly.

The UI component library used is PrimeVue.

Setup

Make sure to install the dependencies:

# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Locally preview production build:

npm run preview

Deploy

Deployment to hh2.gbdev.io is handled by a GitHub Action:

  • A CNAME DNS record on hh.gbdev.io points to GitHub servers.
  • Every time there's a push to the master branch, the deploy.yml GitHub Action gets triggered, running npm run build and uploading the result build in the gh-pages branch of this repository which in turns gets served by GitHub Pages.
  • A "CNAME" file is in the build directory, containing "hh.gbdev.io"
  • A '.nojekyll' file is needed to allow the _nuxt folder to be statically served (otherwise ignored by a standard Jekyll build).

Acknowledgements

@binji for the emulator and the additional browser code to make the wasm build work. mrioa and aes for their nuxt knowledge.

Virens? The name of this project comes from Flavo-virens and Atro-virens, two colors from Saccardo's chromotaxy scale, proposed by an Italian mycologist in 1894, for standardizing color naming of plant specimens. They are similar to the shades in the original Game Boy palette.

About

The new Homebrew Hub frontend, in Nuxt 3. Powered by a webassembly build of binjgb.

Resources

Stars

Watchers

Forks