AI Income LabJoin AI Income Lab ↗

Odysseus desktop app: Electron wrapper finished with Codex

Jump to video chapters

Watch on YouTube ↗ Subscribe on YouTube ↗

By · · 9:39 · 1,250 views

Written guide: Wrap Odysseus in an Electron Desktop App With an AI Agent

Wrap Odysseus in an Electron desktop app. Mike asks Odysseus with DeepSeek V4 Pro to build it, the run stalls on an npm install, and Codex plus the terminal finish the job. The app crashes once, then runs in its own window using about 2.3 GB of memory. Credits used in OpenCode: 31 cents.

Video summary

Odysseus AI setup walkthrough — build your own desktop shell for PewDiePie’s open-source agent.

The video covers 9 parts: Intro and the finished desktop app, Ask Odysseus to build an Electron wrapper, DeepSeek V4 Pro generates the Electron files, Find the Electron folder and launch script, Switch to Codex after a stalled install, Run npm install and launch from terminal, Sign in and recover from a crash, Add the desktop icon and check memory, and Total build cost and wrap-up.

What this video covers

What you build

A standalone Electron desktop app for Odysseus that opens the local web interface in its own window, with a launch script and a README.

Tools used

Compare pricing: OpenCode. Some ↗ links are affiliate links, so I may earn a commission or credit. See every tool I recommend →

Key steps

Not covered

Summary written from the video's transcript and chapters.

In this video

  1. 0:00 Intro and the finished desktop app
  2. 0:40 Ask Odysseus to build an Electron wrapper
  3. 1:21 DeepSeek V4 Pro generates the Electron files
  4. 2:41 Find the Electron folder and launch script
  5. 4:40 Switch to Codex after a stalled install
  6. 5:41 Run npm install and launch from terminal
  7. 6:40 Sign in and recover from a crash
  8. 7:40 Add the desktop icon and check memory
  9. 8:41 Total build cost and wrap-up

Questions and answers

Did Odysseus build the whole app?

It created the wrapper structure, but its npm install stalled. Codex and terminal commands finished the setup.

What did the Odysseus app cost to build?

Mike reports 31 cents in total on DeepSeek V4 Pro through OpenCode.

Where can I get the Odysseus desktop app?

It is not published. Mike says he may suggest it to the Odysseus project.

Transcript

Hey there, welcome to the channel. In this video, I'm going to be taking you through and showing you how to build your own desktop app for Odysius, which is the powerful new AI tool that PewDiePie just recently announced. He's got about 100 million subscribers on YouTube. And you can see it running right here. It's running inside its own window. So, you don't have to use the browser. Everything works over here. We've got all of our AI models connected already. You can change the theme.

You can do everything. no different from with inside the browser only this is a standalone desktop app that I've just created in about 15 minutes using Odysius itself. So with that being said, let's go ahead start the tutorial. Please subscribe to the channel if you haven't already. So I just recently installed this on my computer. I made a full tutorial giving the full rundown of how to set up, install, and use it. This was created by PewDiePie.

Read the rest of the transcript

It currently has around 64,000 stars over here on GitHub. And since it's open source, I have access to all the code. So I want to see if I can build my own desktop app inside Odysius, which will run Odysius in its own window so that I don't have to run it in the browser. So I've just come over to Odysius and I told it, can you build a desktop app in Electron I can run on my machine for the current project Odysius?

So this is really meta. I'm going to be using Odysius to build a desktop app for Odysius. And you can see here using Deepseek V4 Pro. It says, "Let me first explore the project to understand what Odysius is and how it's structured." So now it has a clear picture. It's a fast API Python backend with a rich static web UI local web server app.

Now it's going to build the proper Electron desktop wrapper for it so that I can run it in its own standalone desktop app. will be really cool to see if this actually works. It's going to build the full Electron desktop app and create the complete structure inside the project, which is awesome. And it's going to create the Electron process and it's going to create the launch script and generate the icons.

And it's going to add the Electron scripts to the project roots package.json and verify the files are correct. Now, I've just told it to run the desktop app built in Electron, and it looks like it didn't go ahead and do that. So, we're just going to continue. And we also have the package.json over here as well. You can see what that looks like. And basically, what we're doing is we're just adding an Electron wrapper to this for Linux, Mac, and Windows.

Let's see if this actually works. It says it doesn't have the prior conversation context. So, it's asking to review and suggest improvements. Uh, add dependencies. So, we definitely want to add dependencies. So let's just see if we can run the desktop app in Electron. So it's got that and now it's going to look at the structure. It can see the Electron directory exist. So it may already have a desktop app built into this. Let's go ahead and come into projects.

We can come into Adysius and boom, there's the Electron app folder which I think I created. Uh but it looks like the Electron app is already built. So it's going to install the dependencies and launch it. And then we should have our own desktop app. So I don't have to use the browser all the time. I could just use the desktop app. So this would be pretty cool if this actually works. And hopefully we can get this desktop app running.

If you guys would like access to this, uh I'm not exactly sure how you get access to it cuz I'm not going to merge this with the current GitHub. Now it's saying the package.json the user has open in the editor is not saved to disk, but it was able to do this earlier. So now it's found everything in the electron directory. And I think we should just be able to run this launch.shell file right here.

And it should open it up, but I'm pretty sure that it can do it inside Odysius as well. So it's just going to run the Electron desktop app. This will be really cool if it actually works. But now it's saying that the node modules exist, but Electron binary is not there. So now it basically just needs to install some dependencies, which it's doing right now. and we should be able to get this desktop app running relatively quickly.

I've already done this for other projects like I built a stock tracker app and I just created a desktop wrapper around it so that it can run in its own window and I don't have to use localhost in the browser and that's what I'm trying to do for Odysius now as well. So it's basically just doing an npm install to install all the dependencies. So now it should have all of the dependencies that it needs.

And of course, like I say, I could use OpenCode or Codex to do a lot of this stuff as well. It would probably be faster, but for the purposes of this tutorial and demo, I just wanted to use Odysius to show you what this can do. So now, it's currently been running for about 8 minutes doing the npm install, and it seems to have hit a snag over here inside Odysius. Just taking very long to finish this.

So, I've also started building this out in Codex over here as well. Same thing. I just told it to build the desktop app in Electron. I can run on my machine, and it's going ahead and doing that. We should already have all of the Electron wrapper set up already. And it should be able to figure this out over here. And that should just go ahead and stop it. Stop that current task since it's taking a bit longer than I expected.

And then we can just finish it up over here inside Codex which I'm running in the terminal. And we can also take a look at OpenCode over here. See how many credits I've spent in total on DeepSeek V4 Pro. Currently we're sitting at 29. So we spent virtually nothing in order to build this desktop app for Odysius using Deepseek V4 Pro inside OpenCode. So that's awesome. So it's looking like it's just calling that launch.sh file which we can also go ahead and open up.

If I come over here, I can cd into the Electron folder and we might even be able to just run that launch.sh file and that should launch it. But it says Electron is not found. So, we would need to do an MPM install. And that's just going to install all the dependencies that it needs for the desktop app, which looks like it's also doing over here inside Codex, but we can do it even faster over here in the terminal.

And then we should just be able to run that shell script and it should launch this in its own desktop app. And also if we take a look at the readme file that it created in the electron folder just says all you have to do is cd to electron and then run the launch.sh file and then npm install npm start. You can also do this as well. You don't have to run the shell script. Oh, there we go. So there we go. Look at that.

So now we have our own desktop app running right here. And hopefully it's even faster than doing this inside the browser. We can go ahead and sign in. I will need to do the two factor authentication real quick, which I've set up through the Oh, just crashed. That's not good. So, let's do npm start. I'm not exactly sure what happened there, but the desktop app did crash for some reason. So, let's just go ahead and try that again. There we go.

Look, it's getting all the files. And let's try that again. So, I'm going to sign in. Hopefully, it doesn't crash this time. There we go. So, should accept my two factor authentication and you can see everything it's doing over here. Now, look at that. We've had got our own desktop app running uh for Odysius. So, now I don't have to use the browser. I can basically just close this out and it's already got everything saved over here.

So, now we have our own desktop app for Odysius. And I can zoom in over here as well. That is very cool. So, basically right now I can just go ahead and add the icon to my desktop over here. And then all I have to do is click on that icon and it will open up the desktop app for Odysius. And it works pretty much exactly the same as it would in the browser. As you can see, I can move these windows around.

I can attach them to the right or left just like we can do inside the browser. The only difference is that this is a standalone desktop app that is running on my Debian Linux machine. So, I look forward to playing around with this. And we can also take a look at how much memory this is using as well. So, if I go ahead and open this up, it looks like uh the console is using about 2.3 gigs of memory. That's pretty decent.

We can probably also speed this up even more if we want to, but for now, let's just go ahead and test this. I'm just going to do test. And right away, I can say this is quite a bit faster, it seems like, versus running it inside the browser. And again, we can see everything it's doing over here inside the terminal. No different than before. And you can see it's even renamed it the Odysius desktop over here as well. There's the desktop app for Odysius.

If you want access to this, I'm not exactly sure how I would give you access. Um, but I may, you know, reach out to PewDiePie and see if he would be interested in uh integrating this into his existing repository on GitHub because I think this is a nice feature to have. And we've built this entire thing for let's see how much did we spend in credits. Let's check it out.

So, we've spent 31 cents in total to build this desktop app for Odysius using DeepSeek V4 Pro inside OpenCode. So, you don't have to spend tons and tons of money to do this stuff. We've got all of our models over here as well. No different than the browser app. If you've got value from this video, please go ahead subscribe to the channel and then also go ahead and check out my Skool community. We've currently got almost 3,000 members over here. It's growing fast.

Completely free to join.

Not ready to join? Get the weekly build notes: new guides and tested builds in one short email.

You may also like