Lynk is a simple link shortener application that allows you to shorten long URLs into shorter links and QR codes. It also provides click statistics for shortened links, allowing you to track the number of clicks on each link. Lynk is built with Node.js, Express, and MongoDB.
- Shorten long URLs
- Track click statistics for shortened links
- Customizable link aliases
- Generate QR codes for shortened links
Install node.js and pnpm if you haven't already. Then follow the steps below to install and run Lynk on your local machine.
- Clone the repository:
git clone https://github.com/Carbrex/lynk.git
- Install dependencies:
pnpm install
- Add environment variable to .env in server and client folders:
cp server/.env.example server/.env
cp client/.env.example client/.env
- Start the server:
cd server && pnpm run dev
Alternatively, you can run Lynk using Docker. Follow the steps below to build and run the Docker image.
- Clone the repository:
git clone https://github.com/Carbrex/lynk.git
- Add environment variable to .env in server and client folders:
cp server/.env.example server/.env
cp client/.env.example client/.env
- Build the Docker image:
docker build -t lynk .
- Run the Docker container:
docker run -d -p 3000:3000 lynk
Contributions are welcome! If you find a bug or have a feature request, please open an issue on GitHub. If you would like to contribute code, please fork the repository and submit a pull request.
This project is licensed under the GNU General Public License v3.0.