{"id":42758218,"url":"https://github.com/mlund/crabsid","last_synced_at":"2026-01-29T20:18:54.236Z","repository":{"id":334608618,"uuid":"1141726629","full_name":"mlund/crabsid","owner":"mlund","description":"Commodore 64 SID player implemented in pure Rust","archived":false,"fork":false,"pushed_at":"2026-01-26T07:29:36.000Z","size":92,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-26T12:49:03.454Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/mlund.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-25T10:18:40.000Z","updated_at":"2026-01-26T07:29:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mlund/crabsid","commit_stats":null,"previous_names":["mlund/crabsid"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mlund/crabsid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlund%2Fcrabsid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlund%2Fcrabsid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlund%2Fcrabsid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlund%2Fcrabsid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlund","download_url":"https://codeload.github.com/mlund/crabsid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlund%2Fcrabsid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28884285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:55:09.949Z","status":"ssl_error","status_checked_at":"2026-01-29T19:55:08.490Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-29T20:18:53.717Z","updated_at":"2026-01-29T20:18:54.231Z","avatar_url":"https://github.com/mlund.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrabSID\n\n[![Release](https://img.shields.io/github/v/release/mlund/crabsid)](https://github.com/mlund/crabsid/releases/latest)\n[![Downloads](https://img.shields.io/github/downloads/mlund/crabsid/total)](https://github.com/mlund/crabsid/releases)\n[![License](https://img.shields.io/github/license/mlund/crabsid)](LICENSE)\n\nA TUI and command-line SID music player for C64 SID music playback. Written in Rust and emulates the MOS 6502 CPU and MOS 6581/8580 SID chip using ReSid. Supports multi-SID tunes with 2-3 chips for 6-9 voice playback.\n\n\u003cimg width=\"800\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e496456b-5052-46b0-9340-f498795074ff\" /\u003e\n\n## Features\n\n- 🎵 **PSID Playback** — Plays PSID format files (RSID/CIA-driven tunes require full C64 emulation)\n- 🔊 **Multi-SID Support** — 2SID and 3SID tunes (PSID v3+) with 6-9 voices\n- 🎛️ **Dual Chip Emulation** — MOS 6581 and MOS 8580 SID chip support\n- ⚙️ **MOS 6502 CPU** — Full emulation with illegal opcodes\n- 🌍 **PAL/NTSC Timing** — Auto-detection from file headers\n- ⏭️ **Multi-Song Navigation** — Prev/next subsong controls\n- 🌐 **HVSC Browser** — Browse and stream directly from the High Voltage SID Collection\n- 🔍 **HVSC Search** — Search across 50,000+ SID files by path, title, or artist\n- ⏱️ **Songlengths** — Auto-advances using HVSC song duration database\n- 📁 **Local HVSC** — Use a local HVSC copy with `file://` URLs for offline playback\n- 📋 **Playlist Support** — M3U playlists with local files and URLs\n- 🖥️ **Terminal UI** — Powered by ratatui\n  - 📊 VU meters showing per-voice envelope levels (3/6/9 voices)\n  - 〰️ Oscilloscope displaying envelope waveforms for all voices\n  - 🔄 Real-time chip model switching (per-SID for multi-SID tunes)\n  - 🎨 Color schemes (C64, Dracula, Monokai, Gruvbox, and more)\n- 🦀 **Written in Rust**\n\n## Installation\n\n### Pre-built Binaries\n\nDownload from [Releases](https://github.com/mlund/crabsid/releases/latest):\n\n| Platform | Architecture | Download |\n|----------|--------------|----------|\n| Windows | x86_64 | [crabsid-windows-x86_64.zip](https://github.com/mlund/crabsid/releases/latest/download/crabsid-windows-x86_64.zip) |\n| macOS | Apple Silicon | [crabsid-macos-aarch64.tar.gz](https://github.com/mlund/crabsid/releases/latest/download/crabsid-macos-aarch64.tar.gz) |\n| macOS | Intel | [crabsid-macos-x86_64.tar.gz](https://github.com/mlund/crabsid/releases/latest/download/crabsid-macos-x86_64.tar.gz) |\n| Linux | x86_64 | [crabsid-linux-x86_64.tar.gz](https://github.com/mlund/crabsid/releases/latest/download/crabsid-linux-x86_64.tar.gz) |\n| Linux | ARM64 | [crabsid-linux-aarch64.tar.gz](https://github.com/mlund/crabsid/releases/latest/download/crabsid-linux-aarch64.tar.gz) |\n\n### Build from Source\n\nRequires Rust toolchain. ALSA development libraries needed on Linux:\n\n```bash\n# Debian/Ubuntu\nsudo apt install pkg-config libasound2-dev\n\n# Build and install\ncargo install --path .\n```\n\n## Usage\n\n```bash\ncrabsid                          # Start with HVSC browser\ncrabsid music.sid                # Play file and add to playlist\ncrabsid music.sid --song 3       # Play subsong 3\ncrabsid music.sid --chip 8580    # Force 8580 chip emulation\ncrabsid -l mylist.m3u            # Load playlist\ncrabsid --no-tui music.sid       # Headless mode\ncrabsid --hvsc-url file:///path/to/HVSC/C64Music  # Use local HVSC\n```\n\n## Keyboard Controls\n\n### Player\n| Key | Action |\n|-----|--------|\n| `Space` | Pause/Resume |\n| `1-9` | Jump to subsong 1-9 |\n| `+/-` | Next/previous subsong |\n| `s` | Cycle SID chip model (6581/8580) |\n| `c` | Color scheme picker |\n| `a` | Add current song to playlist |\n\n### Browser\n| Key | Action |\n|-----|--------|\n| `Tab` | Switch between Playlist and HVSC |\n| `Up/Down` | Navigate |\n| `Enter` | Play file / Enter directory |\n| `Left/Backspace` | Go up / Remove from playlist |\n| `/` | Search HVSC (Esc to cancel) |\n\n### General\n| Key | Action |\n|-----|--------|\n| `h/?` | Show help |\n| `q` | Quit |\n\n## Options\n\n| Option | Description |\n|--------|-------------|\n| `-s, --song \u003cN\u003e` | Subsong number to play (default: from file) |\n| `-c, --chip \u003cMODEL\u003e` | SID chip: 6581 or 8580 (default: from file) |\n| `-l, --playlist \u003cFILE\u003e` | Load M3U playlist |\n| `--hvsc-url \u003cURL\u003e` | HVSC mirror URL or local path (file://) |\n| `--playtime \u003cSECS\u003e` | Max song duration before auto-advance (default: 180) |\n| `--no-tui` | Disable TUI, simple text output |\n\n## Architecture\n\n```mermaid\nflowchart TB\n    subgraph Input\n        CLI[CLI args]\n        SID[.sid file]\n        M3U[.m3u playlist]\n        HVSC[(HVSC Online)]\n    end\n\n    subgraph Core[\"Emulation Core\"]\n        CPU[MOS 6502 CPU\u003cbr/\u003emos6502]\n        MEM[C64 Memory\u003cbr/\u003e64KB RAM]\n        SIDCHIP[SID Chips 1-3\u003cbr/\u003eresid-rs]\n        CPU \u003c--\u003e MEM\n        MEM \u003c--\u003e SIDCHIP\n    end\n\n    subgraph Player[\"Player Thread\"]\n        PLAYER[Player]\n        PLAYER --\u003e CPU\n        PLAYER --\u003e SIDCHIP\n    end\n\n    subgraph Audio[\"Audio Thread\"]\n        AUDIO[tinyaudio]\n        BUFFER[Audio Buffer]\n    end\n\n    subgraph UI[\"TUI · ratatui\"]\n        APP[App State]\n        VU[VU Meters]\n        SCOPE[Oscilloscopes]\n        BROWSER[HVSC Browser]\n        PLAYLIST[Playlist Browser]\n        APP --\u003e VU\n        APP --\u003e SCOPE\n        APP --\u003e BROWSER\n        APP --\u003e PLAYLIST\n    end\n\n    CLI --\u003e PLAYER\n    SID --\u003e PLAYER\n    M3U --\u003e PLAYLIST\n    HVSC --\u003e BROWSER\n\n    PLAYER \u003c--\u003e|Arc Mutex| APP\n    PLAYER --\u003e BUFFER\n    BUFFER --\u003e AUDIO\n    SIDCHIP --\u003e|envelope| SCOPE\n    SIDCHIP --\u003e|levels| VU\n```\n\n## License\n\nThe `crabsid` crate is licensed under the GNU General Public License v3.0 due to its dependency on `resid-rs` which is GPLv3 licensed.\n\nIndividual source files are MIT licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlund%2Fcrabsid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlund%2Fcrabsid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlund%2Fcrabsid/lists"}