{"id":43258556,"url":"https://github.com/ridit-jangra/forge","last_synced_at":"2026-02-01T14:01:03.661Z","repository":{"id":335693845,"uuid":"1146740885","full_name":"ridit-jangra/Forge","owner":"ridit-jangra","description":"Mini git in python.","archived":false,"fork":false,"pushed_at":"2026-01-31T18:40:44.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-01T03:42:31.347Z","etag":null,"topics":["git","git-in-python","mini-git","simple-git"],"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/ridit-jangra.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-01-31T15:52:39.000Z","updated_at":"2026-01-31T18:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ridit-jangra/Forge","commit_stats":null,"previous_names":["ridit-jangra/forge"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ridit-jangra/Forge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridit-jangra%2FForge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridit-jangra%2FForge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridit-jangra%2FForge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridit-jangra%2FForge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ridit-jangra","download_url":"https://codeload.github.com/ridit-jangra/Forge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ridit-jangra%2FForge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28980159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T13:38:33.235Z","status":"ssl_error","status_checked_at":"2026-02-01T13:38:32.912Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["git","git-in-python","mini-git","simple-git"],"created_at":"2026-02-01T14:01:03.054Z","updated_at":"2026-02-01T14:01:03.653Z","avatar_url":"https://github.com/ridit-jangra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forge\n\n**Forge** is a lightweight, Git-like version control system built in Python with a custom remote backend.  \nIt allows you to track files, commit changes, and synchronize repositories with a remote server using a simple CLI.\n\nForge works together with **Vault**, which acts as the remote storage layer where your repositories, commits, and files are stored.\n\n---\n\n## Architecture Overview\n\n- **Forge** → CLI tool you run locally (version control client)\n- **Vault** → Remote server that stores repositories, commits, and file data\n\nWhen you push a repository using Forge, **your entire repo is stored remotely in Vault**.  \nCloning or forking a repo pulls data back from Vault to your local machine.\n\n---\n\n## Features\n\n### Local Version Control\n- Initialize a repository (`init`)\n- Track files individually or all at once (`add`)\n- Remove files from tracking (`remove`)\n- Commit changes with messages (`commit`)\n- Checkout previous commits (`checkout`)\n- List commit history (`list commits`)\n- `.forgeignore` support for ignoring files and folders\n\n### Remote (Vault-powered)\n- User authentication (`register`, `login`, `logout`)\n- Push repositories to the remote Vault server (`push`)\n- Clone repositories stored in Vault (`clone`)\n- Fork repositories into your account (`fork`)\n- List your repositories (`repos`)\n- Delete remote repositories (`delete`)\n\n---\n\n## Installation\n\n### Option 1: Python (Development)\n\nThis option is recommended if you are developing Forge or running it directly from source.\n\n```bash\ngit clone https://github.com/ridit-jangra/Forge\ncd Forge\npip install -r requirements.txt\npython forge.py \u003ccommand\u003e\n```\n\n---\n\n### Option 2: Executable (Recommended)\n\nIf you downloaded the compiled executable:\n\n```bash\nforge.exe \u003ccommand\u003e\n```\n\nNo Python installation or configuration is required.\n\n---\n\n## Vault Configuration\n\n⚠️ **Vault configuration is only required when using Forge via Python (development mode).**\n\nWhen using the **compiled executable**, Vault configuration is **already set internally**, and you do not need to configure anything.\n\n### Python-only Configuration\n\nForge connects to Vault using environment variables.\n\nOptional `.env` file:\n\n```env\nFORGE_SERVER_URL=http://localhost:8000\nFORGE_SESSION=.forge_session\n```\n\nIf these variables are not set, sensible defaults are used.\n\n---\n\n## Usage\n\n### Initialize Repository\n```bash\nforge init\n```\n\n### Track \u0026 Commit\n```bash\nforge add .\nforge commit \"Initial commit\"\n```\n\n### Push to Vault (Remote)\n```bash\nforge push\n```\n\nYour repository, commits, and files are now **stored remotely in Vault**.\n\n---\n\n## Remote Operations\n\n```bash\nforge clone \u003cowner_id\u003e/\u003crepo_name\u003e\nforge fork \u003cowner_id\u003e/\u003crepo_name\u003e\nforge repos\nforge delete\n```\n\n---\n\n## `.forgeignore`\n\nExample:\n\n```text\nnode_modules\n.env\n*.log\ndist\n```\n\n---\n\n## Example Workflow\n\n```bash\nforge init\nforge add .\nforge commit \"Initial commit\"\nforge push\n\nforge clone 12/sample\n```\n\n---\n\n## Limitations\n- Text files only\n- No branches or merges\n- Linear history\n- Early-stage project (breaking changes possible)\n\n---\n\n## License\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridit-jangra%2Fforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fridit-jangra%2Fforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fridit-jangra%2Fforge/lists"}