{name} File Upload and URL Shortener

Welcome to the {name} file upload and URL shortening service.
This service allows you to easily upload files or shorten URLs for quick access.
Files are stored for {expiration_days} days, and URLs are shortened for convenient sharing.

Usage:

Upload a file:
curl -F file=@yourfile.ext {base_url}/

Shorten a URL:
curl -d "url=https://example.com" {base_url}/shorten

Details:

Files uploaded to this service are stored for {expiration_days} days or until they are automatically cleaned up.
The maximum file size is {max_file_size}MB.
URLs shortened with this service will redirect to the original URL for the same period.

Examples:

File upload:
curl -F file=@document.pdf {base_url}/
Response:
{base_url}/abcdef

URL shortening:
curl -d "url=https://example.com" {base_url}/shorten
Response:
{base_url}/ghijkl

Disclaimer:

This service is provided as-is with no guarantees.
Uploaded files and shortened URLs are not private and can be accessed by anyone with the link.
Use at your own risk.