Shorten URLs
Project description
SHRT - Shortened URL service
An MVP to serve shortened URLs
Usage
Serve using uvicorn by running
uvicorn --host=0.0.0.0 shrt.web:app
Manage URLs from the CLI
# List URLs
shrt url list
# Create a random short path
shrt url add https://x59.us
# Create a custom short path
shrt url add https://x59.co --path x59
# Create a new short path, even if the target exists in the DB
shrt url add https://x59.co --create-new
# Get details for a given short path
shrt url get x59
# Delete a given short path
shrt url delete x59
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
shrt-0.3.0.tar.gz
(6.3 kB
view details)
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
shrt-0.3.0-py3-none-any.whl
(9.6 kB
view details)
File details
Details for the file shrt-0.3.0.tar.gz.
File metadata
- Download URL: shrt-0.3.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.4.109+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21b7883d9b7b4dbbaff4635cddc58c20aefc5e4f2588be3ea77c29e013ab9cc1
|
|
| MD5 |
da122d564774afd3b00cc594657cb29a
|
|
| BLAKE2b-256 |
096197997d799f342bf39420f152a66a4133210e776c5873ed25f1dcf231407e
|
File details
Details for the file shrt-0.3.0-py3-none-any.whl.
File metadata
- Download URL: shrt-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.4.109+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef7eb953c6c85f9a05f692f376155cdd38f8ec5f6d18464a6490ef659153958b
|
|
| MD5 |
8bd53e279490a914e560447809938065
|
|
| BLAKE2b-256 |
0fd0a0b7072c26f8ee2f93c5c1cd7b6c708106829f2bc47b8ef70642b14e7c7d
|