5 releases (3 stable)

Uses new Rust 2024

1.0.2 Sep 7, 2025
1.0.1 Jul 6, 2025
0.2.1 Jul 3, 2025
0.1.5 May 13, 2025

#424 in Command line utilities

Download history

702 downloads per month

MIT license

24KB
358 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.

Crates.io

Buy Me a Coffee

🚀 Installation

Using yay

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 --description "Optional description"
linker-cli list
linker-cli search <TEXT>
linker-cli open <ID or TITLE>
linker-cli edit <ID or TITLE>
linker-cli remove <ID>

📦 Examples

linker-cli add "Rust Docs" https://doc.rust-lang.org --tags rust,docs --description "Official Rust documentation"
linker-cli list

Search by text (title, URL, or tags)

linker-cli search rust
linker-cli open 1
linker-cli open rust
linker-cli remove 1
linker-cli edit 1

📂 Storage

Links are stored locally in:

~/.linker/links.json

Simple JSON format. No external database required.


🛠 Key Dependencies

  • clap: CLI argument parser
  • serde: JSON serialization
  • colored: color output
  • open: open URLs in the browser
  • chrono: date and time handling
  • dirs: cross-platform user directories

📜 License

MIT © Christian Regueiro

Dependencies

~5–8.5MB
~145K SLoC