All Projects → changkun → redir

changkun / redir

Licence: MIT license
🧭 Full-featured, self-hosted URL shortener.

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects
Makefile
30231 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to redir

urlzap
⚡️ Your own static URL shortener
Stars: ✭ 57 (-6.56%)
Mutual labels:  url-shortener, link-shortener, redirect-urls
Bon
🍮 A small, simple/minimal self hosted URL shortener written in Go (Golang).
Stars: ✭ 12 (-80.33%)
Mutual labels:  url-shortener, link-shortener
trym
🔗 A modern URL shortener
Stars: ✭ 29 (-52.46%)
Mutual labels:  url-shortener, link-shortener
goalie-url-shortener
An implementation of go/ vanity-urls with LDAP support that makes it simple to access internal web assets on a coorporate network.
Stars: ✭ 16 (-73.77%)
Mutual labels:  url-shortener, vanity-url
ShortLink
𝓢𝓱𝓸𝓻𝓽𝓛𝓲𝓷𝓴 is a simple (yet powerful) URL Shortening script 🔥💥⚡
Stars: ✭ 25 (-59.02%)
Mutual labels:  url-shortener, link-shortener
ycsm
This is a quick script installation for resilient redirector using nginx reverse proxy and letsencrypt compatible with some popular Post-Ex Tools (Cobalt Strike, Empire, Metasploit, PoshC2).
Stars: ✭ 73 (+19.67%)
Mutual labels:  redirector
reducio
❱ 🐇 URL shortener service is written in Scala using Akka-Http and Redis ❰
Stars: ✭ 69 (+13.11%)
Mutual labels:  url-shortener
Sharex
ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
Stars: ✭ 18,143 (+29642.62%)
Mutual labels:  url-shortener
Sleeky
🎨 A sleek and simple frontend & backend theme for YOURLS
Stars: ✭ 245 (+301.64%)
Mutual labels:  url-shortener
ursho
URL Shortener Service in Go
Stars: ✭ 118 (+93.44%)
Mutual labels:  url-shortener
mnmlurl-extension
[DEPRECATED] 💁 Browser extension for Minimal URL - Modern URL shortener with support for custom alias & can be hosted even in GitHub pages
Stars: ✭ 21 (-65.57%)
Mutual labels:  url-shortener
yellowsocks
transparent TCP to SOCKS5 redirector
Stars: ✭ 30 (-50.82%)
Mutual labels:  redirector
Red Team Infrastructure Wiki
Wiki to collect Red Team infrastructure hardening resources
Stars: ✭ 2,981 (+4786.89%)
Mutual labels:  redirector
ksana.in
✂️ Layanan pemendek tautan yang mudah, gratis & tanpa iklan
Stars: ✭ 186 (+204.92%)
Mutual labels:  url-shortener
redir
🧭 a request redirector
Stars: ✭ 25 (-59.02%)
Mutual labels:  redirector
nnmm
A super tiny pastebin/url minifier "microservice"
Stars: ✭ 77 (+26.23%)
Mutual labels:  url-shortener
Azurlshortener
An simple and easy Url Shortener
Stars: ✭ 247 (+304.92%)
Mutual labels:  url-shortener
Breviare
Small URL shortener made with the MERN Stack
Stars: ✭ 16 (-73.77%)
Mutual labels:  url-shortener
YOURLS
🔗 The de facto standard self hosted URL shortener in PHP
Stars: ✭ 9,007 (+14665.57%)
Mutual labels:  url-shortener
Perfect-URL-Shortener
An Example URL Shortener System for Perfect
Stars: ✭ 37 (-39.34%)
Mutual labels:  url-shortener

redir Latest relsease

Full-featured, self-hosted URL shortener written in Go.

Features Description
Custom Domain Everything is under control with your own domain
Link Shortener Support /s/semantic-name for short semantic alias for anonymous shortening
Go Vanity Import Redirect /x/repo-name to configured VCS and pkg.go.dev for API documentation
Access Control 1) Private links won't be listed in public index page; 2) Allow link to be accessible only after a configured time point; 3) Allow warn to visitors about external URL redirects (for liability control)
Public Indexes Router /s provides a list of avaliable short links
Admin Dashboard Dashboard /s?mode=admin provides full management ability
Visitor Analysis Statistics visualization regarding PV, UV, Referrer, Devices, Location, etc
GDPR Compliant Including imprint, privacy, contact pages; optional warning about external redirects, etc.

Documentations

Web Interfaces

There are three major pages available in redir.

Admin Dashboard Access Control Public Indexes
Router: /s?mode=admin for management:
Control a link should only be available after a certain time:
Router /s provides public accessibility to see all public links:

CLI Usage

The redir command offers server side operation feature from shell:

$ redir

redir is a featured URL shortener. The redir server (run via '-s' option),
will connect to the default database address mongodb://localhost:27018.
It is possible to reconfig redir using an external configuration file.
See https://changkun.de/s/redir for more details.

Version: dev

GoVersion: devel go1.18-39e08c6cd7 Tue Sep 21 13:18:09 2021 +0000

Command line usage:

$ redir [-s] [-f <file>] [-d <file>] [-op <operator> -a <alias> -l <link> -p -trust -vt <time>]

...

Customization

You can configure redir using a configuration file. The default configuration is embedded into the binary.

Alternative configuration can be used to replace default config and specified in environtment variable REDIR_CONF, for example REDIR_CONF=/path/to/config.yml redir -s to run the redir server under given configuration.

Deployment

Download Pre-Builds

Please check the release page.

Build from Source

You need install Go to build the redir command.

Build everything into a single native binary:

$ make dashboard # build front-end
$ make           # build back-end and embed front-end files into binary

$ redir -s # run the server, require an external database

Build and deploy with Docker:

$ docker network create traefik_proxy
$ make dashboard && make build && make up

Contributing

Easiest way to contribute is to provide feedback! We would love to hear what you like and what you think is missing. PRs are also welcome.

License

MIT © 2020-2021 Changkun Ou

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].