r/coolgithubprojects • • 20h ago

I made a self-hosted alternative to ChatGPT with native mobile apps and disposable linux workspaces

Post image

I've been working on a self-hosted version of ChatGPT for the last 5 months. I'm excited to finally
share it. I've been testing it with around 30 friends on my own self-hosted instance.

Check it out, I'm very open to feedback :)
https://github.com/IsaacThoman/pulpo

Some things that make this app unique

  • It uses a Pi agent on the server, which can use bash through K3S managed Linux VMs
  • Agents are fast to spin up because it assigns VMs from a configurable warm pool
  • Pi also has web search, file/document storage and editing, and computer use
  • Native mobile apps that stay perfectly in sync with socket.io
  • User spend/budget management
  • A friends and leaderboard system to compare usage by different models with friends
  • It caches recent chats in browser storage for quick switching between threads

If you want to try it out quickly, I have my own instance hosted at https://pulpo.baby for anyone to experiment with

0 Upvotes

12 comments sorted by

3

u/Stoatled 18h ago

A lot of self hosted or local LLM harnesses on Android are really bad or limited.

Kai9000, Loci, AnythingLLM, etc.

Most of them are incapable of seemingly simple things like setting/reading events on your calendar despite many being advertised as Assistant replacements. Or they expose their tools in a bad way that hides them from the model. So a bidirectional bridge for device-local tools or synced services would be nice.

Is this going to be any different? If it's a ChatGPT replacement then I feel various Android API integrations as plugins would be incredibly useful.

1

u/Only-Relationship730 18h ago

Ooh that's a really cool suggestion. I'm going to start looking into that now. I assume you mean like a Google assistant replacement?

Because it's just a Pi agent under the hood, it shouldn't be hard to just expose more android-specific tools to the agent loop. The models are really well behaved in the app as it is now. Don't see why that wouldn't stay the case. I'm going to mess around with this. I'll keep you posted :)

2

u/Only-Relationship730 18h ago

Also I've already been experimenting with something kind of similar for the windows and mac desktop apps by adding additional computer use tools when you enable it. I think adding more android-specific stuff would make a lot of sense.

2

u/Stoatled 18h ago

Awesome, thanks for considering it. Yeah I should have been more clear, I absolutely meant like a Google Assistant replacement. Since the ChatGPT app can replace the default assistant it feels like it'd be a natural fit.

1

u/AbleScar2706 19h ago

Checking it out!

0

u/Only-Relationship730 19h ago

let me know what you think!

-2

u/milkedpigs 19h ago

Tiny models + vibe coded + openweb-ui exists

0

u/Only-Relationship730 19h ago

> Tiny models
Yes! Modern small models are actually great for day to day use. There isn't really a need for smarter models unless you're doing long running agentic/software engineering work.

> Vibe-coded
Not sure what to say to that. Yes, I used AI assistance in the development process but take responsibility for its unique architectural decisions?

>OpenWebUI Exists

I know! I ran an OpenWebUI instance for months and heavily modified it before finally deciding to make my own app. The bullet points in this post are a few of the reasons I finally decided to build my own app. None of these features exist within WebUI (except for web search maybe but it isn't really comparable since it's not agentic)

1

u/Only-Relationship730 18h ago

I've been really impressed by how competent small models are at using computers. That's a big part of why I built this.

One example use case where this excels over something like OpenWebUI is a user uploading a document. OpenWebUI parses the document into tokens and feeds it to the model, which is somewhat expensive and can be inaccurate. It's also less aware of the document type (a 10 page slide deck needs to be parsed very differently than a 300 page book)

Pulpo doesn't parse any files. Instead, it just tells the model the user uploaded a file and that it's available at a certain path in its workspace.

Once the model reaches for a tool that requires a workspace, an ubuntu VM is assigned from a warm pool and the attachments from that thread are copied into it. The model is then able to use the computer to poke at the file through the computer. This leads to a more accurate response + fewer tokens used by the model blindly intaking the entire document.

It's also useful because the model can attach files back to you, as well as solve problems that require multiple steps (e.g. web searches that rely on answers to previous questions, searches depending on files)

-2

u/milkedpigs 16h ago

You didn't make the app, you wrote prompts. That's the problem.

1

u/LU53RRR 14h ago

you didnt make the egg, you boiled it ahh reply

1

u/milkedpigs 12h ago

Yep same analogy