https://github.com/malikbagwala/redirector
A simple go service which redirects the user to your links with support for closest word matching!
https://github.com/malikbagwala/redirector
go golang links linktree linktree-alternative microservice railway-app
Last synced: 7 months ago
JSON representation
A simple go service which redirects the user to your links with support for closest word matching!
- Host: GitHub
- URL: https://github.com/malikbagwala/redirector
- Owner: MalikBagwala
- Created: 2023-10-09T08:26:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-24T09:01:13.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T02:13:59.630Z (8 months ago)
- Topics: go, golang, links, linktree, linktree-alternative, microservice, railway-app
- Language: Go
- Homepage: https://api.maalik.dev
- Size: 3.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Redirector
## Motivation
So you want to share your resume at 10 different places only to have all of them break when you make a change to your resume?
Or you just changed your instagram handle and now all of your previous links are broken?Enter redirector
the point of a service like this is to maintain a single record of all your links and the web app simply redirects it to the link, not only that but there is also support for closest word matching so accessing all the below paths will fetch the same result!, this is really helpful when you are trying to programatically access the links and your key does not match the route exactly.
`/insta`
`/inta`
`/instagram`
`/INSTAGRAM`
`/Ins_Tagram`## Setup
1. populate `.env` file to load all the env variables (this is optional and environment variables can be loaded anyway you like)
2. Install all the packages
3. `go run main.go`## Deployment
The application is deployed on [https://railway.app](railway)