Skip to content

goblinrum/links

 
 

Repository files navigation

Links

Features

  • Create Short URLs that are automatically copied to your clipboard upon generation.
  • Create custom aliases for your URLs, if you want.
  • URL Validation upon form submission.

Installation

Use yarn to install dependencies and run the development server.

yarn
yarn dev

Environment Variables

Navigate to ./server and create a .env file with the MongoDB connection string following .env.example.

Deployment

Navigate to project root and run npm run deploy. This will build the frontend, copy the build folder to server, and deploy it via the Express server at :3333/.

Currently deployed via Fly.io. Steps to deploy to Fly.io:

  1. Install the Fly.io CLI 1b. Set up the environment variable: fly secrets set MONGO_URI=<your mongo uri>
  2. Run flyctl launch and follow the prompts
  3. Run flyctl deploy to deploy the app

License

MIT

About

A dead simple link shortener based on https://hyperdt.in/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 53.5%
  • TypeScript 22.1%
  • JavaScript 17.5%
  • Dockerfile 3.7%
  • CSS 2.1%
  • HTML 1.1%