This project is a simple URL shortener. It allows users to input a long URL and get a shortened version that is easier to share. Made using Database Google Sheets Backend Flask I just wanted to understand how flask worked and if its really plausible to use Google sheets as Database.
- Shorten long URLs
- Copy short URLs to clipboard
- View and manage all your short URLs
- Clone the repository:
https://github.com/Underemployed/URL-Shortner.git
- Navigate into the project directory:
cd url-shortener
- Install the dependencies:
pip install -r requirements.txt
- Create a SpreadSheet copy code from Code.gs to appscript
- Deploy the AppScript copy link and copy the deployment URL.
- Open the
secrets.py
file in the project directory. - Add the deployment URL to the
secrets.py
file as follows:Replaceweb_app_url = 'your_deployment_url'
your_deployment_url
with the actual deployment URL you copied in step 5.
- Enter your long URL in the input field.
- Click on the "Shorten" button.
- Your short URL will be displayed. You can copy it using the "Copy" button.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.