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

Implement logic to capture the current selection or clipboard content. #11

Open
Tracked by #2
sammcj opened this issue Nov 7, 2023 · 0 comments
Open
Tracked by #2
Labels
enhancement New feature or request

Comments

@sammcj
Copy link
Collaborator

sammcj commented Nov 7, 2023

The application should be able to grab the current selection or clipboard content when the hotkey is pressed.


Sam -

As a user, I'd like to be able to highlight text in any app on macOS, trigger the app with a hotkey and have it parse the selected text to Ollama along with a prompt or a list of prompts to choose from.

Examples:

  • <highlight text in an email>, <press hotkey>, select a function (prompt) such as "Make language more formal", <ollama processes the request>, clipboard is updated with the response and/or the app pastes the response back into an active text input field.
  • <copy a list of filenames from a directory, e.g. ls -1>, <press hotkey>, select something like 'ask ollama', input something like 'in the file listing selected, are there any files with the title Sam?', <response>
  • etc...
@sammcj sammcj mentioned this issue Nov 7, 2023
18 tasks
@sammcj sammcj added the enhancement New feature or request label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant