Git Product home page Git Product logo

lightsaber's Introduction

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.

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.

lightsaber's People

Contributors

captn3m0 avatar gat007 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.