Index :
- Motivations and Design Decisions
- Setup And Installation
- ANATOMY Of Page Features Commands
- Themes
- Broswers Tested
- FAQs
I always hated the page that appears when you press CTRL+T
in chrome , and i used to change it to blank page or some other extensions that change it entirely like this
i set few goals for the new tab page i wanted to design
- functional -> must add functionality and does not sacrifice function for form
- reduces visual clutter (no icons or colors keeping mono or close to mono tone )
- lets me add custom links for all the websites i visit (lets you categorize links as well)
- keyboard centric ( most or ideally all functionalty can be performed using your keyboard)
- modular but easy to maintain (ideally a single html file)
i made this without having any HTML , CSS or Js knowledge i just googled my way to some how a fully functional page (read some commit messages they really show you how much fun it was insert sarcasm)
despite of all this it works and is easily modifiable and extensible to fit your specific needs or you can add your own links anywhere see [[Make it your own ]] section for more information
Custom New Tab Url
extension
Since the page is just an index.html
file , We need a chrome extension installed to load this page everytime we press Ctrl + T
and open up a new tab
This extension named Custom New Tab Url here is the link of the extension i have been using for this project GO TO THIS LINK TO DOWNLOAD IT
just click on add to chrome
button to get the extension
To configure the extesnsion to use the index.html page follow these steps
go to the options (As shown here )
then you should see a URL or local file path
Field
and you can enter the path of your index.html
file following this syntax
file:///PATH-TO-INDEX.HTML
In my case the path was like this
file:///D:\tab-local\index.html
- add the other extension here as well and if people want to use here as well
Here is the complete anatomy of page along with their features
Main search bar in the middle of screen is the main search area , it works just as a normal Google Search with additional super powers
You can go to Search bar
from anywhere by simply pressing the Tab
key on your keyboard
Enter your query
When you press Tab
you can enter any query in Search bar
for example consider this
How to take screenshot on mac
press Enter
and this query will be performed with google search engines
image is sourced from the same folder see [[Image]] section to know more
You can search metaphor.systems
from Search bar
by just adding >meta
to your query in search bar
here is a sample query to show you how this works
>meta latest ai papers
and it will show you these results
More alternative search engines can be added in future as well
Search engine | Commands to add before query |
---|---|
Google search | google is default - no command is needed for google search |
Metaphor.systems | >meta |
Images are loaded from images folder
Default image is AI generated and it matched the theme better so i decided to use it
To upload your own image
- put your image in the images folder located in the same directory as the
index.html
file - add the path to iamge like this
<img src="{{DRIVE LETTER}}:\{{PATH TO FOLDER}}\images\Your image.jpg" alt="Image " width="300px" height="300px">
Press Ctrl +R
to reload the theme and you should see your image loaded
Command Bar serves a central place to enter command Both setting related and launching websites
or more then one websites as commands
You can nagivate to command bar from any input box just press colon :
Key where ever you are on the page it will focus the Command Bar
and then you can enter commands into it
see Commands
section below to see the list of commands you can enter
Commands | Function |
---|---|
theme | changes and set defaults theme |
./news | launches news websites |
./ai | launches news websites |
yt | launches YouTube |
ym | launches YouTube Music |
>meta {{Search query}} | Searches your query with metaphor.system search engine |
-
Type
theme
theme in command bar to change the theme -
Launcher commands
Links are any websites you choose to display at the front page
you can chage these within ìndex.html
file and reload the page by pressing Ctrl+R Key
to reload the page , links are distibuted into different categories to keep everything contexual and tidy
- Gruvbox and Everforest inspired theme , That uses colors from gruvbx but over all gives everforest kind of green vibe
- Type
theme
in command bar your theme will be changed - Press
Ctrl + y
to change the theme quickly using keyboard
Once theme is changed it stays persistant untill you reset it to light or dark mode again this is not a bug rather a feature
if you want to make changes or add custom links here's how you can do that
clone the project
git clone https://github.com/bilalazh/New-Tab-Custom-Page.git
open index .html
file with your favourite text editor
- Chrome
- Chromium
- Thorium
- Brave
Those are all the broswers i have installed the extension should work on any
chromium based broswer
, and if you can install the extension that see installation section for the rest of instructions
Are you going to keep developing this ?
- Yes , i plan to add more features and improve this over time , sicne when i made this i had no web dev experience , i might even do a clean better rewrite as well
??