GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - raohmaru/mame-rom-name-finder: Web application to get the MAME ROM names from a list of arcade games

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.kilocode
.kilocode
 
 
db
db
 
 
docs
docs
 
 
frontend
frontend
 
 
.editorconfig
.editorconfig
 
 
.env
.env
 
 
.env.development
.env.development
 
 
.env.production
.env.production
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.nvmrc
.nvmrc
 
 
.prettierrc
.prettierrc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

MAME ROM Name Finder

Arcade cabinet

A web application for searching MAME ROM names in local SQLite databases using SQL.js as a web worker. Designed for retro gaming enthusiasts to quickly find MAME ROM names in their collections.

https://raohmaru.github.io/mame-rom-name-finder/

Project Overview

MAME ROM Name Finder is a frontend-only web application that allows users to search for ROM files across multiple SQLite database files containing MAME arcade ROM information. The application provides a simple interface to input search terms and select which ROM set database to search in.

Project Structure

Click here to expand the project structure.
/
├── frontend/              # React frontend application
│   ├── src/               # Source code
│   │   ├── components/    # React components (UI + features)
│   │   ├── hooks/         # Custom React hooks
│   │   ├── services/      # Business logic (game search service)
│   │   ├── stores/        # Zustand state management
│   │   ├── types/         # TypeScript type definitions
│   │   ├── utils/         # Utility functions
│   │   └── workers/       # Web workers (SQLite operations)
│   ├── public/            # Static assets
│   │   ├── db/            # SQLite database files (ROM sets)
│   │   ├── img/           # Images
│   │   └── wasm/          # WebAssembly files (sql-wasm.js)
│   └── package.json       # Frontend dependencies
├── db/                    # Database management scripts
│   ├── init.ts            # Database initialization
│   ├── seed.ts            # Database seeding
│   ├── validate.ts        # Data validation
│   ├── shared.ts          # Shared types/constants
│   ├── romset-converter/  # ROM set CSV to SQLite converter
│   └── romsets/           # Source CSV files for ROM sets
├── docs/                  # Documentation
│   ├── adr/               # Architecture Decision Records
│   ├── PLAN.md            # Implementation plan
│   ├── README.md          # Documentation overview
│   └── GLOSSARY.md        # Project terminology
└── CHANGELOG.md           # Project changelog

Getting Started

Prerequisites

  • Node.js (v24 or later)
  • npm or yarn package manager

Setup Instructions

  1. Clone the repository

    git clone <repository-url>
    cd rom-name-finder
  2. Install dependencies

    npm install
    cd frontend
    npm install
  3. Build the database

    npm run db
  4. Run the development server

    cd frontend
    npm run dev

The application will be available at http://localhost:5173

Build for Production

npm run db
cd frontend
npm run build

The production build will be in the frontend/dist directory.

Development Workflow

Key Commands

cd frontend

# Start development server
npm run dev

# Run all tests
npm run test

# Run tests with coverage
npm run test:coverage

# Lint files
npm run lint

# Build for production
npm run build

# Preview production build locally
npm run preview

Development Guidelines

  • Follow TypeScript strict mode
  • Use SQL.js for all database operations (no raw SQL)
  • Implement proper error handling at all layers
  • Write tests for all business logic
  • Ensure WCAG 2.1 AA accessibility compliance
  • Use Zustand for state management
  • Validate all inputs with Zod
  • Use semantic HTML and ARIA attributes
  • Implement proper loading and error states

Testing Instructions

Running Tests

# Run all tests and watch
npm run test

# Run tests with coverage report
npm run test:coverage

Test Coverage

  • Unit Tests: Test individual functions and components in isolation
  • Integration Tests: Test how components and services work together
  • Accessibility Tests: Test compliance with WCAG 2.1 AA standards

All tests are located alongside the source files in *.test.tsx or *.test.ts files.

Technology Stack

React 18, TypeScript, Vite, SQL.js, Zustand, React Hook Form, CSS Modules, Vitest, React Testing Library.

Contributing

Contributions are welcome!
If you want to contribute please try to follow this guidelines:

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/your-feature
  3. Make your changes
  4. Run tests: npm run test
  5. Commit your changes: git commit -m "feat: add your feature"
  6. Create a pull request

License

MIT License.

Changelog

See CHANGELOG.md for version history and release notes.

About

Web application to get the MAME ROM names from a list of arcade games

raohmaru.github.io/mame-rom-name-finder/

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.