Chevron是一个与Chatgpt集成的功能强大且功能强大的起点
并隐藏在超级简约和动画设计下
在静态,托管和github页面选项中可用
现场演示|下载|安装
AutoSuggestions,历史记录,宏和命令,宏菜单,热键,ChatGpt集成,货币转换器,计算器,动画和简约设计
您可以将字形设置为主页(在浏览器设置)或新标签(您需要自定义选项卡扩展程序)。
警告如果您希望该应用程序本身在打开新标签而不是地址栏时专注于
我建议与所有基于铬的浏览器( Google Chrome,Microsoft Edge,Brave,Opera,Vivaldi等)同时使用托管或GITHUB页面安装方法
有几种安装人字形的方法:
建议使用此方法,因为它不取决于您的Internet连接或任何远程服务器,并且UI将立即加载。
一些浏览器和扩展可能会有重点问题
当您想解决焦点问题或出于任何其他原因,本地文件方法对您不起作用时,此方法很有用
请注意,此方法假设您在PC上安装了Node.js和NPM
克隆这个存储库
建造
安装节点 - ( Windows/Linux/Mac )
对于Windows:
npm install -g node-windows && npm link node-windows对于Linux:
npm install -g node-linux && npm link node-linux对于Mac:
npm install -g node-mac && npm link node-mac将本地服务器注册为系统服务
注意管理员特权必须运行此命令
对于Windows:
npm run register_windows对于Linux:
npm run register_linux对于Mac:
npm run register_mac此操作将在您的系统中创建一个服务以在启动时运行服务器。
要卸载服务,请再次运行命令。
注册服务器后,您将能够在Localhost上访问人字形:8000
不推荐此方法,因为它取决于您的Internet连接和GitHub服务器
Settings → Pages → Branch: "gh-pages" → Save注意> node.js和npm需要
安装依赖项
npm install建造
npm run build构建后,您可以在/dist文件夹中找到所有必要的文件
要使用Chevron的主要功能,只需键入某些内容(您不必担心专注于输入字段,它始终在正确的时刻焦点)。
一旦您键入某些内容,查询就会被解析并提出建议。
建议来自历史和自动驾驶引擎。您可以限制每个源的建议数量是设置。
默认情况下,您将被重定向到搜索引擎的搜索页面,但是,如果查询匹配宏的触发器,则将其重定向到此查询将带您到宏属性( url属性)中指定的URL。
宏是书签。它有助于访问您经常访问的网站。
要使用宏,您的查询必须匹配其触发器之一。
> GH
命令是宏的补充。使用命令,您可以通过修改URL来实现一些网站逻辑。
要使用命令,您需要在宏触发器之后放置命令(必须在Global和Macro命令列表中定义命令)。追求命令的一切都是参数。
>那么?如何用正则分析HTML
忽略宏和强制使用搜索引擎按CTRL
宏可以固定在宏菜单上。
控件:
打开/关闭:
注意至少一次单击一次后,宏菜单切换按钮只会出现在悬停之后
导航:
您可以使用Hotkeys快速调用具有key属性的宏。
Shift + <key>
宏必须
pinned
在使用CHATGPT之前,您需要在Settings中指定OpenAI API键→ Query → AI → Api key 。
钥匙在本地存储在您的计算机上
键入查询后,要使用ChatGpt Integration Double Press Space 。
您可以在设置中配置应用程序的主要功能。
要打开设置,请单击右上角的齿轮图标。
您可以单击“设置”窗口底部的显示/隐藏图标以显示高级设置。
请注意,齿轮图标至少在访问设置后才出现在悬停在悬停上
您只能在/config.js文件中编辑宏和命令。
/config.js包含一个名为Config的单个JS对象,该对象具有3个属性:
宏Array
结构:
{
name : string , // macros name
category : string , // category of the macros
url : string , // full macros URL
normalisedURL : string , // normalised URL (secondLevelDomain + '.' + firstLevelDomain)
triggers : [ string , ... ] , // list of triggers
commands : { // commands of the macro
[ type ] : {
// {@} - macros URL
// {$} - command argument
template : string , // URL template
description ( optional ) : string // description of the command for this macros
}
} ,
bgColor : complexColor , // background color
textColor : string , // text color
pinned : boolean , // is the macros pinned in the Macros Menu
key : ( optional ) : string , // hotkey ('key' + <keyName>)
icon : ( optional ) : string // the name of the icon in the "/icons.js" file
}命令Array
结构:
{
type : string , // command type (name)
trigger : string // command trigger (preferably a symbol)
}引擎Object
结构:
{
name : string , // engine name
bgColor : complexColor , // background color
textColor : string , // text color
types : { // query, calculator, currency, ...
[ type ] : {
// {@} - raw query (what user typed)
// {$} - parsed query (what is in the query field)
template : string // URL template
}
}
}由于CORS策略ICONS /icons.js中。您可以将任何有效的HTML SVG作为字符串放在那里
警告请注意报价
JS,CSS,HTML,APCA(来自color.js)
受Tilde的启发