- "What was that repo called again?"
- Search through GitHub stars...
- Copy URL...
git clone https://github.com/long-org-name/complex-repo-name.git
Itโs friction. It breaks your flow.
๐ The Solution: gmk (Git Mark)
I built gmk to solve this exact problem. It's a blazing fast, interactive CLI tool written in Rust that lets you bookmark repositories once and clone them anywhere, instantly.
gmk demo
โจ Features
-
๐ Bookmark & Forget: Just run
gmk set <url>. It automatically parses the owner and repo name.
-
๐ Fuzzy Finder: Powered by skim . Type a few characters to find any repo instantly.
-
๐ฟ Smart Cloning:
- Press
Enter to clone the default branch.
- Press
Ctrl + b to interactively specify a branch (e.g., dev or v2).
-
โก Zero Friction UI: The interface appears inline and clears itself away after use, keeping your terminal clean.
๐ฆ Installation
Homebrew (macOS / Linux)
brew tap kanywst/gmk https://github.com/kanywst/gmk
brew install gmk
Cargo (Rust)
cargo install gmk
๐ฎ How to use
-
Save a repo:
gmk set https://github.com/rust-lang/rust.git
-
Clone it later:
Just type gmk.
gmk
# Fuzzy finder appears... select 'rust' and hit Enter!
๐ ๏ธ Built with Rust 2026
This project was a great playground to explore modern Rust CLI practices:
-
Clap v4 for argument parsing.
-
Skim for the fuzzy finding engine.
๐ค Open Source
I'd love to hear your feedback or see your PRs!
๐ Give it a star on GitHub