Hacker News new | past | comments | ask | show | jobs | submit | MexicanYoda's comments login

[Disclaimer: author here] You can disable it and try an open source alternative https://github.com/sharingan-no-kakashi/orange-intelligence if you want.

Hi, thank you for checking out the project!

The floating windows function processes all callable objects defined in the extensions package as text-handling functions.

This repository provides the backbone structure that makes it all possible. Users only need to add their custom logic as a Python callable in the format (input_text: str, *kwargs) -> str anywhere within the extensions package!

For example, implementing an OpenAI call is as simple as defining a function like this:

https://github.com/sharingan-no-kakashi/orange-intelligence/...

The function should accept a string as input and return a string as output, containing the proper implementation (e.g., HTTP calls, prompts, etc.). It's straightforward and intentionally left minimal.

Everyone is welcome to contribute, add their requirements, and customize the code to fit their specific needs with Orange Intelligence.


Ok so the answer is that these integrations are not implemented, even if the configuration has a field for an OpenAI API key (obviously just as an example).

Thank you for clarifying. Good luck with this project! I'll keep an eye on it and see how it evolves.


Thank you!

I've just introduced a super simple integration that uses OpenAI to generate jokes based on the <selected text> topic!

Of course, it can also be used to create more meaningful content.

I’d love to hear your suggestions or feedback on how to make this even more helpful!


Using pynput (https://pypi.org/project/pynput/), it listens for the option key being pressed twice, which triggers the opening of a floating window.

This serves as a signal that the user wants to process the highlighted text, prompting the floating window to open.

Once the floating window appears, the already-typed text in the focused application is captured and processed.


[Disclaimer: I am the author] I completely agree—I wouldn’t install it either without reviewing the code first! Thank you for being the first person to provide feedback on my tool; I really appreciate it.

Here’s how it currently works:

    Press the Option key twice.
    A floating window appears.
    Select the action you want to perform.
    Press Enter—the window closes, and the text is replaced.
Which part of this flow would you change?

press a third time to perform a default action or replay last action

Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: