kholmogorov27 / chevron

Powerful and highly functional startpage integrated with chatGPT and hidden under the super minimalistic and animated design (static/hosted/github pages)
https://kholmogorov27.github.io/chevron/
MIT License
338 stars 95 forks source link
animated artificial-intelligence browser-customization chatgpt chevron homepage minimalist new-tab newtab open-source openapi productivity react start-page startpage startpages web

Chevron GitHub license PRs Welcome

Сhevron is a powerful and highly functional startpage integrated with chatGPT
and hidden under the super minimalistic and animated design

available in static, hosted and github pages options

Live Demo | Download | Installation

Content

Features

autosuggestions, history, macros and commands, macros menu, hotkeys, chatGPT integration, currency converter, calculator, animated and minimalist design

Screenshots

Installation

You can set Chevron as the homepage (in the browser settings) or the new tab (you will need a custom tab extension).

Warning If you want the app itself to be focused when opening a new tab and not the address bar,
I recommend this extension in tandem with the hosted or github pages installation method for all chromium based browsers (Google Chrome, Microsoft Edge, Brave, Opera, Vivaldi etc)

There are a few ways to install Chevron:

Static (recommended)

This method is recommended because it doesn't depend on your internet connection or any remote servers, and the UI will be loaded instantly.
Some browser and extensions might have the focus problem

  1. Download the latest release
  2. Unzip the archive in any convenient place

Hosted

This method is useful when you want to fix the focus problem or for any other reason the Local file method doesn't work for you

Note This method assumes that you have Node.js and npm installed on your PC

  1. Clone this repository

  2. Build

  3. Install node-(windows/linux/mac)

    for Windows:

    npm install -g node-windows && npm link node-windows

    for Linux:

    npm install -g node-linux && npm link node-linux

    for Mac:

    npm install -g node-mac && npm link node-mac
  4. Register the local server as a system service

    Note Administrator privileges are required to run this command

    for Windows:

    npm run register_windows

    for Linux:

    npm run register_linux

    for Mac:

    npm run register_mac

    This operation will create a service in your system to run the server on startup.

    To uninstall the service, run the command again.

After you register the server, you will be able to access Chevron on localhost:8000

GitHub Pages

This method isn't recommended because it depends on your internet connection and GitHub servers

  1. Fork this repository
  2. Go SettingsPagesBranch: "gh-pages"Save
  3. Wait until your link will appear

Build

Note > Node.js and npm are required

  1. Install dependencies

    npm install
  2. Build

    npm run build

After building, you can find all the necessary files in the /dist folder

Usage

To use Chevron's main functionality, just type something (you don't need to worry about focus on the input field, it is always in focus at the right moment).

As soon as you type something, the query will be parsed and suggestions will be given.

Suggestions generates from history and autosuggestion engine. You can limit number of suggestions for each source is settings.

By default, you will be redirected to the search page of the search engine, however if the query matches a trigger of a macro, redirecting to this query will take you to the URL, specified in macro properties (url property).

Configuration

Settings

You can configure main functionality of the app in Settings.

To open Settings, click on the gear icon in the top right corner.

You can click the show/hide icon at the bottom of the Settings window to show advanced settings.

Note The gear icon will appear only on hover after you visit Settings at least once

config.js

You can edit Macros and Commands only in the /config.js file yet.

/config.js contains a single JS object named CONFIG which has 3 properties:

Because of the limitations of the CORS policy, macros icons must be stored in /icons.js in the ICONS object. You can put there any valid HTML SVG as a string

Warning be aware of quotes

TODO

Technologies

JS, CSS, HTML, APCA (from color.js)


inspired by Tilde