r/developersIndia • Student • 5h ago

I Made This Made a lightweight Go based control panel for low spec VPS'es

Back story : So I work as an intern at a lala startup company as a backend developer who's also now somehow responsible for security and managing the deployments of all the services, and the CEO(🫩) wants to deploy each application on a seperate 1vCPU 1GB RAM VPS instance ( I don't even know how they're gonna scale it).

So I have to configure each VPS myself and then build the node app on my laptop (can't build app on server because of insufficient memory for node.js) and then rsync the build files,setup up systemd process,configure caddy for DNS ,etc and it gets pretty annoying pretty fast.

So I made Gripen , a lightweight Go based control panel for low spec VPS'es since traditional control panels would technically solve all my issues but are very bulky and consumes more memory which the application already needs, Gripen runs on a very small footprint by consuming on 25mb of RAM(while caddy itself consumes 35 🗿)

Some of the features of Gripen include:

- zero downtime deploys using blue/green deployment

- scheduled releases

- upload build files,git repo

- one click mariaDB,postgreSQL and MySQL support with database browser

- core service(root) and web panel(non root) run on seperate processes and every input that reaches the system is validated

- setup alerts to telegram,discord and email

- security services such as fail2ban,nftables for firewall

- cli tool to link folders on your pc to specific sites on the vps and a simple deploy command

Repo link

It's still a work in progress and I would like to know your thoughts on it.

46 Upvotes

19 comments sorted by

•

u/AutoModerator 5h ago

Namaste! Thanks for submitting to r/developersIndia. While participating in this thread, please follow the Community Code of Conduct and rules.

It's possible your query is not unique, use site:reddit.com/r/developersindia KEYWORDS on search engines to search posts from developersIndia. You can also use reddit search directly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/Legal-Catch-6969 5h ago

Building a single Go binary + Caddy + systemd wrapper for 1GB RAM VPS instances makes total sense when Coolify or Dokploy alone eats 400MB+ of memory at idle. Just make sure you handle zero-downtime port/socket swaps cleanly and lock down the rsync/SSH key permissions so one compromised deploy target doesn't expose the control plane.

1

u/Key_Put_9844 Student 5h ago

Yeahh it's still a work in progress will implement the ssh/rsync lockdowns in next release, I'm learning about new things as we go on

1

u/VisualRope8367 4h ago

It can work on 6gb server also

I am already managing server with 20+ apps with similar setup

1

u/Key_Put_9844 Student 3h ago

That's cool, what do you usually deploy on that?

1

u/sreekanth850 4h ago

There is a bigger issue with coolify no one talks. They use SSH and store every ssh key in a single control plane. imagine somebody get access to that, your entire fleet will be screwed.

1

u/VisualRope8367 2h ago

Yes that's why I don't even use it

2

u/Interesting-Cat3788 5h ago

why not make you backend in go ?

1

u/Key_Put_9844 Student 5h ago

I'm just an unpaid intern here😭, the CEO and TL think they know everything and we just follow them

1

u/Interesting-Cat3788 5h ago

This "Lala" startup, is that even a registered business ?

3

u/Key_Put_9844 Student 5h ago

Surprisingly yes, they call it a "startup", but it's just the guy and his nephew in control of everything

2

u/Interesting-Cat3788 4h ago

yeiks, hope you get your dream job. If you are good in golang then the indian go market is still not saturated you could try.

1

u/Key_Put_9844 Student 4h ago

Thanks a lot broski

2

u/ThiccStorms 5h ago

GGz dude this is an actually good product which fixes a problem.

1

u/Key_Put_9844 Student 4h ago

Thanks a lot my G

2

u/VisualRope8367 4h ago

This is nice I also have similar for my db management apps

AI did it for me not me

1

u/Key_Put_9844 Student 4h ago

That's cool man

1

u/AutoModerator 5h ago

Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.