{"id":21359144,"url":"https://github.com/worlpaker/gitty","last_synced_at":"2026-03-10T05:31:44.167Z","repository":{"id":237470115,"uuid":"794482716","full_name":"worlpaker/gitty","owner":"worlpaker","description":"Download GitHub File \u0026 Directory","archived":false,"fork":false,"pushed_at":"2025-06-10T14:38:25.000Z","size":496,"stargazers_count":48,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-13T01:31:52.621Z","etag":null,"topics":["cli","cli-app","git","github","github-api","go","golang","golang-cli"],"latest_commit_sha":null,"homepage":"","language":"Go","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/worlpaker.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}},"created_at":"2024-05-01T09:20:07.000Z","updated_at":"2025-07-11T01:54:57.000Z","dependencies_parsed_at":"2024-05-21T16:45:11.682Z","dependency_job_id":"064b8718-09dd-4d21-b9f2-1dd8a03a4005","html_url":"https://github.com/worlpaker/gitty","commit_stats":null,"previous_names":["worlpaker/gitty"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/worlpaker/gitty","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worlpaker%2Fgitty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worlpaker%2Fgitty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worlpaker%2Fgitty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worlpaker%2Fgitty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/worlpaker","download_url":"https://codeload.github.com/worlpaker/gitty/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/worlpaker%2Fgitty/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"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":["cli","cli-app","git","github","github-api","go","golang","golang-cli"],"created_at":"2024-11-22T05:26:46.816Z","updated_at":"2026-03-10T05:31:43.975Z","avatar_url":"https://github.com/worlpaker.png","language":"Go","readme":"# Gitty\n\n![GitHub Latest Release](https://img.shields.io/github/v/release/worlpaker/gitty?logo=github)\n[![Go](https://github.com/worlpaker/gitty/actions/workflows/go.yml/badge.svg)](https://github.com/worlpaker/gitty/actions/workflows/go.yml)\n[![CodeQL](https://github.com/worlpaker/gitty/actions/workflows/codeql.yml/badge.svg)](https://github.com/worlpaker/gitty/actions/workflows/codeql.yml)\n[![codecov](https://codecov.io/gh/worlpaker/gitty/graph/badge.svg?token=6T5V3C1IXE)](https://codecov.io/gh/worlpaker/gitty)\n[![Go Report Card](https://goreportcard.com/badge/github.com/worlpaker/gitty)](https://goreportcard.com/report/github.com/worlpaker/gitty)\n![License](https://img.shields.io/github/license/worlpaker/gitty?logo=github)\n\n![gitty](_examples/gitty.gif)\n\n## Overview\n\nGitty is a CLI tool that helps you download GitHub files and directories directly! It is fast, simple, and works concurrently.\n\nGitty simplifies downloading a single folder from GitHub. It is perfect for downloading specific files and folders from large repositories without cloning them.\n\n## Install\n\n### Go\n\n\u003e Requires **Go 1.23+**\n\n```sh\ngo install github.com/worlpaker/gitty@latest\n```\n\n## Usage\n\n```sh\ngitty github-url\n```\n\n### Examples\n\n- Download GitHub Directory\n\n```sh\ngitty https://github.com/worlpaker/go-syntax/tree/master/examples\n```\n\n- Download GitHub File\n\n```sh\ngitty https://github.com/worlpaker/go-syntax/blob/master/test/semantic_tokens.go\n```\n\n- Gitty also works without the https prefix\n\n```sh\ngitty github.com/worlpaker/go-syntax/tree/master/examples\n```\n\n## Authorization\n\nGitHub has hourly [rate limit](https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api):\n\n- For unauthenticated users: 60\n\n- For authenticated users: 5000\n\n- For enterprise cloud users: 15000\n\nGitty authenticates using the `GH_TOKEN` environment variable. You can get a personal access token from [GitHub Personal Tokens](https://github.com/settings/tokens). For more details, see GitHub's guide on [managing your personal access tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens).\n\nYou can set the `GH_TOKEN` environment variable manually, or you can use **gitty**!\n\n- Set token\n\n```sh\ngitty -s=your_github_token\n```\n\n- Unset token\n\n```sh\ngitty -u\n```\n\n- Authenticated user info\n\n```sh\ngitty -a\n```\n\n- Check client auth status and remaining rate limit\n\n```sh\ngitty -c\n```\n\n\u003e **NOTE:** Gitty doesn't store your token. It gets, saves, and deletes the token from your os environment variable.\n\n## How it works\n\nGitty uses [go-github](https://github.com/google/go-github) to interact with GitHub and [cobra](https://github.com/spf13/cobra) for CLI.\n\n## Test\n\nTest coverage is 100% for Windows, Linux and macOS (see: [gitty test commands](Makefile)).\n\n## Contributing\n\nYes, please! Feel free to contribute.\n\n## Credits\n\nInspired by [download-directory](https://github.com/download-directory/download-directory.github.io).\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworlpaker%2Fgitty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fworlpaker%2Fgitty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fworlpaker%2Fgitty/lists"}