Wondering what’s next for npm?Check out our public roadmap! »

    i-robot

    1.0.0 • Public • Published

    i

    Personal redirect server.

    Use your URL bar for reaching frequent sites, faster. Largely inspired by corporate environments that set an aliasing/tinyURL service up at http://go/. This one is for your personal use.

    My workflow with this:

    1. Type i write in the URL bar
    2. 💥 redirected to my worklog

    Or

    1. Type i review
    2. 🎉 redirected to https://github.com/notifications

    You can live like this too. It's like a console for your browsing.

    Installation

    Clone this repository, cd to the cloned directory, and install this package.

    git clone https://github.com/rgbkrk/i
    cd i
    npm i
    

    Configuration

    Create an i.json like so:

    {
      "code": "https://github.com/rgbkrk",
      "write": "https://docs.google.com/document/d/somedocid/edit"
    }
    

    Now run the server:

    npm run start
    

    Usage

    Now visit one of your keywords, like http://i/code. It should redirect.

    If you visit http://i, you'll get a listing of all your keywords.

    💥

    Super mode

    If you're using Chrome, you can set i as a search engine so that you can type

    i write
    

    Right click your URL bar (Omnibar!):

    and click "Edit Search Engines..."

    From the search engines page, scroll to the bottom of the search engines section until you see a way to add a new search engine:

    Within that section, fill it out with i as the search engine and keyword, followed by http://i/%s as the URL:

    search entry

    🎉 You can now type i rock.

    Keywords

    none

    Install

    npm i i-robot

    DownloadsWeekly Downloads

    1

    Version

    1.0.0

    License

    BSD-3-Clause

    Last publish

    Collaborators

    • avatar