{"id":51641069,"url":"https://github.com/tamnd/clinicaltrials-cli","last_synced_at":"2026-07-13T19:03:17.075Z","repository":{"id":364843405,"uuid":"1268642968","full_name":"tamnd/clinicaltrials-cli","owner":"tamnd","description":"Search ClinicalTrials.gov clinical studies and trial records from the command line","archived":false,"fork":false,"pushed_at":"2026-06-29T12:19:22.000Z","size":55,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-29T14:19:41.557Z","etag":null,"topics":["cli","clinicaltrials","golang","json","medical","open-data","research"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/tamnd.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-06-13T19:16:46.000Z","updated_at":"2026-06-14T17:53:58.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tamnd/clinicaltrials-cli","commit_stats":null,"previous_names":["tamnd/clinicaltrials-cli"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tamnd/clinicaltrials-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamnd%2Fclinicaltrials-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamnd%2Fclinicaltrials-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamnd%2Fclinicaltrials-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamnd%2Fclinicaltrials-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tamnd","download_url":"https://codeload.github.com/tamnd/clinicaltrials-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tamnd%2Fclinicaltrials-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35432828,"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-07-13T02:00:06.543Z","response_time":119,"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","clinicaltrials","golang","json","medical","open-data","research"],"created_at":"2026-07-13T19:03:09.894Z","updated_at":"2026-07-13T19:03:17.060Z","avatar_url":"https://github.com/tamnd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clinicaltrials\n\nSearch ClinicalTrials.gov clinical studies from the command line.\n\n`clinicaltrials` is a single pure-Go binary. It speaks to clinicaltrials.gov\nover plain HTTPS via the public REST API v2, shapes the responses into clean\nrecords, and pipes into the rest of your tools. No API key required.\n\n## Install\n\n```bash\ngo install github.com/tamnd/clinicaltrials-cli/cmd/clinicaltrials@latest\n```\n\nOr grab a prebuilt binary from the [releases](https://github.com/tamnd/clinicaltrials-cli/releases), or run\nthe container image:\n\n```bash\ndocker run --rm ghcr.io/tamnd/clinicaltrials:latest --help\n```\n\n## Usage\n\n```bash\n# Search by condition\nclinicaltrials search --condition cancer --status RECRUITING\n\n# Search by intervention\nclinicaltrials search --intervention insulin --limit 5\n\n# Search by free-text term\nclinicaltrials search --term \"phase 3 diabetes\"\n\n# Get full study details by NCT ID\nclinicaltrials study NCT05608876\n\n# Output as JSON\nclinicaltrials search --condition cancer -o json\n\n# Output as CSV\nclinicaltrials search --condition cancer -o csv\n```\n\n## Output formats\n\n`-o table` (default on TTY), `-o jsonl` (default piped), `-o json`, `-o csv`, `-o tsv`, `-o url`\n\n## Development\n\n```\ncmd/clinicaltrials/   thin main, wires cli.NewApp into kit.Main\ncli/                  kit app wiring: identity, defaults, domain registration\nclinicaltrials/       the library: HTTP client, data models, kit Domain\ndocs/                 tago documentation site\n```\n\n```bash\nmake build      # ./bin/clinicaltrials\nmake test       # go test ./...\nmake vet        # go vet ./...\n```\n\n## Releasing\n\nPush a version tag and GitHub Actions runs GoReleaser, which builds the\narchives, Linux packages, the multi-arch GHCR image, checksums, SBOMs, and a\ncosign signature:\n\n```bash\ngit tag v0.1.0\ngit push --tags\n```\n\n## License\n\nApache-2.0. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamnd%2Fclinicaltrials-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamnd%2Fclinicaltrials-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamnd%2Fclinicaltrials-cli/lists"}