{"id":16720508,"url":"https://github.com/obed0101/gitd","last_synced_at":"2025-06-13T08:07:31.175Z","repository":{"id":208756199,"uuid":"722413540","full_name":"Obed0101/gitd","owner":"Obed0101","description":"gitd is a lightweight script designed to simplify the process of downloading Git repositories from the command line. It provides an easy-to-use interface for cloning repositories with options to specify branches and target directories.","archived":false,"fork":false,"pushed_at":"2024-10-05T05:08:17.000Z","size":57,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T10:05:52.135Z","etag":null,"topics":["automation","bash","collaboration","command-line","developer-tools","development-tools","git","gitclone","github","github-api","github-cli","open-source","repository-cloning","repository-management","scripted-workflows","scripting","shell-script","workflow-automation","zsh"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Obed0101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-23T05:05:49.000Z","updated_at":"2025-02-01T19:00:55.000Z","dependencies_parsed_at":"2023-11-24T06:47:38.375Z","dependency_job_id":"bdce85cf-7bb7-4fa1-9315-a160860ef683","html_url":"https://github.com/Obed0101/gitd","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":0.1515151515151515,"last_synced_commit":"f81abec9de8e2b8b3d3b4b2d6860ac30eb6105db"},"previous_names":["xxdeathabyssxx/gitd","obed0101/gitd"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Obed0101/gitd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obed0101%2Fgitd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obed0101%2Fgitd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obed0101%2Fgitd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obed0101%2Fgitd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Obed0101","download_url":"https://codeload.github.com/Obed0101/gitd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Obed0101%2Fgitd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606975,"owners_count":22883559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["automation","bash","collaboration","command-line","developer-tools","development-tools","git","gitclone","github","github-api","github-cli","open-source","repository-cloning","repository-management","scripted-workflows","scripting","shell-script","workflow-automation","zsh"],"created_at":"2024-10-12T22:07:21.611Z","updated_at":"2025-06-13T08:07:31.149Z","avatar_url":"https://github.com/Obed0101.png","language":"Shell","readme":"\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Obed0101/gitd\"\u003e\n    \u003cimg src=\"https://i.imgur.com/NxZCmoU.png\" alt=\"Logo\"\u003e\n  \u003c/a\u003e\n\n  \u003ch3 align=\"center\"\u003e🚀 gitd\u003c/h3\u003e\n\n  \u003cp align=\"center\"\u003e\n    Simplify Git repository downloads with ease!\n    \u003cbr/\u003e\n    \u003ca href=\"https://github.com/Obed0101/gitd/issues\"\u003eReport Bug\u003c/a\u003e\n    .\n    \u003ca href=\"https://github.com/Obed0101/gitd/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n![Downloads](https://img.shields.io/github/downloads/Obed0101/gitd/total) ![Contributors](https://img.shields.io/github/contributors/Obed0101/gitd?color=dark-green) ![Forks](https://img.shields.io/github/forks/Obed0101/gitd?style=social) ![Stargazers](https://img.shields.io/github/stars/Obed0101/gitd?style=social) ![Issues](https://img.shields.io/github/issues/Obed0101/gitd) ![License](https://img.shields.io/github/license/Obed0101/gitd)\n\n\u003c/div\u003e\n\n## 📚 Table Of Contents\n\n- [About the Project](#🚀-about-the-project)\n- [Features](#✨-features)\n- [Why gitd?](#🤔-why-gitd)\n- [Built With](#🛠️-built-with)\n- [Getting Started](#🚀-getting-started)\n  - [Prerequisites](#📋-prerequisites)\n  - [Installation](#🛠️-installation)\n- [Usage](#🛠️-usage)\n  - [Options](#⚙️-options)\n- [Customizing Repository Location](#🌐-customizing-repository-location)\n- [Examples](#🚀-examples)\n- [Roadmap](#🗺️-roadmap)\n- [Contributing](#🤝-contributing)\n  - [Creating A Pull Request](#🌐-creating-a-pull-request)\n- [License](#📄-license)\n- [Authors](#🌟-authors)\n\n## 🚀 About The Project\n\nThis project provides a simple Zsh script (`gitd`) to streamline the process of downloading Git repositories. It offers a user-friendly command-line interface to quickly clone repositories with customizable settings.\n\n## ✨ Features\n\n- 🔄 **Easy Cloning:** Quickly clone Git repositories with just a few commands.\n- 📁 **Customizable Base Directory:** Choose your preferred base directory for downloaded repositories.\n- 🎨 **Stylish Logs:** Colorful and informative logs for a better user experience.\n- ⚙️ **Configuration Options:** Customize the script behavior using environment variables.\n- ⚙️ **Setup Option:** Set up the downloaded repository, including installing dependencies.\n\n## 🤔 Why gitd?\n\n- **Simplicity:** gitd is designed to be straightforward and easy to use.\n- **Style:** Enjoy stylish and colorful logs during the cloning process.\n- **Configurability:** Tailor gitd to your preferences with customizable options.\n\n## 🛠️ Built With\n\n- Zsh (Z shell)\n\n## 🚀 Getting Started\n\nTo get started with `gitd`, follow the instructions below.\n\n### 📋 Prerequisites\n\n- Zsh or Bash installed on your system\n- GitHub CLI (`gh`) for retrieving repository details\n\n### 🛠️ Installation\n\nYou can install `gitd` by running the following command in your terminal:\n\n```bash\nbash -c \"$(curl -fsSL https://raw.githubusercontent.com/Obed0101/gitd/main/install.sh)\"\n```\n\n## 🛠️ Usage\n\nUse the gitd script with the following syntax:\n\n```sh\ngitd [options] \u003crepo_url\u003e [options]\n```\n\nReplace \u003crepo_url\u003e with the URL of the Git repository you want to download. Optionally, you can specify a branch.\n\n### ⚙️ Options:\n\n| Option          | Description                                                          |\n| --------------- | -------------------------------------------------------------------- |\n| `-h, --help`    | Show help message.                                                   |\n| `-v, --version` | Display the script version.                                          |\n| `-s, --setup`   | Set up the downloaded repository, including installing dependencies. |\n| `-b, --branch`  | Specify the branch for cloning.                                      |\n\n\u003e **Note:** The setup option is currently compatible with the following package managers and systems:\n\n- **npm:** Node.js package manager\n- **yarn:** Fast, reliable, and secure dependency management\n- **pnpm:** Fast, disk space efficient package manager\n- **bundle:** Ruby dependency manager\n- **mvn:** Apache Maven for Java projects\n- **go:** Go programming language\n- **gcc:** GNU Compiler Collection (for C/C++ projects)\n\n## 🌐 Customizing Repository Location\n\nBy default, gitd saves repositories in the $HOME/Repos directory. You can customize this location by setting the GITD_BASE_DIR environment variable. For example:\n\n```sh\nexport GITD_BASE_DIR=~/my_repos\n```\n\nAdd this line to your shell configuration file (e.g., .zshrc or .bashrc) to make it persistent across sessions.\n\n## 🚀 Examples\n\n- Clone a repository with the default settings: `gitd https://github.com/Obed0101/gitd`\n- Specify a branch for cloning: `gitd -b main https://github.com/Obed0101/gitd`\n- Set up a repository after cloning: `gitd -s https://github.com/example/repo`\n- Customize the base directory: `export GITD_BASE_DIR=~/Downloads`\n\n## 🗺️ Roadmap\n\nSee the [open issues](https://github.com/Obed0101/gitd/issues) for a list of proposed features (and known issues).\n\n## 🤝 Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n- If you have suggestions for adding or removing projects, feel free to [open an issue](https://github.com/Obed0101/gitd/issues/new) to discuss it, or directly create a pull request after you edit the _README.md_ file with necessary changes.\n- Please make sure you check your spelling and grammar.\n- Create individual PR for each suggestion.\n- Please also read through the [Code Of Conduct](https://github.com/Obed0101/gitd/blob/main/CODE_OF_CONDUCT.md) before posting your first idea as well.\n\n### 🌐 Creating A Pull Request\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## 📄 License\n\nDistributed under the Apache License. See [LICENSE](https://github.com/Obed0101/gitd/blob/main/LICENSE) for more information.\n\n## 🌟 Authors\n\n- **Obed0101** - _Fullstack Developer_ - [Obed0101](https://github.com/Obed0101) - _Built gitd_\n- **AlphaTechnolog** - _Fullstack Developer_ - [AlphaTechnolog](https://github.com/AlphaTechnolog) - _Developer/Tester of gitd_\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobed0101%2Fgitd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobed0101%2Fgitd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobed0101%2Fgitd/lists"}