Show HN: Meli, a Netlify-like platform for deploying static sites
github.com
github.com
We used to host our sites on Netlify, but our eyes fill with glitter when we hear open source and self-hosted. So, we built Meli, which essentially is a Netlify alternative that lets you deploy static sites and frontend applications with ease, featuring per-branch deployments, web/slack/mattermost/email hooks, an API, and a way to manage organizations, teams and sites easily.
We built Meli on top of Caddy, a very powerful HTTP server (https://github.com/caddyserver/caddy). We've used Typescript, Node (backend), React (frontend) and MongoDB for the database.
It's a beta, but you can install super easily with Docker Compose: https://docs.meli.sh/get-started/installation
Check us out at https://github.com/getmeli/meli !
Looking forward for your feedback :)
[0] - https://github.com/getmeli/meli/blob/79e20c00ba/LICENSE
https://metricon.azureedge.net/Metricon/media/metricon/about...
I have several free sites on Netlify and none of them seem slow at all - all three sites load in under 450ms on Chrome.
How much faster are your sites loading? Is it a shared VPS or dedicated?
Just curious how you categorize "rather slow" is all.
Does this also measure the time to connect to the server? Not sure if Chrome is perfectly correct. I used https://tools.pingdom.com
I'm German. My free Netlify sites load twice as slow from Germany than from the US. US: 1.2s, Germany ~2.5s (and I thought Netlify has servers all around the world?!)
But still, 1.2s is very slow imho. My website on a dedicated VPS, hosted in Germany, loads in 1.2s from the US and 200ms from Germany. The connection time being the slowest part of all. All websites are static and rather small.
Maybe it's unfair to compare the free Netlify server to a paid dedicated VPS, but since this thread is about "self-hosting" vs "using Netlify", I just pointed out that Netlify is slower in my case.
> My use case is to deploy a static site. I have a directory containing the pages. I've installed the Netlify CLI (itself a stupidly fiddly process). [And I've read the docs by now.] I should be able to init and deploy, trivially, right?
Wrong. Without even trying I ran into some crash bugs in the CLI, for what seems to be a bog-standard use case. On a hunch, I decided to check what would happen if I moved the .git subdirectory somewhere else and re-ran. And whaddaya know, I found that it worked reliably when there was no .git subdirectory anywhere to be found, and it reliably failed when it was present. So even though the contents of .git/ are completely irrelevant for the use case, the CLI is evidently both (a) trying to do something with it, and (b) making some bold assumptions about what's in there and failing hard. My money is on "Nobody at Netlify is even testing this."
(FWIW, no I didn't report this. The overall "feel" of their stuff leads me to believe it would be a painful experience with no upside. Several years ago, I interacted with some Netlify folks early after their launch to give some feedback that was more of the sort "I'm reaching out to inform you of a problem for your own benefit and help you resolve it" than it was anything like "I'm here to get you to help me with my problem". The overall tone of the responses were pretty obnoxious under those circumstances, so I noped out and never gave them any serious consideration until this year, where I discovered the situation above. I have to say it pretty much validated my early opinion.)
sorry to hear about your prior experience. fwiw the CLI was not fully staffed for a long time - but as of last year at least 2 engs are working on it fulltime and they should have capacity to look into your usecase if serious enough.
yes, the CLI looks into .git, no i'm not sure if it was needed for what you were trying to do, but also no i have never run into the issue you describe as an almost-daily user of netlify for 4 years
Works a charm. Glad to see more work in the space.
https://git.eeqj.de/sneak/synshop.info/src/branch/master/Doc...
Feel free to drop me a line if you have more questions, my email address is in my profile.
You can host a static website via an S3 bucket.
https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosti...
Maybe there's a way to also setup git sync with S3 buckets, but with netlify this is the default. And it's just so comfy to deploy with every git push.
Also using any of the other netlify add-ons (forms, cloud functions) is super quick and simple. Something that I (admittedly an ops noob) can't say about AWS.
- HTTPS with automatic certificate provisioning
- CDN
- CI/CD integration
- Add-on features like CMS, identity management, functions, etc.
They also tend to offer those things for free, within certain usage limits. If you just need a plain HTTP site with no frills S3 is just fine.
It makes me a little concerned that there are so many features.
*Can't speak to Meli as I've never used it.
It's effortless.
Like how it looks locally? Git commit, git push. Done.
That kind of ease of use does wonders for your customer service numbers.
At first glance, seems to do something similar to Caprover.