Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

shrt-0.3.0-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page