Skip to content

Commit

Permalink
Add view-source:, Overhaul protocol handler & Refactor internal URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
cohenerickson committed Feb 11, 2023
1 parent 7c9d483 commit 793cf7f
Show file tree
Hide file tree
Showing 32 changed files with 1,292 additions and 199 deletions.
55 changes: 36 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,55 @@

## About

The initial inspiration for Velocity came from other proxies such as Hypertabs and Rammerhead Browser. After using these proxies issues arose that broke the illusion of using a web browser which velocity attempts to fix.
The initial inspiration for Velocity came from other proxies such as Hypertabs and Rammerhead Browser. After using these proxies issues arose that broke the illusion of using a web browser which velocity attempts to fix.

## Features

* Sleek Firefox inspired UI
* Proper link handling
* Script injection for native functions
- Sleek Firefox inspired UI
- Proper link handling
- Script injection for native functions

## Internal URL's
* `about:newTab` - New tab page
* `about:preferences` - Preferences page
* `about:blank` - Blank document

- `about:newTab` - New tab page
- `about:preferences` - Preferences page
- `about:blank` - Blank document

## Commands

Velocity implements many commands that web browsers commonly use in order to do certain functions. Due to the limitations of JavaScript many of these have to be adapted but listed below is all commands that have been implemented so far.

* `Ctrl + R` - Reload current tab
* `Ctrl + D` - Bookmark current page (limited support)
* `Ctrl + E` - Search
* `Alt + ArrowLeft` - Navigate backwards in history
* `Alt + ArrowRight` - Navigate forward in history
- `Ctrl + R` - Reload current tab
- `Ctrl + D` - Bookmark current page (limited support)
- `Ctrl + E` - Search
- `Ctrl + U` - View page source
- `Alt + ArrowLeft` - Navigate backwards in history
- `Alt + ArrowRight` - Navigate forward in history

### Adapted commands
* `Alt + T` - Open new tab (originally `Ctrl + T`)
* `Alt + W` - Close current tab (originally `Ctrl + W`)

- `Alt + T` - Open new tab (originally `Ctrl + T`)
- `Alt + W` - Close current tab (originally `Ctrl + W`)

## Deployment

### Requirements

- [NodeJS version >=18](https://nodejs.org/)

```bash
git clone https://github.com/cohenerickson/Velocity.git
cd Velocity
npm i
npm run build
npm start
```

## Roadmap

Velocity is still in it's early stages but if it gains enough interest among the community there are quite a few other features that I would like to implement, listed below are a few of these.

* Custom context menus
* View source protocol (`view-source:`)
* Unblocked dev tools
* And more...
- Bookmarklets
- Custom context menus
- Unblocked dev tools
- And more...
Loading

0 comments on commit 793cf7f

Please sign in to comment.