Preparation for installation
在安装Page Assist前需要完成以下环境准备:
- 安装JavaScript运行时Bun(替代Node.js的轻量方案)
- 部署本地AI服务Ollama或兼容OpenAI API的端点
Installation steps
- Get source code: Cloning repositories via git
git clone https://github.com/n4ze3m/page-assist.git
- Installation of dependencies: Go to the project directory and execute
bun install
- Building extensions::
- Default build Chrome version:
bun run build
- Firefox专用构建:
bun build:firefox
- Default build Chrome version:
- Load Extension::
- Chrome:通过开发者模式加载解压的扩展
- Firefox:使用临时附加组件方式加载manifest.json
Configuration points
首次使用时需确保:
- 本地AI服务已正确运行并提供API端点
- 浏览器已授予扩展必要的网页访问权限
- 可通过扩展设置界面调整快捷键等个性化配置
This answer comes from the articlePage Assist: Web Assistant Plugin for Native AI Modeling Conversations and Retrieving DocumentsThe