-
-
Notifications
You must be signed in to change notification settings - Fork 443
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #404 from n4ze3m/next
v1.5.1
- Loading branch information
Showing
67 changed files
with
1,124 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,6 @@ keys.json | |
# WXT | ||
.wxt | ||
# WebStorm | ||
.idea | ||
.idea | ||
|
||
/docs/.vitepress/cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
import { defineConfig } from 'vitepress' | ||
|
||
// https://vitepress.dev/reference/site-config | ||
export default defineConfig({ | ||
title: "Page Assist", | ||
description: "Page Assist is an open-source Chrome Extension that provides a Sidebar and Web UI for your Local AI model. It allows you to interact with your model from any webpage.", | ||
lastUpdated: true, | ||
themeConfig: { | ||
// https://vitepress.dev/reference/default-theme-config | ||
search: { | ||
provider: "local", | ||
}, | ||
editLink: { | ||
pattern: "https://github.com/n4ze3m/page-assist/edit/main/docs/:path", | ||
text: "Edit this page on GitHub" | ||
}, | ||
nav: [ | ||
{ text: 'Home', link: '/' }, | ||
], | ||
|
||
sidebar: [ | ||
{ | ||
text: 'Guide', | ||
items: [ | ||
{ text: 'Welcome to Page Assist', link: '/' }, | ||
{ | ||
text: "Browser Support", | ||
link: "/browser-support" | ||
}, | ||
{ | ||
text: "Keyboard Shortcuts", | ||
link: "/shortcuts" | ||
} | ||
], | ||
}, | ||
{ | ||
text: "Sidebar", | ||
items: [ | ||
{ | ||
text: "Sidebar Settings", | ||
link: "/sidebar" | ||
}, | ||
{ | ||
text: "Sidebar Copilot", | ||
link: "/sidebar/copilot" | ||
} | ||
], | ||
}, | ||
{ | ||
text: "Providers", | ||
items: [ | ||
{ | ||
text: "Ollama", | ||
link: "/providers/ollama" | ||
}, | ||
{ | ||
text: "LM Studio", | ||
link: "/providers/lmstudio" | ||
}, | ||
{ | ||
text: "OpenAI Compatible API", | ||
link: "/providers/openai" | ||
} | ||
] | ||
}, | ||
{ | ||
text: "Troubleshooting", | ||
items: [ | ||
{ | ||
text: "Ollama Connection Issue", | ||
link: "/connection-issue" | ||
} | ||
] | ||
}], | ||
|
||
socialLinks: [ | ||
{ icon: 'github', link: 'https://github.com/n4ze3m/page-assist' }, | ||
{ icon: 'x', link: 'https://x.com/page_assist' }, | ||
{ icon: 'discord', link: 'https://discord.gg/bu54382uBd' }, | ||
], | ||
footer: { | ||
message: "MIT Licensed Open Source Project", | ||
copyright: "Copyright © 2025 Muhammed Nazeem & Page Assist Contributors", | ||
}, | ||
}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
outline: deep | ||
--- | ||
|
||
# Runtime API Examples | ||
|
||
This page demonstrates usage of some of the runtime APIs provided by VitePress. | ||
|
||
The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: | ||
|
||
```md | ||
<script setup> | ||
import { useData } from 'vitepress' | ||
|
||
const { theme, page, frontmatter } = useData() | ||
</script> | ||
|
||
## Results | ||
|
||
### Theme Data | ||
<pre>{{ theme }}</pre> | ||
|
||
### Page Data | ||
<pre>{{ page }}</pre> | ||
|
||
### Page Frontmatter | ||
<pre>{{ frontmatter }}</pre> | ||
``` | ||
|
||
<script setup> | ||
import { useData } from 'vitepress' | ||
|
||
const { site, theme, page, frontmatter } = useData() | ||
</script> | ||
|
||
## Results | ||
|
||
### Theme Data | ||
<pre>{{ theme }}</pre> | ||
|
||
### Page Data | ||
<pre>{{ page }}</pre> | ||
|
||
### Page Frontmatter | ||
<pre>{{ frontmatter }}</pre> | ||
|
||
## More | ||
|
||
Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Browser Support | ||
|
||
For the best experience, we recommend using Page Assist with the latest versions of Google Chrome, Microsoft Edge, or Firefox. | ||
|
||
|
||
## Supported Browsers | ||
|
||
| Browser | Sidebar | Chat With Webpage | Web UI | | ||
| ----------- | ------- | ----------------- | ------ | | ||
| Chrome | ✅ | ✅ | ✅ | | ||
| Brave | ✅ | ✅ | ✅ | | ||
| Firefox | ✅ | ✅ | ✅ | | ||
| Vivaldi | ✅ | ✅ | ✅ | | ||
| Edge | ✅ | ✅ | ✅ | | ||
| LibreWolf | ✅ | ✅ | ✅ | | ||
| Zen Browser | ✅ | ✅ | ✅ | | ||
| Opera | ❌ | ❌ | ✅ | | ||
| Arc | ❌ | ❌ | ✅ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Welcome to Page Assist | ||
|
||
Welcome to Page Assist, the browser companion for your Local AI model! With Page Assist, your web browsing experience enters a new dimension of intelligence and efficiency. | ||
|
||
## Quick Start Guide | ||
|
||
Page Assist makes AI interaction a breeze! Simply: | ||
- Chat with your AI from any webpage using our sleek Sidebar | ||
- Access the powerful Web UI control center | ||
- Connect to your favorite local AI models | ||
|
||
## Get Page Assist Today! | ||
|
||
Download for your favorite browser: | ||
|
||
[](https://chrome.google.com/webstore/detail/page-assist/jfgfiigpkhlkbnfnbobbkinehhfdhndo) | ||
|
||
[](https://addons.mozilla.org/en-US/firefox/addon/page-assist/) | ||
|
||
[](https://microsoftedge.microsoft.com/addons/detail/page-assist-a-web-ui-fo/ogkogooadflifpmmidmhjedogicnhooa) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
# Markdown Extension Examples | ||
|
||
This page demonstrates some of the built-in markdown extensions provided by VitePress. | ||
|
||
## Syntax Highlighting | ||
|
||
VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting: | ||
|
||
**Input** | ||
|
||
````md | ||
```js{4} | ||
export default { | ||
data () { | ||
return { | ||
msg: 'Highlighted!' | ||
} | ||
} | ||
} | ||
``` | ||
```` | ||
|
||
**Output** | ||
|
||
```js{4} | ||
export default { | ||
data () { | ||
return { | ||
msg: 'Highlighted!' | ||
} | ||
} | ||
} | ||
``` | ||
|
||
## Custom Containers | ||
|
||
**Input** | ||
|
||
```md | ||
::: info | ||
This is an info box. | ||
::: | ||
|
||
::: tip | ||
This is a tip. | ||
::: | ||
|
||
::: warning | ||
This is a warning. | ||
::: | ||
|
||
::: danger | ||
This is a dangerous warning. | ||
::: | ||
|
||
::: details | ||
This is a details block. | ||
::: | ||
``` | ||
|
||
**Output** | ||
|
||
::: info | ||
This is an info box. | ||
::: | ||
|
||
::: tip | ||
This is a tip. | ||
::: | ||
|
||
::: warning | ||
This is a warning. | ||
::: | ||
|
||
::: danger | ||
This is a dangerous warning. | ||
::: | ||
|
||
::: details | ||
This is a details block. | ||
::: | ||
|
||
## More | ||
|
||
Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# LM Studio | ||
|
||
You can add LMStudio's API to Page Assist. Here's how you can do it: | ||
|
||
1. Click on the Page Assist icon on the browser toolbar. | ||
|
||
2. Click on the `Settings` icon. | ||
|
||
3. Go to the `OpenAI Compatible API` tab. | ||
|
||
4. Click on the `Add Provider` button. | ||
|
||
5. Select `LMStudio` from the dropdown. | ||
|
||
6. Enter the `LMStudio URL`. (by default it is `http://localhost:1234/v1`) | ||
|
||
7. Click on the `Save` button. | ||
|
||
|
||
::: info | ||
You don't need to add any models since Page Assist will automatically fetch them from the LMStudio instance you have configured. | ||
|
||
The model must be loaded in LMStudio before Page Assist can fetch it. | ||
::: |
Oops, something went wrong.