{"id":27554296,"url":"https://github.com/kareem-ghazi/kgit","last_synced_at":"2026-05-01T16:35:43.428Z","repository":{"id":287612112,"uuid":"965269201","full_name":"kareem-ghazi/kgit","owner":"kareem-ghazi","description":"My own Git version control system.","archived":false,"fork":false,"pushed_at":"2025-04-17T21:21:35.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T17:57:45.605Z","etag":null,"topics":["git","github","python","unix","version-control"],"latest_commit_sha":null,"homepage":"","language":"Python","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/kareem-ghazi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2025-04-12T19:31:43.000Z","updated_at":"2025-04-17T21:21:39.000Z","dependencies_parsed_at":"2025-04-12T20:41:36.136Z","dependency_job_id":null,"html_url":"https://github.com/kareem-ghazi/kgit","commit_stats":null,"previous_names":["kareem-ghazi/kgit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kareem-ghazi/kgit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fkgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fkgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fkgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fkgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kareem-ghazi","download_url":"https://codeload.github.com/kareem-ghazi/kgit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fkgit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32505108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["git","github","python","unix","version-control"],"created_at":"2025-04-19T14:30:51.865Z","updated_at":"2026-05-01T16:35:43.413Z","avatar_url":"https://github.com/kareem-ghazi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"kgit-logo.png\" alt=\"Sawarly\" width=\"40%\" style=\"margin: 10px 0;\" /\u003e\n  \u003cbr\u003e\u003cbr\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\" style=\"line-height: 1;\"\u003e\n  \u003ca href=\"https://github.com/kareem-ghazi/kgit\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Latest Release\" src=\"https://img.shields.io/badge/Latest%20Release-1.0-brightgreen\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://opensource.org/license/mit\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-red\" /\u003e\n  \u003c/a\u003e\n    \u003ca href=\"https://python.org/\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Python\" src=\"https://img.shields.io/badge/Python-3.10%2B-blue?logo=python\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.microsoft.com/windows\" target=\"_blank\" style=\"margin: 2px;\"\u003e\n    \u003cimg alt=\"Platform\" src=\"https://img.shields.io/badge/Platform-Linux-black?logo=windows\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Introduction\n\n**kgit** is a minimal Git implementation written from scratch in Python, based on the [wyag](https://wyag.thb.lt/) project. This repository reimplements the core features of the [Git version control system](https://git-scm.com/) from the ground up.\n\nThe goal is to demonstrate that, despite its reputation for complexity, the core of Git is simple and elegant.\n\n## What is Implemented?\n\nkgit implements the following core Git commands, compatible with real Git repositories:\n\n- `add`\n- `cat-file`\n- `check-ignore`\n- `checkout`\n- `commit`\n- `hash-object`\n- `init`\n- `log`\n- `ls-files`\n- `ls-tree`\n- `rev-parse`\n- `rm`\n- `show-ref`\n- `status`\n- `tag`\n\nEach command is a simplified version of its Git counterpart, focusing on clarity and core functionality.\n\n## Getting Started\n\n1. **Clone this repository:**\n   ```bash\n   git clone https://github.com/kareem-ghazi/kgit\n   cd kgit\n   ```\n\n2. **Run kgit commands:**\n   ```bash\n   python3 src/kgit \u003ccommand\u003e [options]\n   ```\n\n3. **Explore the code:**  \n   The main logic is in `src/kgit/libkgit.py`. Each command is implemented in a clear, readable way.\n\n## License\n\nThis project is released under the MIT License. See [LICENSE.txt](LICENSE.txt) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareem-ghazi%2Fkgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkareem-ghazi%2Fkgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareem-ghazi%2Fkgit/lists"}