{"id":48268976,"url":"https://github.com/nathannncurtis/mdview-zig","last_synced_at":"2026-04-04T22:01:51.278Z","repository":{"id":349103381,"uuid":"1201077377","full_name":"nathannncurtis/mdview-zig","owner":"nathannncurtis","description":"Fast, native markdown viewer for Windows — Zig + DirectWrite, ~240KB","archived":false,"fork":false,"pushed_at":"2026-04-04T07:41:42.000Z","size":6700,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-04T09:22:20.088Z","etag":null,"topics":["directwrite","markdown","viewer","windows","zig"],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/nathannncurtis.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-04-04T07:14:57.000Z","updated_at":"2026-04-04T07:42:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nathannncurtis/mdview-zig","commit_stats":null,"previous_names":["nathannncurtis/mdview-zig"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/nathannncurtis/mdview-zig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fmdview-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fmdview-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fmdview-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fmdview-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathannncurtis","download_url":"https://codeload.github.com/nathannncurtis/mdview-zig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fmdview-zig/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31416332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: 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":["directwrite","markdown","viewer","windows","zig"],"created_at":"2026-04-04T22:01:50.420Z","updated_at":"2026-04-04T22:01:51.265Z","avatar_url":"https://github.com/nathannncurtis.png","language":"Zig","readme":"# mdview\n\nA fast, native Markdown viewer built with Zig. Cross-platform — Windows, Linux, and macOS.\n\nDark-themed, borderless floating window that renders Markdown with GitHub-dark styling. Rewrite of the [Rust version](https://github.com/nathannncurtis/mdview) — ~285 KB standalone binary, no webview, no runtime dependencies.\n\n## Features\n\n- **Cross-platform** — Windows (DirectWrite), Linux (X11 + Cairo + Pango), macOS (Cocoa + CoreText)\n- **GitHub-dark theme** — easy on the eyes\n- **Borderless floating window** — clean, minimal chrome\n- **Syntax highlighting** in code blocks\n- **Bold/italic** inline formatting\n- **File watching** — auto-reloads when the file changes on disk\n- **Drag \u0026 drop** — drop any `.md` file onto the window to open it\n- **Scroll position memory** — remembers where you left off across sessions\n- **Register as default viewer** — `--register` on Windows, `.desktop` file on Linux\n\n## Install\n\nDownload from the [latest release](https://github.com/nathannncurtis/mdview-zig/releases/latest):\n\n| Platform | Files |\n|---|---|\n| Windows | `mdview.exe` (portable) or `mdview-setup.exe` (installer) |\n| Linux | `mdview-linux-x86_64` |\n| macOS | `mdview-macos-arm64` |\n\nThe Windows installer can run per-user or system-wide and optionally associates `.md` / `.markdown` files with mdview.\n\n## Usage\n\n```\nmdview README.md\nmdview --register      # register as default .md viewer (Windows/Linux)\n```\n\nOr drag and drop a `.md` file onto the window.\n\n## Keybindings\n\n| Key | Action |\n|---|---|\n| Ctrl+Q | Quit |\n| Alt+Drag | Move window |\n| Scroll | Scroll content |\n\n## Build from source\n\nRequires [Zig 0.14+](https://ziglang.org/download/).\n\n```\nzig build -Doptimize=ReleaseSmall\n```\n\n### Platform dependencies\n\n- **Windows** — none (uses system DirectWrite/Direct2D)\n- **Linux** — `libx11-dev libcairo2-dev libpango1.0-dev`\n- **macOS** — none (uses system Cocoa/CoreText frameworks)\n\n## Logging\n\nLogs are written to:\n- **Windows** — `%LOCALAPPDATA%\\mdview\\mdview-zig.log`\n- **Linux** — `~/.local/share/mdview/mdview-zig.log`\n- **macOS** — `~/Library/Application Support/mdview/mdview-zig.log`\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathannncurtis%2Fmdview-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathannncurtis%2Fmdview-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathannncurtis%2Fmdview-zig/lists"}