This is a basic implementation of an URL shortener that deletes shortened URLs after X minutes or one redirection. Version 2.0 also allows text upload.
URL shortening @ shr.gg
Text uploading @ shr.gg/text
- Clone the repo
git clone https://github.com/mschudt/UrlShortener.git
- Install NPM packages
npm install
- Start the server
npm start http://localhost 3001
I suggest getting a free HTTPS certificate from Let's Encrypt and setting up an NGINX Reverse Proxy to handle TLS and redirect port 80 and 443 to this applications port (3001 by default).