6 releases
Uses new Rust 2024
new 0.1.5 | May 13, 2025 |
---|---|
0.1.4 | May 12, 2025 |
#1896 in Command line utilities
213 downloads per month
12KB
218 lines
🔗 linker
A terminal-based personal link manager written in Rust. Save links with tags, search them easily, and open them directly from the command line.
🚀 Installation
Using yay
yay -S linker-cli
Using Cargo (recommended)
cargo install linker-cli
Make sure
~/.cargo/bin
is in your$PATH
.
Manual Build
git clone https://github.com/ChristianRegueiro/linker.git
cd linker
cargo build --release
./target/release/linker
🧰 Available Commands
linker-cli add <TITLE> <URL> --tags tag1,tag2
linker-cli list
linker-cli search <TEXT>
linker-cli open <ID>
linker-cli remove <ID>
📦 Examples
Add a link
linker-cli add "Rust Docs" https://doc.rust-lang.org --tags rust,docs
List all saved links
linker-cli list
Search by text (title, URL, or tags)
linker-cli search rust
Open a link in the browser
linker-cli open 1
Remove a link
linker-cli remove 1
📂 Storage
Links are stored locally in:
~/.linker/links.json
Simple JSON format. No external database required.
🛠 Key Dependencies
clap
: CLI argument parserserde
: JSON serializationcolored
: color outputopen
: open URLs in the browserchrono
: date and time handlingdirs
: cross-platform user directories
📜 License
MIT © Christian Regueiro
Dependencies
~5–17MB
~154K SLoC