{"id":51031957,"url":"https://github.com/deeper-x/zdsk","last_synced_at":"2026-06-22T01:30:43.483Z","repository":{"id":355240417,"uuid":"1218333326","full_name":"deeper-x/zdsk","owner":"deeper-x","description":"deepseek CLI in zig 0.16.0","archived":false,"fork":false,"pushed_at":"2026-05-02T15:49:29.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T16:30:09.438Z","etag":null,"topics":["cli","deepseek","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deeper-x.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-22T19:13:17.000Z","updated_at":"2026-05-02T15:49:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/deeper-x/zdsk","commit_stats":null,"previous_names":["deeper-x/zdsk"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/deeper-x/zdsk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeper-x%2Fzdsk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeper-x%2Fzdsk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeper-x%2Fzdsk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeper-x%2Fzdsk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deeper-x","download_url":"https://codeload.github.com/deeper-x/zdsk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deeper-x%2Fzdsk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34630770,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"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":["cli","deepseek","zig"],"created_at":"2026-06-22T01:30:43.005Z","updated_at":"2026-06-22T01:30:43.465Z","avatar_url":"https://github.com/deeper-x.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zdsk\n\nA terminal chat client for the [DeepSeek API](https://api-docs.deepseek.com/), written in Zig 0.16.0.\n\n## Features\n\n- Multi-turn conversation — full message history is sent with each request\n- Fenced code blocks rendered as full-width coloured rectangles using truecolor ANSI\n- Terminal width detected at runtime via `ioctl(TIOCGWINSZ)` for accurate padding\n- Model selectable at launch via CLI argument\n- Zero dependencies — only the Zig standard library\n\n## Requirements\n\n- Zig 0.16.0\n- A [DeepSeek API key](https://platform.deepseek.com/api_keys)\n- A truecolor terminal (kitty, alacritty, iTerm2, GNOME Terminal 3.36+, etc.)\n\n## Build / Run\n\n```sh\nmake deploy\n# or...\nmake run\n```\n\n\nThe binary is placed at `zig-out/bin/zdsk`.\n\n## Usage\n\nExport your API key, then run:\n\n```sh\nexport DEEPSEEK_API_KEY=\"your-key-here\"\n./zig-out/bin/zdsk\n```\n\nTo use a different model, pass it as the first argument:\n\n```sh\n./zig-out/bin/zdsk deepseek-chat\n```\n\nAvailable models:\n\n| Model | Description |\n|---|---|\n| `deepseek-chat` | DeepSeek-V3.2, standard mode |\n| `deepseek-reasoner` | DeepSeek-V3.2, thinking/reasoning mode (default) |\n\n### In-session commands\n\n| Input | Action |\n|---|---|\n| Any text + Enter | Send message |\n| `/exit` or `/quit` | Quit |\n| Ctrl-D | Quit |\n\n## Notes\n\n- The `write_buffer_size` on `std.http.Client` is set to 8192 bytes to avoid a known hang with large HTTPS POST payloads (Zig issue [#25015](https://github.com/ziglang/zig/issues/25015)).\n- If stdout is not a TTY (e.g. piped), `termWidth` falls back to 80 columns.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeper-x%2Fzdsk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeeper-x%2Fzdsk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeeper-x%2Fzdsk/lists"}