Go to file
Nemo 1a5900ead6
Bump minitest from 5.12.0 to 5.12.2 (#11)
Bump minitest from 5.12.0 to 5.12.2
2019-10-01 14:40:31 +05:30
config check deploy key on CI side 2015-08-23 00:39:11 +05:30
.editorconfig Initial commit :bom: 2015-08-22 17:50:03 +05:30
.gitignore General Updates 2019-09-14 15:46:31 +05:30
.travis.yml Ruby Version Fix 2019-09-14 15:59:41 +05:30
Gemfile Removes ruby version so mina can run on 1.9.3 2015-08-22 21:10:01 +05:30
Gemfile.lock Bump minitest from 5.12.0 to 5.12.2 2019-10-01 04:26:10 +00:00
README.md General Updates 2019-09-14 15:46:31 +05:30
app.rb sinatra relative routes don't start with slash 2015-08-23 01:20:10 +05:30
config.ru Adds tests, travis support and more 2015-08-22 18:22:32 +05:30
config.yml thin config changes 2015-08-22 20:54:59 +05:30
deploy-rsa Automated builds and deploys 2015-08-22 20:41:30 +05:30
deploy.sh Fixes pid check 2015-08-22 21:23:03 +05:30
redirects.yml Remove unused domains 2019-09-14 16:03:02 +05:30
test.rb sinatra relative routes don't start with slash 2015-08-23 01:20:10 +05:30

README.md

lightsaber Build Status

Lightsaber is a simple DNS Redirect service. It offers 301/302 redirects for your domains. The configuration is kept public on this github repository itself.

NOTE: This is no longer maintained. If you require a simple DNS Redirect service, I highly recommend checking https://about.txtdirect.org/, which is a open specification based DNS Redirect service that stores the configuration in your DNS.

Usage

To add a DNS record, point your domain via a CNAME entry to lightsaber.captnemo.in.

You can also have fallthrough domain redirects (thanks to @vivekprakash for the suggestion), by making the redirect a hash with a root key set to the url prefix.

# This is a fallthrough redirect
# so t.co/ev would redirect to twitter.com/ev
t.co:
  root: https://twitter.com
# All goo.gl routes will forward to google.com, and not use fallthrough
goo.gl: https://google.com

Next, you will need to do the following:

  1. Fork this repo
  2. Edit the redirects.yml file and add your redirect in the relevant section
  3. File a Pull Request with your edit

Once the Pull Request is approved, the redirect will automatically be deployed via Travis.

If you do not wish to make your domain redirects public, or give away your domain names, you can self host this as well.

License

Released under the MIT License.