4 ms·
The recent AI craze got me excited to program personal projects again, so I made a Chrome extension to save my ChatGPT prompts into and run them against any pag
by seabass 3y ago
The recent AI craze got me excited to program personal projects again, so I made a Chrome extension to save my ChatGPT prompts into and run them against any page's selected text. The idea was that it's more convenient create a command once, then on any website highlight text and right-click it rather than copy/paste stuff into ChatGPT. So far I know all 10 people who installed it personally, and I have a ton more ideas for polish (for instance, it won't work at all on Google Docs right now since there's no text selection in their canvas-based editor) but it's been super entertaining to play around with OpenAI and some of the newer extension APIs nonetheless.
I'm also sort of releasing backwards in that I decided to charge up front to limit the number of users and slowly gather feedback while mitigating my risk, but once I work out all the kinks there will definitely be a free tier that everyone starts out on.
https://chromewebstore.google.com/detail/smudgeai/mhagofdaceclicecldngmdlnljcmebcn https://chromewebstore.google.com/detail/smudgeai/mhagofdace...
- 90-00-09 3y agoI really like the UI: 1. using the new Chrome Sidebar API is a great choice! 2. selecting actions to show in the context menu is also a convenient customization idea Are you considering porting it to FF? Other than the Sidebar API it should be a very straightforward process.
- seabass 3y agoThank you! It was actually Chrome releasing the ability to open a sidebar using a context menu action that sparked the idea. I absolutely plan to support firefox. I figured I should get things working well in one browser first before looking into porting, but consider it on the near term todo list.
- 90-00-09 3y agoSounds good. One problem that you will likely encounter in FF is that you can't open the native extension popup (the one that is attached to the action button) programmatically. That severely limits how you can present your UI, with the most obvious choice being injecting an iframe with the extension UI directly into the body of the page. The other choice is opening a new popup window, which is less convenient than seeing things side by side.
- djbusby 3y agoThere is a cross browser extension helper in this thread. Maybe it works for you.
- 90-00-09 3y agoJust FYI: manifest v3 extensions are already cross-browser. They are all based on the WebExtensions API. However, browsers have very specific constraints that require complex alternative solutions (e.g. Safari does not allow reading httpOnly cookies, so auth can't be handled easily).
- seabass 3y agoJust realized that the new Chrome webstore doesn't load on mobile, so there's also this link https://smudge.ai https://smudge.ai