A simple URL shortener app using Python AWS Chalice, AWS Lambda and AWS Dynamodb.

Overview

url-shortener-chalice

A simple URL shortener app using AWS Chalice.

N|Solid

Please make sure you configure your AWS credentials using AWS CLI before starting with deploying things onto AWS.

aws configure

Dependencies are included in the file:

requirements.txt

Do note the below chalice scheduler is configured to clean up the dynamo-db table entries every 24 hours. alt text

Deployment steps:

aws cloudformation deploy --template-file .chalice\dynamodb_cf_template.yaml --stack-name "url-shortner-stack"
chalice deploy

Testing steps screenshots:

alt text alt text alt text

Teardown steps:

chalice delete
aws cloudformation delete-stack --stack-name "url-shortner-stack"
You might also like...
A tool to manage the base URL of the Python package index.

chpip A tool to manage the base URL of the Python package index. Installation $ pip install chpip Usage Set pip index URL Set the base URL of the Pyth

🌐 URL parsing and manipulation made easy.

furl is a small Python library that makes parsing and manipulating URLs easy. Python's standard urllib and urlparse modules provide a number of URL re

This is a no-bullshit file hosting and URL shortening service that also runs 0x0.st. Use with uWSGI.

This is a no-bullshit file hosting and URL shortening service that also runs 0x0.st. Use with uWSGI.

Have you ever wondered: Where does this link go? The REDLI Tool follows the path of the URL.
Have you ever wondered: Where does this link go? The REDLI Tool follows the path of the URL.

Have you ever wondered: Where does this link go? The REDLI Tool follows the path of the URL. It allows you to see the complete path a redirected URL goes through. It will show you the full redirection path of URLs, shortened links, or tiny URLs.

A URL builder for genius :D

genius-url A URL builder for genius :D Usage from gurl import genius_url

declutters url lists for crawling/pentesting
declutters url lists for crawling/pentesting

uro Using a URL list for security testing can be painful as there are a lot of URLs that have uninteresting/duplicate content; uro aims to solve that.

find all the URL of a site with a specific Regex
find all the URL of a site with a specific Regex

href this program will find all the link with a spesfic Regex pattern from a site. what it will do in any site there are a lots of url that may you ne

Use this module to detect if a URL is on discord's phishing list.

PhishDetector This module was made so you can check a URL and see if it's in discord's official list of phishing and suspicious URLs. Installation pip

A url shortner written in Flask.
A url shortner written in Flask.

url-shortener-elitmus This is a simple flask app which takes an URL and shortens it. This shortened verion of the URL redirects to the user to the lon

Comments
  • Suggest to loosen the dependency on chalice

    Suggest to loosen the dependency on chalice

    Hi, your project url-shortener-chalice(commit id: cd0e4d51a642920f71ed9184d2f7bcdd3f983e7b) requires "chalice==1.23.0" in its dependency. After analyzing the source code, we found that the following versions of chalice can also be suitable, i.e., chalice 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.22.0, 1.22.1, 1.22.2, 1.22.3, 1.22.4, 1.24.0, 1.24.1, 1.24.2, 1.25.0, since all functions that you directly (6 APIs: chalice.app.Chalice.init, chalice.app.DecoratorAPI.route, chalice.app.Rate.init, chalice.app.NotFoundError.init, chalice.app.DecoratorAPI.schedule, chalice.app.Response.init) or indirectly (propagate to 14 chalice's internal APIs and 4 outsider APIs) used from the package have not been changed in these versions, thus not affecting your usage.

    Therefore, we believe that it is quite safe to loose your dependency on chalice from "chalice==1.23.0" to "chalice>=1.21.1,<=1.25.0". This will improve the applicability of url-shortener-chalice and reduce the possibility of any further dependency conflict with other projects.

    May I pull a request to further loosen the dependency on chalice?

    By the way, could you please tell us whether such an automatic tool for dependency analysis may be potentially helpful for maintaining dependencies easier during your development?

    opened by Agnes-U 0
Owner
Ranadeep Ghosh
.
Ranadeep Ghosh
A simple URL shortener built with Flask

A simple URL shortener built with Flask and MongoDB.

Mike Lowe 2 Feb 5, 2022
🔗 FusiShort is a URL shortener built with Python, Redis, Docker and Kubernetes

This is a playground application created with goal of applying full cycle software development using popular technologies like Python, Redis, Docker and Kubernetes.

Lucas Fusinato Zanis 7 Nov 10, 2022
python3 flask based python-url-shortener microservice.

python-url-shortener This repository is for managing all public/private entity specific api endpoints for an organisation. In this case we have entity

Asutosh Parida 1 Oct 18, 2021
Qysqa - URL shortener website with python

Qysqa - shorten your URL. ~ A simple URL-shortening website. how do you pronounc

Dastan Ozgeldi 0 Nov 18, 2022
Customizable URL shortener written in Python3 for sniffing and spoofing

Customizable URL shortener written in Python3 for sniffing and spoofing

null 3 Nov 22, 2022
a url shortener project from semicolonworld

Url Shortener With Django Written by Semicolon World

null 3 Aug 24, 2021
A simple, immutable URL class with a clean API for interrogation and manipulation.

purl - A simple Python URL class A simple, immutable URL class with a clean API for interrogation and manipulation. Supports Pythons 2.7, 3.3, 3.4, 3.

David Winterbottom 286 Jan 2, 2023
Ukiyo - A simple, minimalist and efficient discord vanity URL sniper

Ukiyo - a simple, minimalist and efficient discord vanity URL sniper. Ukiyo is easy to use, has a very visually pleasing interface, and has great spee

null 13 Apr 14, 2022
A python code for url redirect check

A python code for url redirect check

Fayas Noushad 1 Oct 24, 2021
A url redirect status check module for python

A url redirect status check module for python

Fayas Noushad 2 Oct 24, 2021