An ill-advised shortener using AWS lambda for both app logic *and* data storage.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
functions
.apexignore
.gitignore
README.md
project.json
runner.py

README.md

Lamda-Only Url Shortener

In a massive abuse of AWS Lambda, this project is a fully-functional URL shortener built using only lambda - no data store like redis or dynamodb.

To be clear, this is a Bad Idea®. There are many better ways to do this. You should not use this code for stuff. This is very much a "can it be done?" kinda thing.

A full writeup is on kevinkuchta.com

Running

This repo is set up as an Apex project - use that to deploy and test this. There's a lot of configuration around API Gateway that's not really covered in this repo that you'd need to get everything working, though. A live example is or should be up at kmk.party.