Giter VIP home page Giter VIP logo

tab-a-startpage's Introduction

tab: a startpage

a startpage, new tab page, homepage

Tab lives here. You should probably read below if you haven't used it before.

Contents

Usage

The purpose of this site is to use short, simple commands to access and search websites quickly.

The syntax is as follows: command;query[;n]

Commands are shortcuts for sites (e.g. y for YouTube). You can search sites by separating the command and your query with a semicolon. If you wanted to search YouTube for cats, you would enter: y;cats. If you simply enter a command and no query, it will take you to that site. (Note that leading/trailing spaces get stripped, so entering y; cats will do the same thing.)

You can also enter a URL by itself to go to it.

Not all commands search websites. For example, the r command will take you to a subreddit rather than searching Reddit (e.g. r;askreddit). With this particular command you can also do things like r;askreddit/top?t=month to quickly get where you want to be.

If you enter a query but no command, the default command will be executed. The default default command is Google, but this can be changed in the options menu. (see menus section below)

For a full list of commands and what they do, refer to the command list in the help menu.

Examples

Here some sample inputs and what they do:

  • y;cats searches YouTube for 'cats'.

  • r;askreddit takes you to the AskReddit subreddit.

  • github.com goes to github.com.

  • n;pulp fiction searches Netflix for 'pulp fiction'.

  • a;popsicles;n searches Amazon for popsicles in a new tab.

Menus

There are two menus you can access: help and options.

  • To get to the help menu, enter help or ?. (you can also click on the clock)

  • To get to the options menu, enter options or settings.

Custom Commands

You can add your own custom commands in the options menu. Custom commands are specified using JSON. Note that built-in commands have precedence over custom commands; check the help menu to make sure any shortcuts (commands) you choose are not already taken.

The format is as follows (using YouTube as an example):

{
  "command": "y",
  "url": "https://www.youtube.com",
  "search": "/results?search_query="
}

Using the quick-add form in the options menu will save you some typing.

Explanation of each item:

  • command - This is what you type into the input box.

  • url - The base site; this is where you will be redirected to if you enter command by itself.

  • search - When you add a query to your command (e.g. y;cats), search will be appended to url, and then your query will be appended to that to form the full search URL, like this: https://youtube.com/results?search_query=cats.

To figure out what search should be for your custom command, go to the website you want to add and do a search (for anything), then look at and dissect the URL you are taken to.

If the website you wish to add a command for does not have a search engine, you may leave the search value blank (but do not remove it entirely).

Chrome extension

Replaces the new tab page with tab startpage.

Highly recommended - get it here!

Bugs & Suggestions

If something is not working right or you have an idea to make this startpage better, please let me know by opening an issue or emailing [email protected]. Thanks!

tab-a-startpage's People

Contributors

koryschneider avatar

Watchers

James Cloos 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.