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

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.1.9.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

shrt-0.1.9-py3-none-any.whl (8.5 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