Comments (3)
Hi @spanjeta, I've just got a github pages instance working (avoiding the need to install the extension).
Looks like it would be possible to change the endpoint, but it would need to be a https endpoint.
Using localhost:
fetch("http://localhost:11434/api/tags").then(a=>a.text()).then(c => console.log(c))
Promise { <state>: "pending" }
{"models":[{"name":"llama2:latest","modified_at":"2023-08-02T15:44:14.222315301-07:00","size":3791730596,"digest":"a808fc133004f8d2734988e4a2b8e2a0e16bc8f4db379e1ef4136ac4a7989ace"},{"name":"wizard-vicuna:latest","modified_at":"2023-08-03T10:11:52.70884438-07:00","size":7323305345,"digest":"6399408937fb567150661535317961a08242c61afd04a47a4e165598bf4ba9f1"}]} debugger eval code:1:78
Not using localhost:
fetch("http://192.168.86.45:11434/api/tags").then(a=>a.text()).then(c => console.log(c))
Blocked loading mixed active content “http://192.168.86.45:11434/api/tags”
debugger eval code:1:5
Promise { <state>: "rejected", <reason>: TypeError }
Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
<anonymous> debugger eval code:1
debugger eval code:1:6
from ollama-ui.
Hi!
I like the idea, but it would mean changing the extension manifest (adding a wildcard domain).
"host_permissions": [
- "http://localhost:11434/*"
+ "http://*/*"
],
I'm not sure this would pass the chromium app store review, but happy to try if you like.
What's your use case out of interest?
from ollama-ui.
I want to connect with ollama instance running on VPS or external server . Also make compatible extension for thunderbird and firefox.
from ollama-ui.
Related Issues (20)
- Chrome extension HOT 1
- Default persistent history
- Firefox extension HOT 1
- Access langchain from ui
- Bug: GitHub Pages Hosted version doesn't work due to HTTPS violation HOT 2
- Security: Chrome Extension requests access to ALL websites HOT 1
- [FR] 🌐 Add support for EXPORT/IMPORT chats
- extra prefix
- This does not seem to work with the latest ollama HOT 3
- How can I possibly add code highlighting to this this ui?
- Add the ability to attach image and multimodal prompt for llava
- Request to change license to BSD HOT 1
- Interaction with models HOT 1
- Unobfuscated/minified version of the /resources directory? HOT 4
- HTML page giving error : `Unable to access Ollama server` HOT 6
- How to stop the webserver? HOT 1
- How can I change the default port on UI? HOT 1
- `make` fails to make HOT 6
- How can we know which model we are talking to? HOT 1
- how to make it accessible through internet (external IP) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ollama-ui.