6 releases

Uses new Rust 2024

new 0.1.5 May 13, 2025
0.1.4 May 12, 2025

#1896 in Command line utilities

Download history

213 downloads per month

MIT license

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.

Crates.io


🚀 Installation

Using yay

yay -S linker-cli
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

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

Search by text (title, URL, or tags)

linker-cli search rust
linker-cli open 1
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 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–17MB
~154K SLoC