r/coolify • • 13h ago

Coolify-rs

I love coolify and support its development, but the Livewire UI has always felt slow to me, and with all the security issues I wanted something leaner. so I rewrote it in rust. same API, same postgres schema, same UI, just runs as a single service (not affiliated with the coolify team btw)

on a small 2 core VPS it idles at about 30MB of ram vs 372MB for regular coolify, and the API handles around 6-9x more requests/sec. full benchmarks are in the repo

give it a shot and let me know how it performs for you!

https://github.com/coolify-rs/coolify-rs

let me know if this sort of post is not allowed here, I will happily remove this. TY

7 Upvotes

12 comments sorted by

5

u/totaleffindickhead 12h ago

Language runtime is not what makes it slow

1

u/theotherbaloch 6h ago

Agreed. this rewrite isn't against PHP or Coolify, but I wanna be honest, Livewire makes the UI feel sluggish.

if you get a chance, try running coolify-rs and coolify on similar machines with the same number of apps, you'll see the difference pretty clearly

5

u/mrNas11 4h ago

Novel idea, but the support is what matters for projects like these hence people use Coolify, otherwise we’d all be using Rust Anything to create our ports, but maintaining is the hard part.

1

u/theotherbaloch 4h ago

Agree 100%. I'm using it myself right now, but even though it's my own project I do have concerns about long-term maintenance, especially now that I have it in prod.

3

u/Extension-String1599 10h ago

Cool rewrite but alresdy exists projects like https://github.com/litepodsh/litepod that were made in rust from scratch and using podman instead of docker to enable rootless without major problems

1

u/theotherbaloch 7h ago

Thanks for sharing, I was not aware of this project, I was a coolify user since its inception

-1

u/AdUnfair9248 9h ago

I wish people would just donate all of their compute to me instead of using it for stuff like this. What would I do with it? No clue.

2

u/Extension-String1599 9h ago

You can self host your apps easily using like 63MB of ram and a great MCP. This is a real projects with real users and clients with very specific needs but I have decided to make it open source this year and see if can be another income in cloud hosted version and in self hosted version to allow users to host on cheap vps. I’d donate mine but if you promise to mine bitcoin with it

2

u/Ambitious-Profit855 3h ago

Did you consider a Coolify migration option? I'm a bit annoyed by the UI clunkiness (not the speed, but the layout/steps necessary, I even think UI before the rehaul had more overview) and might give this a chance to see if it's better organized.

1

u/Extension-String1599 0m ago

I will work on that soon

0

u/AdUnfair9248 8h ago

No shade to your project. You have people who actually use it so there must be a use case. You're better than most.

The average person is just using AI to make their own personal solutions and not sharing them or sharing low quality code. So thank you for going above and beyond.

1

u/atourino 9h ago

Sam Altman, drop this dude's phone.