xditya / WebShortener

Lightweight Link Shortener.

Home Page:https://short.xditya.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WebShortener

A simple web shortener made with oak and mongo.

WebShortener - A simple lightweight link shortener using MongoDB. | Product Hunt

Live Version

You can find a live version of this project here.

API

The API endpoint is /shorten, it takes url as a query parameter and returns the shortened URL. Example usage can be found here.

Deploying

You can easily deploy this project to deno deploy.

  1. Fork the repository (and give it a star too!)
  2. Head on to deno deploy and login with your GitHub account.
  3. Select "WebShortener" from the list of repositories.
  4. Choose "main" as the branch, and "api/main.ts" as the entrypoint.
  5. Head on to the settings of your app and add your MONGO_URL
  6. Vist the deployed app and enjoy!

License

This project is licensed under the MIT License.

Credits

Made with ❤️ by Aditya.

About

Lightweight Link Shortener.

https://short.xditya.me/

License:MIT License


Languages

Language:CSS 32.3%Language:TypeScript 31.7%Language:JavaScript 21.8%Language:HTML 14.2%