Make short urls with github issues. Learn more.
Paste a link into the input field and click on the button. You will get a short url. You can use it to redirect to the original link.
Because we are using my instance, wich is hosted on github pages, the link will be like this:
https://rooyca.github.io/short/9If you want to use your own instance, you can fork this repo and follow the instructions.
You can also run your own instance of this app. For that, you'll need:
- Create a github access token with the
public_reposcope. Learn more. - Rename the
.env.examplefile to.envand paste your token there. If you are using your own instance, you can also change theGITHUB_REPOSITORY_OWNER,GITHUB_REPOSITORY_NAME,URL_SHORTENERvariables. - Run the app. (I recommend using a virtual enviroment. Learn more.)
pip install -r requirements.txt
python -m uvicorn github.main:app --reload