An iTerm-inspired startpage page for faster web browsing. Because everything's better on the command line!
You have two main options:
-
-
To run locally, you can simply clone the repository:
git clone https://github.com/peterrauscher/startpage.git
-
Or download the ZIP file directly from Github, and extract it to a local folder.
Now just set your new tab/homepage as
/path/to/repo/index.html
-
-
To access the site from multiple computers, or just to save the few MB of RAM, you can host the site on Github Pages.
- Fork the repository
- Go to the repository page
- Go to Settings > Pages > Build and Deployment
- Under "Build and deployment" select "Deploy from a branch"
- Select branch "main" and folder "/ (root)"
Now just set your new tab/homepage as the Github Pages domain it gives you!
- To search DuckDuckGo, type
search
ors
followed by your search query!- Example:
search Where to find cool startpages
- Example:
- List your shortcuts with
ls
. - To visit a shortcut, just enter the name of the shortcut in, and you'll be redirected.
- Example: just typing
git
will bring me to Github! - NOTE: If the first few letters are shared with another shortcut, the first one it finds will be used. You'll have to be more specific in this case. Also, if the first few letters belong to command, the command will be executed instead.
- Example: just typing
- Run
weather set
to see how to setup theweather
command. - List all available commands with
help
.
Because this is a static site, configuration mostly happens within the files themselves. Some things, like the weather API key and location, are stored in local storage. If you completely clear your browser, you will need to reset these.
Shortcuts are the links displayed when you first open the page, or when you run ls
. These are defined in the js/shortcuts.js
file.
The file is an array of objects of the schema:
{
category: "Name of Category",
color: "color of category header",
items: {
"Example": "https://example.com",
"Another Example": "https://anotherexample.com",
...
}
}
Feel free to add/remove categories and links.
Available values for color
are:
green
cyan
purple
red
yellow
blue
light-gray
gray
black
Just change the text in index.html
:
<div class="prompt">
...
<span class="green">username</span>
...
<span class="cyan">hostname</span>
...
</div>
If there are any commands you'd like to see added, or improvements you'd like to suggest, or if you encounter a bug: open an issue! I'll get to it when I get a chance :D