Go to file
Nemo b4af9ae134 Shifts to require rack instead of rack/response 2016-12-03 05:14:17 +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 Automated builds and deploys 2015-08-22 20:41:30 +05:30
.travis.yml Upgrade to 2.3.1 on tests 2016-12-03 04:29:35 +05:30
Gemfile Adds rack to Gemfile 2016-12-03 04:13:25 +05:30
Gemfile.lock Adds rack to Gemfile 2016-12-03 04:13:25 +05:30
README.md Updates README, Fixes tests 2016-12-03 04:04:13 +05:30
app.rb Refactors the config logic to separate class 2016-11-21 22:11:25 +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
lightsaber.rb Shifts to require rack instead of rack/response 2016-12-03 05:14:17 +05:30
redirects.yml [txt-records] Initial basic version with direct URLs 2016-12-03 03:55:22 +05:30
test.rb Updates README, Fixes tests 2016-12-03 04:04:13 +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 stored in TXT records.

Usage

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

Then create a TXT record for the _redirect subdomain and use the following as the value:

v=lr1;https://google.com

where https://google.com is the redirect URL.

License

Released under the MIT License.