{"id":44765142,"url":"https://github.com/nikolareljin/git-lantern","last_synced_at":"2026-02-16T03:39:15.673Z","repository":{"id":335433587,"uuid":"1145712684","full_name":"nikolareljin/git-lantern","owner":"nikolareljin","description":"git-lantern is a lightweight CLI that maps your local and GitHub repositories, showing branch status, ahead/behind counts, visibility, and release packaging—built to   be your universal repo dashboard.","archived":false,"fork":false,"pushed_at":"2026-02-12T22:36:47.000Z","size":1309,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-13T07:33:52.258Z","etag":null,"topics":["admin-tools","automation","bash","cli","debian","devtools","git","git-tools","github","homebrew","ppa","python","release","repository-management","rpm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nikolareljin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-30T05:48:25.000Z","updated_at":"2026-02-04T20:10:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nikolareljin/git-lantern","commit_stats":null,"previous_names":["nikolareljin/git-lantern"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nikolareljin/git-lantern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolareljin%2Fgit-lantern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolareljin%2Fgit-lantern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolareljin%2Fgit-lantern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolareljin%2Fgit-lantern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nikolareljin","download_url":"https://codeload.github.com/nikolareljin/git-lantern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nikolareljin%2Fgit-lantern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29499615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T02:07:14.481Z","status":"online","status_checked_at":"2026-02-16T02:03:22.852Z","response_time":115,"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":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":["admin-tools","automation","bash","cli","debian","devtools","git","git-tools","github","homebrew","ppa","python","release","repository-management","rpm"],"created_at":"2026-02-16T03:39:14.805Z","updated_at":"2026-02-16T03:39:15.662Z","avatar_url":"https://github.com/nikolareljin.png","language":"Python","readme":"# git-lantern\n\n\u003cimg src=\"./git-lantern.png\" /\u003e\n\nLocal and GitHub repository visibility toolkit. The CLI is `lantern`.\n\n## Quick start\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate\npip install -e .\nlantern --help\n```\n\n## Common usage\n\nPrimary workflows:\n- Local repo status and sync: `docs/use-cases.md#local-repo-status-and-sync`\n- GitHub/GitLab/Bitbucket repos: `docs/use-cases.md#github--gitlab--bitbucket-repos-forge`\n- Gists and snippets: `docs/use-cases.md#gists-and-snippets`\n- Server config: `docs/use-cases.md#server-config-github-gitlab-bitbucket`\n\nCommands (jump to detailed guides):\n- `lantern repos` -\u003e `docs/use-cases.md#lantern-repos`\n- `lantern scan` -\u003e `docs/use-cases.md#lantern-scan`\n- `lantern status` -\u003e `docs/use-cases.md#lantern-status`\n- `lantern table` -\u003e `docs/use-cases.md#lantern-table`\n- `lantern find` -\u003e `docs/use-cases.md#lantern-find`\n- `lantern duplicates` -\u003e `docs/use-cases.md#lantern-duplicates`\n- `lantern sync` -\u003e `docs/use-cases.md#lantern-sync`\n- `lantern report` -\u003e `docs/use-cases.md#lantern-report`\n- `lantern forge list` -\u003e `docs/use-cases.md#list-repos-from-a-server`\n- `lantern forge clone` -\u003e `docs/use-cases.md#clone-missing-repos-to-a-workspace`\n- `lantern forge gists ...` -\u003e `docs/use-cases.md#list-gists-github`\n- `lantern forge snippets ...` -\u003e `docs/use-cases.md#list-snippets-githubgitlabbitbucket`\n- `lantern config export/import/path` -\u003e `docs/use-cases.md#server-config-github-gitlab-bitbucket`\n\nQuick examples:\n```bash\nlantern status --root ~/workspace --fetch\nlantern sync --root ~/workspace --pull --only-clean --only-upstream\nlantern forge list --server github.com --output data/github.json\nlantern forge clone --server github.com --input data/github.json --root ~/workspace\nlantern forge gists list --server github.com --output data/gists.json\n```\n\n## Environment\n\nCreate `.env` from `.env.example` if you want API access. For multi-server setups (GitHub/GitLab/Bitbucket), use `~/.config/git-lantern/config.json` or `~/.git-lantern/config.json`.\n\nExport/import server config:\n```bash\nlantern config export --output git-lantern-servers.json\nlantern config import --input git-lantern-servers.json\nlantern config path\n```\n\n## Shell completion\n\nLantern ships bash completion via argcomplete.\n\n```bash\npip install -e .\nsource completions/lantern.bash\n```\n\n## Development\n\nScripts:\n```bash\n./scripts/build.sh\n./install\n./scripts/test.sh\n./scripts/lint.sh\n./scripts/local_ci.sh\n./scripts/install_git_hooks.sh\n./scripts/bump_version.sh patch\n./scripts/update_submodules.sh\n./scripts/generate_man.sh\n./scripts/packaging_init.sh\n./scripts/release.sh\n./scripts/release.sh --no-tag\n./scripts/release.sh --tag-prefix v\n```\n\nMakefile shortcuts:\n\n```bash\nmake build\nmake test\nmake lint\nmake ci\nmake bump\nmake submodules\nmake man\nmake packaging\nmake release\n```\n\nLocal testing:\n\n```bash\nmake lint\nmake test\nmake ci\n```\n\nThe scripts automatically detect a suitable `python3` (3.8+) and use a local virtualenv at `./.venv`. You can optionally set `PYTHON_BIN` to point to a specific Python 3.8+ interpreter, or set `VENV_DIR` to change the virtualenv location before running the scripts. If virtualenv creation fails, install `python3-venv` (Debian/Ubuntu) or the equivalent package for your OS.\n\n## Git hooks\n\nInstall the pre-commit hook to run local CI before commits:\n\n```bash\n./scripts/install_git_hooks.sh\n```\n\nSkip or speed up:\n\n```bash\nSKIP_LANTERN_PRECOMMIT=1 git commit -m \"...\"\nLANTERN_PRECOMMIT_FAST=1 git commit -m \"...\"\n```\n\n## CI workflows\n\n- `.github/workflows/ci.yml` uses ci-helpers Python CI.\n- Packaging workflows (Homebrew, deb, rpm, PPA) are wired to ci-helpers presets.\n- `.github/workflows/release.yml` builds dist tarballs and publishes a GitHub release.\n- `release.yml` supports tags like `1.2.3` or `v1.2.3` and can publish Homebrew when enabled.\n- `release.yml` auto-publishes Homebrew on tag pushes and attaches deb/rpm artifacts.\n- `.github/workflows/auto-tag.yml` tags release merges from `release/X.Y.Z` or `release/X.Y.Z-rcN` branches.\n- Release notes are generated via ci-helpers and updated on every publish; man pages are generated during release builds.\n- Update the Homebrew `homepage` and tap/release inputs before publishing.\n- PPA publishing requires `PPA_GPG_PRIVATE_KEY`, `PPA_GPG_PASSPHRASE`, and `PPA_LAUNCHPAD_SSH_KEY` secrets.\n\n## Command reference\n\nSee `docs/commands.md` for the full command reference and `docs/use-cases.md` for detailed workflows.\n\n## Notes\n\n- `--fetch` will run `git fetch --prune` on each repo to refresh remote refs.\n- Ahead/behind and main-branch distance use local remote-tracking refs.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolareljin%2Fgit-lantern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolareljin%2Fgit-lantern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolareljin%2Fgit-lantern/lists"}