Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The same ways Vercel makes it harder to deploy Next.js sites to competitors or for self hosting.




Vercel does not make Next.js hard to deploy elsewhere. Next.js runs fine on serverful platforms like Railway, Render, and Heroku. I have run a production Next.js SaaS on Railway for years with no issues.

What Vercel really did was make Next.js work well in serverless environments, which involves a lot of custom infrastructure [0]. Cloudflare wanted that same behavior on CF Workers, but Vercel never open-sourced how they do it, and that is not really their responsibility.

Next.js is not locked to Vercel. The friction shows up when trying to run it in a serverless model without building the same kind of platform Vercel has.

0. https://www.youtube.com/watch?v=sIVL4JMqRfc


So it is vendor locked by Vercel. That's why there is OpenNext - https://opennext.js.org/

Next.js isn't just a static site generator.

Astro isn't just a static site generator either. Not sure what your point is.

Yes it is. All of the providers support “Static”, which literally means uploading /dist to your provider of choice.

They also have three pages worth of deployment adapters for one line deployment on many platforms, including many built by the community. https://astro.build/integrations/?search=&categories%5B%5D=a...

Did you even bother to look at their site or even better the guides I posted upthread or just decide to pull that out of your ass?


Did YOU even bother to look at their site? They support more than static generation, including SSR and even API endpoints. That means Astro has a server that can run server-side (or serverless) to do more than static site generation, so it's not just a static site generator either.

And yes I can see you're posting the same lie all over the comments here.

Stop being a potty mouth.


Can you describe what you mean here? Because I have heard this about 100 times and never understood what people mean when they say this. I am hosting a NextJS site without Vercel and I had no special consideration for it.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: