{"id":51194038,"url":"https://github.com/will8ug/restclient-cli","last_synced_at":"2026-06-27T18:04:26.405Z","repository":{"id":351312707,"uuid":"1210289177","full_name":"will8ug/restclient-cli","owner":"will8ug","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-22T13:23:58.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T18:50:46.897Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/will8ug.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-14T09:09:21.000Z","updated_at":"2026-05-22T13:24:03.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/will8ug/restclient-cli","commit_stats":null,"previous_names":["will8ug/restclient-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/will8ug/restclient-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Frestclient-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Frestclient-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Frestclient-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Frestclient-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/will8ug","download_url":"https://codeload.github.com/will8ug/restclient-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/will8ug%2Frestclient-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34862675,"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-27T02:00:06.362Z","response_time":126,"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":[],"created_at":"2026-06-27T18:04:25.777Z","updated_at":"2026-06-27T18:04:26.401Z","avatar_url":"https://github.com/will8ug.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# restclient-cli\n\nA TUI (Terminal User Interface) REST API client that reads `.http` files — the same format used by VS Code's REST Client extension.\n\n## Features\n\n- Parse `.http` files with requests, headers, bodies, comments, and variables\n- Interactive three-panel TUI: request list, request detail, response viewer\n- Keyboard-driven navigation\n- Colored method badges and status codes\n- JSON pretty-printing for response bodies\n- Request filtering by name/URL\n- Variable substitution (`@name = value` / `{{name}}`)\n\n## Build\n\n```bash\n# With Make\nmake build          # → ./bin/restclient-cli\nmake install        # → $GOPATH/bin/restclient-cli\n\n# Or directly\ngo build -o restclient-cli ./cmd/\n```\n\n## Usage\n\n```bash\n# Launch TUI with an .http file\n./restclient-cli examples/jsonplaceholder.http\n\n# Show version\n./restclient-cli --version\n```\n\n## Development\n\n```bash\nmake test          # go test -race -count=1 ./...\nmake vet           # go vet ./...\nmake fmt           # go fmt ./...\nmake lint          # golangci-lint run (requires install)\nmake clean         # remove ./bin/\n```\n\n\u003e **Prerequisites**: Go 1.26+, [golangci-lint](https://golangci-lint.run/) (optional, for `make lint`)\n\n## Keyboard Shortcuts\n\nThe status bar shows core shortcuts. Press `?` in the app to see the full list.\n\n| Key | Action |\n|-----|--------|\n| `↑`/`↓` or `j`/`k` | Navigate requests / scroll vertically |\n| `←`/`→` or `h`/`l` | Scroll horizontally |\n| `0` | Jump to horizontal start |\n| `$` | Jump to horizontal end |\n| `g`/`G` | Jump to top/bottom of focused panel |\n| `Enter` | Send selected request |\n| `R` | Reload file from disk |\n| `Tab` | Switch focused panel |\n| `f` | Toggle panel maximize (fullscreen) |\n| `v` | Toggle verbose response (show headers) |\n| `/` | Filter request list |\n| `Esc` | Close overlay / exit maximize |\n| `?` | Toggle help overlay |\n| `q` | Quit |\n| `Ctrl+C` | Force quit |\n\n## .http File Format\n\n```http\n@host = https://api.example.com\n@token = my-api-token\n\n### Get all users\nGET {{host}}/users\nAuthorization: Bearer {{token}}\n\n### Create user\nPOST {{host}}/users\nContent-Type: application/json\n\n{\n  \"name\": \"John\",\n  \"email\": \"john@example.com\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill8ug%2Frestclient-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwill8ug%2Frestclient-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwill8ug%2Frestclient-cli/lists"}