Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add clipboard as placeholder? #446

Open
ericpa06 opened this issue Apr 2, 2024 · 0 comments
Open

Add clipboard as placeholder? #446

ericpa06 opened this issue Apr 2, 2024 · 0 comments

Comments

@ericpa06
Copy link

ericpa06 commented Apr 2, 2024

Hello. I end up finding your extension when searching a way to manage prompts and I noticed that it had practically all features I wanted with the exception for being a way to pass the current clipboard content as a placeholder, the same we do it with date, time, user-agent, etc. So for instance:

image

Would copy the current clipboard content plus that phrase "Summarize this text for me."

As far as I know, and as I managed to use the extension I couldn't find this feature. I'm absolutely a noob, but I tried to implement it with with the help some LLMs, again, I'm pretty noob, but it seems to be working. I modified the extension permission to add the ability to read from the clipboard and modified the "_hostClipboardName" function, as well as creating a new placeholder variable $CB.

If you are interested on implementing this code, or if anyone reading this wanted this functionality, I made a little fork that does that

clippings-6.5.3-fork.zip

@ericpa06 ericpa06 changed the title Add clipboard as placeholder Add clipboard as placeholder? Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant