zaidmukaddam / ctrlaltfun

ctrl+alt+fun, find a new way to shorten urls

Home Page:https://ctrlalt.fun

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

ctrl + alt + fun

Find a new way to shorten urls


API

To use the api you can send a POST request to /api/short, in the body of the request you can have two fields: site*, and emoji. "site" will contain a link to the place you want to redirect to, i.e. "spotify.com", please include any http protocols in the API only as it is the only place where http protocols are supported. "emoji" will be a boolean value for if you want the redirect url (returned by the service) as a random string of numbers and letters or a random string of pre-approved emojis.

Emojis

If you want to add emojis just go to /lib/constants.ts and add some new emojis and make a pull request! :)

Footnotes

"*" meaning required.

About

ctrl+alt+fun, find a new way to shorten urls

https://ctrlalt.fun


Languages

Language:TypeScript 95.8%Language:JavaScript 4.2%