HNHacker News
TopNewBestAskShowJobs

MexicanYoda

32 karma · joined January 21, 2025

submissionscomments
MexicanYoda··on How to turn off Apple Intelligence
[Disclaimer: author here] You can disable it and try an open source alternative https://github.com/sharingan-no-kakashi/orange-intelligence if you want.
MexicanYoda··on Show HN: Orange intelligence, an open source alternative to Apple Intelligence
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!

MexicanYoda··on Show HN: Orange intelligence, an open source alternative to Apple Intelligence
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.

MexicanYoda··on Show HN: Orange intelligence, an open source alternative to Apple Intelligence
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.

MexicanYoda··on Show HN: Orange intelligence, an open source alternative to Apple Intelligence
[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?