←back to thread

229 points modinfo | 5 comments | | HN request time: 1.354s | source
Show context
SeanAnderson ◴[] No.40834703[source]
This doesn't seem useful unless it's something standardized across browsers. Otherwise I'd still need to use a plugin to support safari, etc.

It seems like it could be nice for something like a bookmarklet or a one-off script, but I don't think it'll really reduce friction in engaging with Gemini for serious web apps.

replies(5): >>40834719 #>>40834754 #>>40834763 #>>40834819 #>>40834952 #
1. firtoz ◴[] No.40834754[source]
Browser extensions should be able to shim or even overwrite the `.ai` object in the window, so it should be possible to add ollama etc to all browsers through extensions with the same API, making it a defacto standard

It should be simple enough to do that I believe at least 3-5 people are going to be doing this if it's not done already

Hell, if nobody does it I will do it

replies(3): >>40834770 #>>40835895 #>>40835927 #
2. firtoz ◴[] No.40834770[source]
Further notes:

I had been thinking and speaking in public about how to make a "Metamask but for AI instead of crypto" but I thought it would be impossible for websites to adopt it

Now thanks to Google it's possible to piggy back onto the API

I'm very happy about this

3. niutech ◴[] No.40835895[source]
It's already done: https://windowai.io
replies(1): >>40841823 #
4. ◴[] No.40835927[source]
5. firtoz ◴[] No.40841823[source]
There you go.