{"id":20526470,"url":"https://github.com/gbdev/virens","last_synced_at":"2025-08-09T04:26:16.187Z","repository":{"id":37906602,"uuid":"415619110","full_name":"gbdev/virens","owner":"gbdev","description":"Homebrew Hub web frontend, in Nuxt 3. Powered by webassembly builds of binjgb and mGBA.","archived":false,"fork":false,"pushed_at":"2025-01-15T18:17:54.000Z","size":94428,"stargazers_count":20,"open_issues_count":41,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T06:27:49.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hh.gbdev.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gbdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"open_collective":"gbdev"}},"created_at":"2021-10-10T15:06:25.000Z","updated_at":"2025-03-31T10:32:22.000Z","dependencies_parsed_at":"2023-09-26T13:45:15.581Z","dependency_job_id":"0940b361-a5dc-4e1f-97a4-03f98fd8504e","html_url":"https://github.com/gbdev/virens","commit_stats":{"total_commits":182,"total_committers":3,"mean_commits":"60.666666666666664","dds":0.2802197802197802,"last_synced_commit":"a968eaf4cebc60c974d87d3f8e52b94d57bf91ed"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbdev%2Fvirens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbdev%2Fvirens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbdev%2Fvirens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbdev%2Fvirens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbdev","download_url":"https://codeload.github.com/gbdev/virens/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248819631,"owners_count":21166512,"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-15T23:14:20.267Z","updated_at":"2025-04-14T04:20:27.156Z","avatar_url":"https://github.com/gbdev.png","language":"JavaScript","readme":"# virens\n\n[![build + deploy](https://github.com/gbdev/virens/actions/workflows/deploy.yml/badge.svg)](https://github.com/gbdev/virens/actions/workflows/deploy.yml)\n\nExperimental Homebrew Hub frontend in Nuxt 3, consuming the new [Homebrew Hub API](https://github.com/gbdev/homebrewhub/).\n\nThe GB/GBC emulation is powered by the [binjgb](https://github.com/binji/binjgb) emulator, running in the browser via WebAssembly. The GBA emulation is provided in a similar fashion by [mGBA](https://mgba.io/).\n\nThe UI component library used is [PrimeVue](https://www.primefaces.org/primevue).\n\n## Setup\n\nInstall dependencies:\n\n```bash\nyarn\n```\n\n## Development Server\n\nStart the development server on http://localhost:3000\n\n```bash\nyarn dev\n```\n\nBy default, the base API is set to `https://hh3.gbdev.io`, you customise this by setting the `BASE_API_URL` environment variable to an instance of the [Homebrew Hub API](https://github.com/gbdev/homebrewhub) (be sure to have CORS [set up correctly](https://github.com/gbdev/homebrewhub/blob/main/hhub/settings.py) on that side).\n\nE.g., if you're running the backend server locally:\n\n```\nBASE_API_URL=http://localhost:8000 yarn dev\n```\n\n## Production\n\nBuild the application for production:\n\n```bash\nyarn build\n```\n\nLocally preview production build:\n\n```bash\nyarn preview\n```\n\n## Deploy\n\nDeployment to [hh.gbdev.io](https://hh.gbdev.io) is handled by a GitHub Action:\n\n- This GitHub repository has Pages set up to serve from the `gh-pages` branch;\n- A **CNAME** DNS record on `hh.gbdev.io` points to GitHub servers;\n- Every time there's a push to the `master` branch, the [deploy.yml](https://github.com/gbdev/virens/blob/master/.github/workflows/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;\n- A \"CNAME\" file is in the build directory, containing \"hh.gbdev.io\";\n- A '.nojekyll' file is needed to allow the `_nuxt` folder to be statically served (otherwise ignored by a standard Jekyll build).\n\n## Acknowledgements\n\n[@binji](https://github.com/binji/binjgb) for the emulator and the additional browser code to make the wasm build work. mrioa and [aes](https://github.com/aesdotjs) for their nuxt knowledge.\n\n_Virens_? The name of this project comes from _Flavo-virens_ and _Atro-virens_, two colors from [Saccardo's chromotaxy scale](https://en.wikipedia.org/wiki/File:Saccardo%27s_chromotaxy_scale.jpg), 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.\n","funding_links":["https://opencollective.com/gbdev"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbdev%2Fvirens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbdev%2Fvirens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbdev%2Fvirens/lists"}