{"id":29539660,"url":"https://github.com/lucianofedericopereira/lgit","last_synced_at":"2026-05-08T04:07:20.292Z","repository":{"id":303009401,"uuid":"1014125095","full_name":"lucianofedericopereira/lgit","owner":"lucianofedericopereira","description":"lgit – Local Git: A Simple Git CLI Wrapper Script with SQLite Sync and Style.","archived":false,"fork":false,"pushed_at":"2025-07-05T07:24:02.000Z","size":162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-19T04:40:37.608Z","etag":null,"topics":["cli","cli-tool","developer-tools","git","git-helper","git-remote-sqlite","git-wrapper","history-tracking","lightweight-git","local-version-control","nerd-font","restore-commit","scripting","self-hosted","shell-script","sqlite","sqlite-integration","terminal-tools","unix-utilities"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/lucianofedericopereira.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}},"created_at":"2025-07-05T05:20:41.000Z","updated_at":"2025-07-05T07:24:05.000Z","dependencies_parsed_at":"2025-07-05T06:41:34.038Z","dependency_job_id":null,"html_url":"https://github.com/lucianofedericopereira/lgit","commit_stats":null,"previous_names":["lucianofedericopereira/lgit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucianofedericopereira/lgit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianofedericopereira%2Flgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianofedericopereira%2Flgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianofedericopereira%2Flgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianofedericopereira%2Flgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucianofedericopereira","download_url":"https://codeload.github.com/lucianofedericopereira/lgit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianofedericopereira%2Flgit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32766149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"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-tool","developer-tools","git","git-helper","git-remote-sqlite","git-wrapper","history-tracking","lightweight-git","local-version-control","nerd-font","restore-commit","scripting","self-hosted","shell-script","sqlite","sqlite-integration","terminal-tools","unix-utilities"],"created_at":"2025-07-17T07:08:37.976Z","updated_at":"2026-05-08T04:07:20.270Z","avatar_url":"https://github.com/lucianofedericopereira.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"🧩 lgit – Local Git: A Simple Git CLI Wrapper Script with SQLite Sync and Style - Luciano Federico Pereira\n\nlgit is a sleek, nerd font-enhanced shell script that wraps common Git workflows with SQLite-powered push/pull functionality. \n\n\u003ccenter\u003e\n\u003cimg src=\"README.png\" alt=\"Command output screenshot\"\u003e\n\u003c/center\u003e\n\n\u003ccenter\u003e\n\u003cimg src=\"README2.png\" alt=\"Command log screenshot\"\u003e\n\u003c/center\u003e\n\n\nDesigned for terminal lovers, it offers a curated set of subcommands (init, add, commit, status, log, restore, reset, rebuild) to streamline Git operations \nin local directories—plus it syncs changes via a Git remote powered by a local SQLite .db file.\n\n    📦 Minimal setup: lgit init bootstraps a Git repo with SQLite integration\n\n    📝 Styled output: colorful headers, Nerd Font icons, and box-drawing eye candy\n\n    💾 Syncs commits to/from git.db using git-remote-sqlite protocol\n\n    🔄 Recover state with rebuild, restore, and reset using friendly prompts\n\n    ✨ Built-in help: lgit -h shows all commands and usage examples\n\nUse it as a personal Git frontend or as part of a reproducible local history workflow. Fast, functional, and terminal-native.\n\n\n🔌 Powered by git-remote-sqlite\n\nlgit uses git-remote-sqlite, a Git remote helper that enables pushing and pulling Git data to and from a local .db file using the sqlite:// protocol.\n\nThis tool makes it possible for lgit to version your project history into a standalone SQLite file—ideal for offline backups, embedded workflows, or local syncing.\n\n    ℹ️ Make sure git-remote-sqlite is installed and on your $PATH. You can get it from \n\nhttps://github.com/chrislloyd/git-remote-sqlite\n\n## 🧰 Usage:\n\n  lgit \u003ccommand\u003e [options]\n\n📚 Available commands:\n\n**init**                   Initialize a repo, add all files, and push to SQLite\u003cbr\u003e\n\n**add** [file...]          Add file(s) to staging for the next commit\u003cbr\u003e\n\n**commit** [message]       Commit changes with a message (prompted) and push\u003cbr\u003e\n\n**status**                 Show the current Git working tree status\u003cbr\u003e\n\n**log**                    Show recent commit history (oneline, graph view)\u003cbr\u003e\n\n**restore** [Hash] [file]  Restore a file from full tree (with prompt)\u003cbr\u003e\n\n**reset**   [Hash]         Hard reset HEAD and directory to a commit\u003cbr\u003e\n\n**rebuild**                Rebuild .git from SQLite snapshot (with confirmation)\u003cbr\u003e\n\n**help, -h, --help**       Display this help message\u003cbr\u003e\n\n\u003cbr\u003e\n💡 Examples:\u003cbr\u003e\n  lgit init\u003cbr\u003e\n  lgit add main.py utils/ config.yml\u003cbr\u003e\n  lgit commit \"My commit comment\"\u003cbr\u003e\n  lgit status\u003cbr\u003e\n  lgit log\u003cbr\u003e\n  lgit restore 1234abcd\u003cbr\u003e\n  lgit restore 1234abcd main.py\u003cbr\u003e\n  lgit reset fedcba98\u003cbr\u003e\n  lgit rebuild\u003cbr\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianofedericopereira%2Flgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucianofedericopereira%2Flgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianofedericopereira%2Flgit/lists"}