{"id":31051731,"url":"https://github.com/bethropolis/chip8","last_synced_at":"2026-04-11T21:36:28.370Z","repository":{"id":302195838,"uuid":"1011034175","full_name":"bethropolis/chip8","owner":"bethropolis","description":"a feature rich  chip 8 emulator, written in go + svelte","archived":false,"fork":false,"pushed_at":"2025-08-12T23:05:33.000Z","size":774,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-13T00:28:25.511Z","etag":null,"topics":["chip8","chip8-emulator","emulator","golang","svelte"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bethropolis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-06-30T07:51:23.000Z","updated_at":"2025-08-12T23:05:37.000Z","dependencies_parsed_at":"2025-07-01T04:42:23.434Z","dependency_job_id":null,"html_url":"https://github.com/bethropolis/chip8","commit_stats":null,"previous_names":["bethropolis/chip8"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/bethropolis/chip8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fchip8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fchip8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fchip8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fchip8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bethropolis","download_url":"https://codeload.github.com/bethropolis/chip8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bethropolis%2Fchip8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275189754,"owners_count":25420645,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chip8","chip8-emulator","emulator","golang","svelte"],"created_at":"2025-09-15T00:51:54.521Z","updated_at":"2026-04-11T21:36:23.302Z","avatar_url":"https://github.com/bethropolis.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CHIP-8 Emulator Logo](./.githubasserts/chip8_logo.svg)](https://github.com/bethropolis/chip8)\n\n# CHIP-8 Emulator\n\n[![Build Status](https://github.com/bethropolis/chip8/actions/workflows/test-build.yml/badge.svg)](https://github.com/bethropolis/chip8/actions/workflows/test-build.yml) [![Go Version](https://img.shields.io/badge/Go-1.23-00ADD8?logo=go\u0026logoColor=white)](https://go.dev/) [![Wails Version](https://img.shields.io/badge/Wails-v2.10.2-blueviolet?logo=wails\u0026logoColor=white)](https://wails.io/) [![License](https://img.shields.io/github/license/bethropolis/chip8)](https://github.com/bethropolis/chip8/blob/main/LICENSE)\n\n\nThis is a feature-rich CHIP-8 emulator built with Wails (Go backend) and Svelte (frontend) with Tailwind CSS v4 for styling.\n\n\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./.githubasserts/emulator.png\" alt=\"CHIP-8 Emulator Screenshot\" /\u003e\n\u003c/p\u003e\n\n## Download\n\nYou can download the latest releases for your operating system from the [releases page](https://github.com/bethropolis/chip8/releases).\n\n## Features\n\n*   **Customizable Settings:** Adjust display color, enable/disable scanline effects, change CPU clock speed, and remap keyboard controls via an intuitive settings modal.\n*   **Enhanced Application Menu:**\n    *   **File:** Load ROMs via file dialog, Save/Load emulator state, Quit.\n    *   **Emulation:** Pause/Resume, Soft Reset (reload current ROM), Hard Reset (clear all state).\n    *   **Help:** Dynamic \"About\" dialog displaying application version and details, and a direct link to the GitHub repository.\n*   **Interactive Keypad:** On-screen keypad for direct input.\n*   **Debug Panel:** Real-time view of CPU registers, memory, stack, and disassembly.\n*   **Screenshot \u0026 State Saving:** Capture screenshots and save/load emulator state to/from files.\n*   **Gamepad Support:** Basic gamepad input mapping.\n*   **Drag-and-Drop ROM Loading:** Easily load ROMs by dragging them onto the emulator window.\n\n## Getting Started\n\nTo run the emulator, follow these steps:\n\n1.  **Navigate to the project directory:**\n    ```bash\n    cd chip8\n    ```\n\n2.  **Run in development mode:**\n    ```bash\n    wails dev\n    ```\n\n    This will compile the Go backend, install frontend dependencies, and start the development server. The emulator UI should open in a new window.\n\n## Usage\n\n1.  **Load a ROM:** Use the \"File\" -\u003e \"Load ROM...\" menu option or drag and drop a `.ch8` file onto the emulator window.\n2.  **Emulation:** The emulator will automatically start executing the loaded ROM.\n3.  **Controls:** Use the keyboard (remappable in settings) or the on-screen keypad.\n4.  **Settings:** Access settings via the gear icon in the header or the application menu.\n5.  **Debug:** Switch to the \"Debug\" tab to view internal emulator state.\n\n## Project Structure\n\n-   `app.go`: Wails application binding, main emulator loop, and backend logic for settings, file operations, etc.\n-   `main.go`: Entry point for the Wails application, Wails configuration, and application menu definition.\n-   `wails.json`: Wails project configuration, including application metadata (version, URL).\n-   `chip8/`: Contains the core CHIP-8 CPU emulator logic (`chip8.go`) and unit tests (`chip8_test.go`).\n-   `frontend/`: Svelte frontend application.\n    -   `src/App.svelte`: Main UI component, orchestrating other Svelte components.\n    -   `src/lib/`: Contains reusable Svelte components (e.g., `SettingsModal.svelte`, `EmulatorView.svelte`, `DebugPanel.svelte`, `stores.js`).\n    -   `src/stores.js`: Svelte stores for managing global application state like settings and notifications.\n    -   `src/app.css`: Tailwind CSS imports.\n    -   `src/main.js`: Frontend entry point.\n    -   `tailwind.config.js`: Tailwind CSS configuration.\n    -   `postcss.config.js`: PostCSS configuration.\n    -   `wailsjs/`: Auto-generated Wails bindings for Go backend communication.\n\n## Development\n\n### Go Backend\n\nTo run Go tests for the CHIP-8 core:\n\n```bash\ncd chip8\ngo test -v ./chip8\n```\n\n### Frontend\n\nTo install frontend dependencies:\n\n```bash\ncd frontend\nbun install\n```\n\nTo build the frontend separately:\n\n```bash\ncd frontend\nbun run build\n```\n\n\n# LICENSE\nThe project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbethropolis%2Fchip8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbethropolis%2Fchip8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbethropolis%2Fchip8/lists"}