HNHacker News
TopNewBestAskShowJobs

ralfelfving

257 karma · joined March 25, 2023

Learning how to build things. 11 years of data and product at Klarna, Shopify and Gadget.dev
submissionscomments
ralfelfving··on Show HN: MacGaiver, a free GPT-V powered macOS assistant (BYO API key)
Hah, really appreciate your encouragement. The previous post where I shared the GH repo got an enormous acknowledgement so maybe it just averaged out? :)
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Added the text input option today.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Added text input instead of voice as an option today.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
It was a joke.
ralfelfving··on Show HN: Made a "milestone celebration" video/GIF generator
Simple and smart, wish I had thought of this myself.
ralfelfving··on Show HN: Genji – AI browser ninja that can complete any task on Chrome
This is cool, but similar to another commenter, I would only use it if I had built myself.

But that it makes people uncomfortable means its ahead of its time (it's a compliment).

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
It would be really cool, and I think we're not very far away from this being something you have on your phone.

The pilot name comes from Microsoft's use of "Copilot" for their AI assistant products, and I tried to play on it with macOSpilot which is maco(s)pilot. I think that naming has completely flown over everyone's heads :D

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
I've not tried this on Windows, but might actually work if you run the packager. Try it. If it doesn't work, there shouldn't be too much that is macOS specific -- so you should be able to tweak the underlying code to work with Windows with fairly few changes.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Yes. I think you commented this somewhere else, and I like it. I was considering doing something similar to have it execute keyboard commands, but decided it would have to wait for a future version. I think click + type + and performing other actions would be powerful, especially if it can do it fast and accurate. Then it's less about "How do I do X?", and more "Can you do X for me?".
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
If you're ok with it, you can use the mobile app -- it supports voice. Then you just have the same chat/thread open on your computer in case you need to copy/paste something.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Did you change the GPT Vision system prompt at all? I wonder if changing it to state getting help with specifically Ableton, and maybe some guidelines around what kind of help you want could make it better?
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Didn't even think of them to be honest.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Thanks. Had no plans, but might give it a try at some point. For me, personally, using OpenAI for this isn't an issue.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
I think a prompt cost estimator might be a nifty thing to add to the UI.

Right now there's also a daily API limit on the Vision API too that kicks in before it gets really bad, 100+ requests depending on what your max spend limit is.

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
I have a hard time saying how much this particular application cost to run, because I use the Voice+Vision APIs for so many different projects on a near daily basis and haven't implemented a prompt cost estimator.

But I also pay for ChatGPT Plus, and it's sooo worth it to me.

If you'd like to skip Plus and use something else, I don't think my project is the right one. I'd STRONGLY suggest you check out TypingMind, the best wrapper I've found: https://www.typingmind.com/

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
I personally have no experience with configuring or triggering keyboard shortcuts beyond what I learned and implemented in this project. But with that said, I'm very confident that what you're describing is not only possible but fairly easy.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
There's a way for sure, it's just not implemented. Allowing for more configurability of the window(s) is on my list, because it annoys me too! :)
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
You're not the first to request. Might add it, can't promise tho.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
No, my thought process never really stretched outside of what I built. I had this particular idea, then sat down to build it. I had some idea of getting OpenAI to respond with keyboard shortcuts that the application could execute.

E.g. in Photoshop: "How do I merge all layers" --> "To merge all layers you can use the keyboard shortcut Shift + command + E"

If you can get that response in JSON, you could prompt the user if they want to take the suggested action. I don't see myself using it very often, so didn't think much further about it.

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
It's a basic demo to show people how it works. I think you can imagine many other examples where it'll save you a lot of time.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Oh LayerMosaic is dope. I'm not entirely sure how it works, but the sounds coming out of it is good -- so you have me intrigued! Can I read more about it somewhere, I might have a crazy idea I'd like to use this for.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
My brain read midjourney until I clicked on the GH link. What a great name, MIDIjourney!
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Oooh. Yes, very interested in MusicGen. I played with MusicGen for the first time the other week and created a little script that uses GPT to create the prompt and params which is stored to a text file along with the output. Let it loop for a few hours to get a few 100 output files that allowed me to learn a bit more about what kind of prompts that gave reasonable output (it was all bad, lol!)
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Hey, OP here. I don't have a Windows machine so have not been able to confirm if it works, and probably won't be able to develop/test for it either -- sorry! :/

I suspect that you should be able to take my code and only require a few tweaks to make it work tho, shouldn't be much about it that is macOS only.

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Nice! Although the productivity increase from being able to resolve blockers more quickly adds up to a lot (at least for me), local models would be more cost effective -- and probably feel less iffy for many people.

I went for OpenAI because I wanted to build something quickly, but you should be able to replace the external API calls with calls to your internal models.

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
It should work for any macOS app. It just takes a screenshot of the currently active window, you can even append the application name if you'd like.
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
So glad when I saw this, thanks for sharing this! It was exactly music production in Ableton was the spark that lit this idea in my head the other week. I tried to explain to a friend that don't use GPT much that with Vision, you can speed up your music production and learn how to use advanced tools like Ableton more quickly. He didn't believe me. So I grabbed a Ableton screenshot off Google and used ChatGPT -- then I felt there had to be a better way, I realized that I have my own use-cases, and it all evolved into this.

I sent him your video, hopefully he'll believe me now :)

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Hmm.. OpenAI bunch a few things into some error. Iirc this could be because you're out of credits / don't have a valid payment method on file, but it could also be that you're hitting rate limits. The Vision API could be the culprit, while in beta you can only call it X amount of times per day (X varies by account).

Make the console.log:s for the three API calls a bit more verbose to find out which call is causing this, and if there's more info in the error body.

ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Before we know it, even voice might be obsolete when we can just think :) But maybe at that point, even thinking becomes obsolete because the AI:s are doing all the thinking for us?!
ralfelfving··on Show HN: Open-source macOS AI copilot using vision and voice
Fair point, didn't think it would matter so much. Can't edit it any more, otherwise I'd change it to add OpenAI to the title!
Page 1 of 2Next →