Skip to content

A simple URL shortener app built with Python and Streamlit. Users can input any URL and get a shortened URL using the TinyURL service provided by the PyShorteners library.

Notifications You must be signed in to change notification settings

deepankarvarma/Url-Shortner-using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Streamlit URL Shortener App

This is a simple URL shortener app built with Python and Streamlit. The app allows users to input any URL and get a shortened URL using the TinyURL service provided by the PyShorteners library.

Installation

To run this app on your local machine, you need to have Python 3 and pip installed. Then, follow these steps:

  1. Clone this repository: git clone https://github.com/your-username/your-repo.git
  2. Navigate to the project directory: cd your-repo
  3. Install the required libraries: pip install -r requirements.txt
  4. Run the app: streamlit run app.py

Usage

After running the app, you should see a user interface with a text input and a button. To shorten a URL, simply paste the URL into the text input and click the button. The app will use the TinyURL service to generate a shortened URL and display it on the screen.
If the input URL is invalid or there is an error while shortening the URL, the app will display an error message.

Deployment

You can easily deploy this app on a web server or a cloud platform like Heroku or Streamlit Sharing. See the Streamlit documentation for more information on deployment.

Streamlit Link : https://deepankarvarma-url-shortner-using-python-app-87bfzi.streamlit.app/

Acknowledgements

This app uses the following open-source libraries:

  1. Streamlit
  2. PyShorteners

About

A simple URL shortener app built with Python and Streamlit. Users can input any URL and get a shortened URL using the TinyURL service provided by the PyShorteners library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages