Skip to content

marour13/shortener_URL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener - marour13

Description

This is a simple web application built with Streamlit that allows users to shorten URLs using the TinyURL API. It provides a user-friendly interface to input a URL, validate it, and generate a shortened version. The app also handles errors gracefully to ensure a smooth user experience.

Features

· User-friendly interface

· URL validation before shortening

· Shorten URLs using TinyURL

· Error handling for invalid URLs

Requirements

· To run this application, you need to have Python installed along with the following dependencies:

pip install streamlit pyshorteners validators

How to Run

  1. Clone this repository or download the script.

  2. Install the required dependencies using the command above.

  3. Run the Streamlit app:

    streamlit run shortener_URL.py

  4. Open the provided local URL in your browser.

Usage

  1. Enter a valid URL in the input field.

  2. Click the "Generate Shortened URL" button.

  3. Copy and use the shortened URL displayed.

Notes

· Ensure you have an active internet connection as the app relies on TinyURL's API.

· The application validates URLs before shortening them to prevent errors.

Author

marour13

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages