{"id":36223874,"url":"https://github.com/murat65536/dcat","last_synced_at":"2026-06-11T02:06:42.828Z","repository":{"id":334923070,"uuid":"1137644672","full_name":"Murat65536/dcat","owner":"Murat65536","description":"A 3d model viewer for the terminal","archived":false,"fork":false,"pushed_at":"2026-05-20T00:30:00.000Z","size":3870,"stargazers_count":19,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-20T03:53:12.231Z","etag":null,"topics":["3d","3d-engine","3d-graphics","3d-models","3d-viewer","3d-visualization","assimp","c","cli","cmake","kitty-graphics","kitty-graphics-protocol","sixel","sixel-graphics","terminal","terminal-app","terminal-based","terminal-graphics","vips","vulkan"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Murat65536.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-19T16:33:26.000Z","updated_at":"2026-05-18T23:58:41.000Z","dependencies_parsed_at":"2026-04-20T00:02:45.563Z","dependency_job_id":null,"html_url":"https://github.com/Murat65536/dcat","commit_stats":null,"previous_names":["murat65536/dcat"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Murat65536/dcat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Murat65536%2Fdcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Murat65536%2Fdcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Murat65536%2Fdcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Murat65536%2Fdcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Murat65536","download_url":"https://codeload.github.com/Murat65536/dcat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Murat65536%2Fdcat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33418550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"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":["3d","3d-engine","3d-graphics","3d-models","3d-viewer","3d-visualization","assimp","c","cli","cmake","kitty-graphics","kitty-graphics-protocol","sixel","sixel-graphics","terminal","terminal-app","terminal-based","terminal-graphics","vips","vulkan"],"created_at":"2026-01-11T05:02:47.522Z","updated_at":"2026-05-24T02:02:29.174Z","avatar_url":"https://github.com/Murat65536.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dcat\n\nA 3d model viewer for the terminal\n\nhttps://github.com/user-attachments/assets/ca47ea52-6a46-4ac2-8c9f-430fc9ea9865\n\n## Controls\n\n- `q` - Quit\n- `m` - Toggle wireframe\n- Animation controls:\n  - `p` - Play/Pause animation\n  - `1` - Previous animation\n  - `2` - Next animation\n- When FPS controls are enabled:\n  - `w/a/s/d` - Move forward/left/backward/right\n  - `i/j/k/l` - Look around\n  - `Space` - Move up\n  - `Shift` - Move down\n  - `v` - Slow down\n  - `b` - Speed up\n- When FPS controls are disabled\n  - `w/a/s/d` - Rotate the camera around the model\n  - `e/r` - Zoom in and out\n\n## Character rendering option\n\n- `--hash-characters` makes character modes (`--truecolor-characters`, `--palette-characters`, `--block-characters`) render with `#` instead of half-block glyphs.\n- In this mode, vertical detail is halved (one source pixel row per terminal row).\n\n## Build\n\nThis project uses the [Meson](https://mesonbuild.com/) build system and depends on Vulkan, Assimp, cglm, libvips, and libsixel.\n\nSystem packages are used by default; the `subprojects/*.wrap` files are reproducible fallbacks only. `cglm` is pinned to a hashed wrapdb tarball; `assimp`, `libvips`, and `libsixel` are pinned to immutable git commits. To bump a dependency, change the `revision`/`source_hash` in the relevant `subprojects/*.wrap` and update the accompanying comment. CI builds pass `--wrap-mode=nofallback` so a missing system dependency fails loudly instead of silently source-building a vendored copy.\n\n### Linux\n\nInstall the required dependencies (Ubuntu/Debian example):\n\n```sh\n# Add LunarG Vulkan SDK repository for latest vulkan-headers\nwget -qO- https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo tee /etc/apt/trusted.gpg.d/lunarg.asc\nsudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-noble.list https://packages.lunarg.com/vulkan/lunarg-vulkan-noble.list\nsudo apt-get update\n\nsudo apt-get install -y gcc meson ninja-build libvulkan-dev vulkan-headers shaderc vulkan-utility-libraries-dev libassimp-dev libcglm-dev libsixel-dev pkg-config libvips-dev\n```\n\nConfigure and build:\n\n```sh\n# Release\nmeson setup build --buildtype=release\nmeson compile -C build\n\n# Debug\nmeson setup build-debug --buildtype=debug\nmeson compile -C build-debug\n```\n\n### Windows\n\nOn Windows, the project is built using [MSYS2](https://www.msys2.org/) with the `clang64` environment. The Windows build uses the bundled libsixel subproject by default to avoid cross-environment `pkg-config` issues.\n\n1. Install MSYS2.\n2. Open the **MSYS2 Clang x86_64** terminal.\n3. Install dependencies:\n\n```sh\npacman -S mingw-w64-clang-x86_64-toolchain mingw-w64-clang-x86_64-meson mingw-w64-clang-x86_64-ninja mingw-w64-clang-x86_64-cmake mingw-w64-clang-x86_64-pkgconf mingw-w64-clang-x86_64-vulkan-headers mingw-w64-clang-x86_64-vulkan-loader mingw-w64-clang-x86_64-shaderc mingw-w64-clang-x86_64-assimp mingw-w64-clang-x86_64-cglm mingw-w64-clang-x86_64-libvips git\n```\n\nConfigure and build:\n\n```sh\n# Release (recommended for installer-bundled DLL distribution)\nmeson setup build --buildtype=release --default-library=shared -Dbundled_libsixel=enabled\nmeson compile -C build\n\n# Debug\nmeson setup build-debug --buildtype=debug -Dbundled_libsixel=enabled\nmeson compile -C build-debug\n```\n\nWhen `bundled_libsixel` is enabled, the bundled libsixel is linked statically on Windows (while other dependencies remain DLL-packaged) to avoid patching upstream libsixel export macros.\n\nUse `-Dbundled_libsixel=disabled` only if you intentionally want Meson to require a system `libsixel` package from the active MSYS2 environment.\n\n### Windows Notes\n- `--kitty` and `--kitty-direct` are not supported in native Windows mode.\n- Auto-output mode falls back to character rendering modes on Windows.\n\n## Development\n\nA `justfile` provides shortcuts over the Meson commands above (install [`just`](https://github.com/casey/just), or just run the underlying commands by hand):\n\n```sh\njust setup-debug   # configure a debug build in ./build\njust build         # meson compile -C build\njust asan          # debug build with AddressSanitizer + UBSan (b_sanitize)\njust devenv        # shell with the built dcat on PATH\njust bump-wraps    # refresh subproject sources after editing subprojects/*.wrap\n```\n\nSanitizer builds use Meson's built-in `b_sanitize` (e.g. `meson setup build -Db_sanitize=address,undefined -Db_lundef=false`); no custom option is needed.\n\n`meson setup` emits `build/compile_commands.json`. The committed `.clangd` points clangd at it, so editors get full IntelliSense once any build directory named `build` is configured.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurat65536%2Fdcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurat65536%2Fdcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurat65536%2Fdcat/lists"}