[PR #5] [CLOSED] Support any OpenAI-compatible API, including local Ollama #12

Closed
opened 2026-03-04 02:09:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/zlwaterfield/scramble/pull/5
Author: @len-foss
Created: 9/18/2024
Status: Closed

Base: mainHead: others


📝 Commits (2)

📊 Changes

4 files changed (+21 additions, -5 deletions)

View changed files

📝 background.js (+5 -3)
📝 manifest.json (+2 -0)
📝 options.html (+8 -0)
📝 options.js (+6 -2)

📄 Description

This is a WIP to support other OpenAPI compatible endpoints, including Groq which has a free tier, or more importantly Ollama.

To fully support Ollama, there is one more step:
other origins should be configured on the Ollama server.

https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-allow-additional-web-origins-to-access-ollama

This origin should have the form: chrome-extension://
(or moz for Firefox, but it would require another branch to be compatible with it)

Which means that the key should be added to the manifest: this value maintains the unique ID of an extension, or theme when it is loaded during development.

https://developer.chrome.com/docs/extensions/reference/manifest/key

Could you add it?

After that the doc should be extended a bit.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/zlwaterfield/scramble/pull/5 **Author:** [@len-foss](https://github.com/len-foss) **Created:** 9/18/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `others` --- ### 📝 Commits (2) - [`db8e851`](https://github.com/zlwaterfield/scramble/commit/db8e851f0d12303708869297084c07897b40125e) *ENDPOINTS - [`d4cf9d8`](https://github.com/zlwaterfield/scramble/commit/d4cf9d8bad378a4ca081428000a4fd8a934e5afc) manifest permissions ### 📊 Changes **4 files changed** (+21 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `background.js` (+5 -3) 📝 `manifest.json` (+2 -0) 📝 `options.html` (+8 -0) 📝 `options.js` (+6 -2) </details> ### 📄 Description This is a WIP to support other OpenAPI compatible endpoints, including Groq which has a free tier, or more importantly Ollama. To fully support Ollama, there is one more step: other origins should be configured on the Ollama server. https://github.com/ollama/ollama/blob/main/docs/faq.md#how-can-i-allow-additional-web-origins-to-access-ollama This origin should have the form: chrome-extension://<extension-id> (or moz for Firefox, but it would require another branch to be compatible with it) Which means that the key should be added to the manifest: this value maintains the unique ID of an extension, or theme when it is loaded during development. https://developer.chrome.com/docs/extensions/reference/manifest/key Could you add it? After that the doc should be extended a bit. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:09:38 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/scramble#12
No description provided.