A fun and easy command-line tool for shortening URLs using TinyURL.
Project description
๐ short-url-cli
Make your links short and sweet! ๐ฌโจ A fun and easy command-line tool for shrinking (and unshrinking!) your URLs. Because who has time for long links? ๐
๐ Installation
Ready to get started? Just run this in your terminal (Python 3.9+ required):
pip install short-url-cli
Thatโs it! Youโre all set. ๐
๐น๏ธ Usage
After installation, you'll have a brand new superpower: the short-url-cli command! ๐ฆธ
โ๏ธ Shorten a single URL
short-url-cli https://example.com
Sample output:
Short URL: http://tinyurl.com/abc123
๐ Shorten multiple URLs at once
Want to shorten multiple URLs? Use the --multi flag with comma-separated URLs:
short-url-cli --multi https://example.com,https://google.com,https://github.com
Sample output:
Shortened URLs
โโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโ
โ Source URL โ Short URL โ Warning โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ https://example.com โ http://tinyurl.com/abc123 โ โ
โ https://google.com โ http://tinyurl.com/def456 โ โ
โ https://github.com โ http://tinyurl.com/ghi789 โ โ
โโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโ
๐ Important notes
- URLs must include a scheme (http:// or https://)
- For multiple URLs, use commas only (no spaces!)
- Uses TinyURL service for shortening
- Invalid URLs will be marked in the output table
๐ค Why use short-url-cli?
- Tired of copy-pasting long, ugly links? ๐ฉ
- Want to look cool in your group chat? ๐
- Need to save precious characters on social media? ๐ฆ
short-url-cli has you covered! ๐ฏ
๐งโ๐ป Requirements
- Python 3.9 or higher
๐ License
MIT License. Go wild, but donโt blame us if your links get too short to find! ๐
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file short_url_cli-0.1.0.tar.gz.
File metadata
- Download URL: short_url_cli-0.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26ac70dd42ec1327db3dc1852f890ac4605213faad5fb15a73d351991fb04a1f
|
|
| MD5 |
42677513f36c1ec5846a3b6c43611a05
|
|
| BLAKE2b-256 |
010690df6ee2fa3e000282a4d5991cca27b4f3c2cb3313f6e5458002a0c7c42f
|
File details
Details for the file short_url_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: short_url_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ceaaed18fc129b0c3e15a57141524def72f79efff9862527d4a15c4706bff4d
|
|
| MD5 |
fdfc1e7ec130b7a25856a7c3bdabae3b
|
|
| BLAKE2b-256 |
d9113277ed2b5f51cfdfcf3c7e784700d8dd9f1a860fd65cf7ff25d83594863b
|