Skip to content
This repository has been archived by the owner on Jan 22, 2023. It is now read-only.

IMSAai/linkry

Repository files navigation

Linkry - Epoch Link Shortener

Linkry is an internal tool for shortening links and reducing link rot by redirecting users to an origin site from an Epoch-controlled link.

Installation

Ensure that you have Node and Yarn installed on your machine. For non-Epoch users, configure config.js to use your AAD tenant's client ID. Then, run the following commands:

yarn
export proto=http
export baseURL=localhost:9215
export SESSION_DB_FILE_LOC=$PWD
export SESSION_DB_FILE_NAME=db.sqlite3 
export DB_FILE=db.sqlite3
export CLIENT_SECRET=<your azure AD secret here>
yarn dev

Usage

Linkry integrates with Azure AD to only allow authorized Epoch users to create links redirections. After you log in with your Epoch credentials, you will be presented with a portal that will allow you to shorten links. In the navigation bar, there is also a "My Links" tab that will allow you to delete or edit any links you have previously made.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Authors

Maintainer: Dev Singh (dsingh@imsa.edu)

License

BSD 3-Clause