tyupy

Crates.iotyupy
lib.rstyupy
version1.1.0
sourcesrc
created_at2023-11-16 02:44:19.070788
updated_at2023-11-20 09:40:06.129448
descriptionGet URL(s) title in any format
homepage
repositoryhttps://github.com/azzamsa/tyupy
max_upload_size
id1037257
size84,864
Azzam S.A (azzamsa)

documentation

README

Tyupy

Get URL(s) title in any format.

Build status Sponsor me


Features

  • Get URL(s) title in any format*.
    • Markdown
    • Org-mode
  • Fancy error message and colorful output.
  • Cross-platform and single binary.

*Please open a PR if your favorite format doesn't exist

Usage

🦄 tyupy --help

🦄 tyupy https://github.com/azzamsa/tin/ # Get URL title in markdown format (default).
[GitHub - azzamsa/tin: Rust GraphQL Template 🏗](https://github.com/azzamsa/tin/)

🦄 tyupy https://github.com/azzamsa/tin/ --max-length 16 # Limit title length
[GitHub - azzamsa...](https://github.com/azzamsa/tin)

🦄 tyupy https://github.com/azzamsa/tin/ --max-length 16 --ellipsis "***" # Use custom ellipsis
[GitHub - azzamsa***](https://github.com/azzamsa/tin)

🦄 tyupy https://github.com/azzamsa/tin/ --format org # Use `-f o` alias for less typing
[[https://github.com/azzamsa/tin/][GitHub - azzamsa/tin: Rust GraphQL Template 🏗]]

🦄 tyupy # reads from stdin
https://github.com/azzamsa/zman
[GitHub - azzamsa/zman: A time progress bar utilities](https://github.com/azzamsa/zman)
https://github.com/azzamsa/tin/
https://github.com/azzamsa/tun
[GitHub - azzamsa/tin: Rust GraphQL Template 🏗](https://github.com/azzamsa/tin/)
[GitHub - azzamsa/tun: Rust REST API Boilerplate 🏗](https://github.com/azzamsa/tun)

Installation

From binaries

The release page includes pre-compiled binaries for GNU/Linux, macOS, and Windows.

From source

Using cargo-binstall

$ cargo binstall tyupy

Using Rust's package manager cargo:

$ cargo install tyupy

Development

git clone https://github.com/azzamsa/tyupy

# Build
cd tyupy
cargo build

# Run unit tests and integration tests
cargo test

# Install
cargo install --path .

Contributing

To learn more read the development guide

Origin of the name

The term "tyupy" is a playful variation inspired by Tupai, which translates to "Squirrel" in English. The choice is influenced by the URL-like sound associated with the word "Squirrel".

Credits

Commit count: 15

cargo fmt