Skip to content

Commit

Permalink
Merge pull request #441 from n4ze3m/next
Browse files Browse the repository at this point in the history
v1.5.2
  • Loading branch information
n4ze3m authored Feb 23, 2025
2 parents d67030f + 5af5362 commit 2c5ada1
Show file tree
Hide file tree
Showing 59 changed files with 632 additions and 231 deletions.
20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# Page Assist
<p align="center">
<h1 align="center">Page Assist</h1>
</p>


<p align="center">
<a href="https://discord.gg/bu54382uBd" aria-label="Join dialoqbase #welcome"><img src="https://img.shields.io/badge/discord-join%20chat-blue.svg" alt="Join dialoqbase #welcome"></a> <a href="https://twitter.com/page_assist" aria-label="Follow @page_assist on Twitter"><img src="https://img.shields.io/twitter/follow/page_assist?style=social" alt="Follow @page_assist on Twitter"></a>
</p>

<p align="center">
<a href="https://docs.pageassist.xyz">
Documentation
</a>

</p>

[![Join dialoqbase #welcome](https://img.shields.io/badge/discord-join%20chat-blue.svg)](https://discord.gg/bu54382uBd)
[![Twitter Follow](https://img.shields.io/twitter/follow/page_assist?style=social)](https://twitter.com/page_assist)

Page Assist is an open-source browser extension that provides a sidebar and web UI for your local AI model. It allows you to interact with your model from any webpage.

## Installation

Page Assist supports Chromium-based browsers like Chrome, Brave, and Edge, as well as Firefox.
Expand All @@ -12,7 +25,6 @@ Page Assist supports Chromium-based browsers like Chrome, Brave, and Edge, as we
[![Firefox Add-on](https://pub-35424b4473484be483c0afa08c69e7da.r2.dev/get-the-addon.png)](https://addons.mozilla.org/en-US/firefox/addon/page-assist/)
[![Edge Add-on](https://pub-35424b4473484be483c0afa08c69e7da.r2.dev/edge-addon.png)](https://microsoftedge.microsoft.com/addons/detail/page-assist-a-web-ui-fo/ogkogooadflifpmmidmhjedogicnhooa)


Checkout the Demo (v1.0.0):

<div align="center">
Expand Down
Binary file modified bun.lockb
Binary file not shown.
26 changes: 26 additions & 0 deletions docs/providers/llamacpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# LLaMA.cpp

Page Assist supports LLaMA.cpp API endpoints. You can use any LLaMA.cpp API endpoint with Page Assist.

## Adding LLaMA.cpp API

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 `LLaMA.cpp` from the dropdown.

6. Enter the `LLaMA.cpp URL`. (by default it is `http://localhost:8080/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 LLaMA.cpp instance you have configured.

The model must be loaded in LLaMA.cpp before Page Assist can fetch it.
:::
1 change: 1 addition & 0 deletions docs/providers/openai.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Page Assist supports OpenAI Compatible API endpoints. You can use any OpenAI Com
By default, Page Assist supports the following OpenAI Compatible API endpoints:

- OpenAI
- LLaMA.cpp
- LM Studio
- Ollama
- Llamafile
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/ar/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "تمكين وضع الشاشة العريضة"
},
"openReasoning": {
"label": "فتح التفكير المنطقي بشكل افتراضي"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/da/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
},
"wideMode": {
"label": "Aktivér bredskærm tilstand"
},
"openReasoning": {
"label": "Åbn Ræsonnement Sammenfoldet som standard"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/de/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Breitbildmodus aktivieren"
},
"openReasoning": {
"label": "Offene Argumentation standardmäßig eingeklappt"
}
},
"sidepanelRag": {
Expand Down
3 changes: 2 additions & 1 deletion src/assets/locale/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,5 +156,6 @@
"reasoning": {
"thinking": "Thinking....",
"thought": "Thought for {{time}}"
}
},
"mermaid": "Mermaid"
}
6 changes: 5 additions & 1 deletion src/assets/locale/en/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Enable wide screen mode"
},
"openReasoning": {
"label": "Open Reasoning Collapse by default"
}
},
"sidepanelRag": {
Expand Down Expand Up @@ -385,5 +388,6 @@
},
"chromeAiSettings": {
"title": "Chrome AI Settings"
}
},
"mermaid": "Mermaid"
}
3 changes: 3 additions & 0 deletions src/assets/locale/es/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Habilitar modo pantalla ancha"
},
"openReasoning": {
"label": "Abrir el Razonamiento Colapsado por defecto"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/fa/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
},
"wideMode": {
"label": "فعال کردن حالت صفحه عریض"
},
"openReasoning": {
"label": "باز کردن استدلال به صورت پیش فرض"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/fr/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Activer le mode écran large"
},
"openReasoning": {
"label": "Ouvrir le raisonnement replié par défaut"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/it/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Abilita modalità schermo largo"
},
"openReasoning": {
"label": "Apri il Ragionamento Compresso per impostazione predefinita"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/ja-JP/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
},
"wideMode": {
"label": "ワイドスクリーンモードを有効にする"
},
"openReasoning": {
"label": "デフォルトで推論を展開する"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/ko/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
},
"wideMode": {
"label": "와이드 스크린 모드 활성화"
},
"openReasoning": {
"label": "추론 섹션을 기본적으로 열기"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/ml/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
},
"wideMode": {
"label": "വിശാലമായ സ്ക്രീൻ മോഡ് പ്രവർത്തനക്ഷമമാക്കുക"
},
"openReasoning": {
"label": "സ്ഥിരസ്ഥിതിയായി റീസണിംഗ് കൊളാപ്സ് തുറക്കുക"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/no/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Aktiver bredskjerm-modus"
},
"openReasoning": {
"label": "Åpne Resonnement Sammenfoldet som standard"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/pt-BR/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Ativar modo tela larga"
},
"openReasoning": {
"label": "Abrir Raciocínio Recolhido por padrão"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/ru/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Включить широкоэкранный режим"
},
"openReasoning": {
"label": "Открыть рассуждения свернутыми по умолчанию"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/sv/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Aktivera bredskärmsläge"
},
"openReasoning": {
"label": "Öppna resonemang kollapsat som standard"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/uk/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "Увімкнути широкоекранний режим"
},
"openReasoning": {
"label": "Розгорнути міркування за замовчуванням"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/zh-TW/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
},
"wideMode": {
"label": "啟用寬螢幕模式"
},
"openReasoning": {
"label": "預設展開推理過程"
}
},
"sidepanelRag": {
Expand Down
3 changes: 3 additions & 0 deletions src/assets/locale/zh/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
},
"wideMode": {
"label": "启用宽屏模式"
},
"openReasoning": {
"label": "默认展开推理过程"
}
},
"sidepanelRag": {
Expand Down
11 changes: 4 additions & 7 deletions src/assets/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
}
}



.ant-select-selection-search-input {
border: none !important;
box-shadow: none !important;
Expand Down Expand Up @@ -71,7 +69,6 @@
animation: gradient-border 3s infinite;
border-radius: 10px;
}

/* Hide scrollbar by default */
.custom-scrollbar {
scrollbar-width: none;
Expand All @@ -90,18 +87,18 @@

.custom-scrollbar:hover::-webkit-scrollbar {
display: block;
width: 8px;
width: 10px;
}

/* Custom scrollbar styles for light theme */
.custom-scrollbar:hover::-webkit-scrollbar-track {
@apply bg-gray-50;
border-radius: 4px;
border-radius: 6px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
@apply bg-gray-300;
border-radius: 4px;
border-radius: 6px;
transition: background 0.2s ease;
}

Expand All @@ -124,7 +121,7 @@

/* For Firefox */
.custom-scrollbar {
scrollbar-color: theme('colors.gray.300') theme('colors.gray.50');
scrollbar-color: theme("colors.gray.300") theme("colors.gray.50");
scrollbar-width: thin;
}

Expand Down
Loading

0 comments on commit 2c5ada1

Please sign in to comment.