#AIBASE

58 messages Β· Page 1 of 1 (latest)

white field
#

Hi guys! Here is my submission to the Convex hackathon, it's a desktop app and a web app built with Convex, Vite, Electron and React.

AIBASE is essentially an AI wrapper that provides access to the latest models (with more being added) and allows you to create pre-configured AI helpers that are always within reach. The initial motivation was to eliminate the constant context switching between different LLM apps, providers, and tabs, as well as the need to rewrite prompts daily. Instead, we have a single app, always close by, where you have full control and can reuse and refine your pre-configured helpers.

Convex has been such a breeze to work with. Some tasks have been checked off the to-do list so quickly that it completely blew away my expectations for how long things would take. The end-to-end type safety adds a layer of sticky bug-resistance that I have not felt before. I can go on and on how good the DX is but you guys already know πŸ₯° .

Link to webapp(desktop download link coming soon after code-signing been complete): https://www.myaibase.com/
Dev post(with video demo): https://devpost.com/software/aibase

obsidian trail
#

I love the idea, and the UI is awesome. I missed Convex dashboard from the demo, but in overall a great project. Don’t leave it after the hackathon.

white field
#

Thank you man! I will definitely keep building on it, it truly a scratch-my-own itch type off app that I use daily and I have so many ideas to make it even more powerful.

I love spending time on the UI parts so thank you for noticing that, as a base I use radix themes which is amazing in itself(I just hope they keep developing it), great components and beautiful defaults.

storm maple
white field
#

surprisingly easy I must say, but, I actually started out with Tauri and then also returned to tauri v2.0, I would recommend that, much lighter, no more 200mb app

#

let me know if you have any questions

atomic dragon
#

@white field But Tauri makes things look different since Safari uses its engine to render the pages on Mac and Windows uses the Chrome engine, while Electron guarantees that it will look the same. How do you solve this?

#

"like checking text for grammar errors" is it possible to actually create something that can directly mark the text anywhere on operation system and somehow right click or icon appear and then you ask aibase to do the correction, because I do it alot of time, not this time though hehe πŸ™‚

white field
white field
atomic dragon
#

@white field I think it would be great to launch it as independent app and opensource where you enter you openapi key, I think it would give you many stars,,,

That's make sense about radix theme components.

atomic dragon
#

but it works realtime, while you type it will tell you the errors you type and you click a icon beside input and fix the gramma...

white field
#

yeah I used grammar before, they also have a desktop app

#

but would be cool to have a smarter version

atomic dragon
#

yes...

white field
#

shit, theres so much to build, too little time ^^

atomic dragon
#

I also dont think tauri is able to do that,,,since they have sandbox around your app to not access something out of the webkit πŸ˜„

white field
#

it can communicate via rust so it will work for sure

#

I actually built another little POV before that picked up the copied text and saved it to a list

#

sort of like a copy history app thing

#

so it could listen for text being copied

atomic dragon
#

copy history would be much easier, since its global I can imagine

#

but I was thinking something while you write, and as soon as you stop for a moment it give you option to replace your text with another text ..

#

like place a icon beside your text πŸ™‚

white field
#

you might be right there, that might be more tricky

atomic dragon
#

ahh so your app could be an icon...and could become visible...and you just listen to keystrokes on the global

white field
#

I was thinking of having like a command for it + floating bubble that is always on top

atomic dragon
#

yes that would be same i think...good idea

#

so the question is if you can in tauri listen for keystroke like those hacker tools listen to keystroke and register everything

#

🀣

white field
#

yeah it might not be too cozy always having it listen like that

atomic dragon
#

just dont send password over to chatgpt haha

white field
#

yeah, hehh... I guess it would not always have to listen

atomic dragon
#

you see the icon beside the input?

white field
#

yeah that always shows up in inputs(non passwords)?

atomic dragon
#

yes, but only works in browser since its extension, its much easier to develop

#

On operation level its different...

white field
#

yep, thats actually my main gig, making browser extensions πŸ™‚

#

what are you building @atomic dragon?

atomic dragon
#

check DM

scarlet coyote
#

Hey, Gustav! I hope you don't mind me asking. Did you do anything else than to follow the standard React convex guide when working with Electron? I've implemented Convex auth in React but the request ends up getting stuck, although it works perfectly fine when I run the electron app in my browser. Thank you in advance! πŸ™‚ @white field

white field
#

Hey Elias, no worries, I will take a look at how I did it...I actually started out using tauri then went to electron and then back tauri again

scarlet coyote
#

Yes, it could make more sense to switch to Tauri if I could use the Next.js implementation for Convex I'm more experienced with

white field
#

yeah I really didn't like the huge ass file that electron spit out compared to tauri which was 10-20x more lightweight + overall just feeling more snappy as well.

reason for doing electron was that it was easier to get a "signed" macOS build but I think its now solved in tarui with nebula cloud, they now also have something called taurify, could be worth checking out

#

@scarlet coyote found and looked at my old electron build, nothing out of the ordinary. Used vite and followed the default setup for it.

Do you get any logs when you get stuck?

scarlet coyote
white field
#

try it, you wont regret it

scarlet coyote
#

This shows how the Electron app works great on localhost compared to Electron

scarlet coyote
#

Did you use React.js or Next.js in Tauri?

white field
#

react(vite)

eternal wagon
# white field react(vite)

This project is AWESOME!!
is it still open source?

Also, how did you get auth working in Web View? πŸ™‚

white field
#

ty @eternal wagon πŸ™ ... I have been working on retrofitting the whole project with the new agent framework + workOS to re-release it and opensource it