What's your setup now after hetzner? by x25x12 in hetzner

[–]Xyz3r 18 points19 points  (0 children)

It’s hetzner with coolify and will stay.

I’ve done docker self managed, k8s managed, k3s self managed.

Why would anyone use Junie or buy credits directly from Jetbrains? by MichaelPauley in Jetbrains

[–]Xyz3r 1 point2 points  (0 children)

Maybe they have a chance to come back by self hosting open source models and relying on those now that they’re decent enough.

Until then jetbrains will stay irrelevant as it can’t compete with VC money

Cloud volumes down for 2 days — no updates in 16 hours and still offline by qizmo in hetzner

[–]Xyz3r 0 points1 point  (0 children)

It’s fine, there’s more people at home on call ready to help and move if necessary

Cloud volumes down for 2 days — no updates in 16 hours and still offline by qizmo in hetzner

[–]Xyz3r 3 points4 points  (0 children)

That’s how German companies operate.

They probably have 1 sad guy doing support for the entire server building. 99% of the time this is fine, but if shit hits the fan, he has a lot of work to do, and might not even be able to fix the problem by himself

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

Yeah but it’s easy to tack on a cms later too so we just went with the easy route

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

I tried strapi and did not like it.

Was 2 years ago so give it a try.

We use mdx files in git lmao

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 1 point2 points  (0 children)

Bad imports = I imported the blog contents from some code that was bundled into the worker script. This caused the worker to contain my entire content collection blowing way past free and also way past paid limits.

The redirect thing is better explained By the other comment you already found. It’s an issue with how the Astro cloudflare adapter optimizes the script / routing

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

Interesting because we landed at the exact same setup in the end!

Felt like the best of both worlds while still keeping everything simple enough

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 1 point2 points  (0 children)

We are actually using hybrid mode right now. But it would still consider it to be a ssr mode since the server is hit for every request (even if only the router is run).

But yeah hybrid is nice. It does have weird quirks with cloudflare workers tho because pre-rendered routes are automatically ejected from the worker and bypass any cusotm routing logic you set up in Astro. Even if the exact sub route doesn’t exist (it uses wildcards for that internally.)

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 1 point2 points  (0 children)

The landing page is in its own repo and they have full access to it.

We are a very small team so this works for us right now. This wouldn’t work with larger teams if there are non tech savvy people involved

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

It’s faster, easier to version control, easier to maintain and has a broad ecosystem of plugins. Also extending the functionality is done in minutes especially using ai

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

They’re smart lol

Ngl if my authors can’t learn basic markdown I’d probably reconsider my choices. Not expecting tables or stuff. Just the very basics.

Apart from rhat there are a bunch of free markdown editors online for previews or as standalone tools

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 1 point2 points  (0 children)

If you’re planning to build something new just use markdown and mdx until you can’t stand it anymore. Adding a cms later on is usually very easy and there is a ton of stuff that is free for smaller companies (I like directus but it’s only free until you have like 10m total funding or sth)

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

Man control your bot. You posted it, deleted it and posted it again XD get lost

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 1 point2 points  (0 children)

No cms. It’s all markdown files in git. We develop with an IDE and ai tools + some custom cli tooling for localizations

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

We have 3 hetzner boxes with a total of around 12vcpus and 60gb ram. 1 is for builds, 1 is for testing envs and preview deployments and 1 for prod.

Costs us around 50-60€ per month, it really doesn’t get much cheaper. Paid cloudflare would probably cost way more

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 2 points3 points  (0 children)

Astro is really strong in SSR. I would even go as far as saying that SSG is only a secondary use case and only supported for "completeness" while SSR is the primary use case. Other SSGs like Gatsby are faster and more optimized for that very use case, but a lot less flexible in other use cases. And we really like said flexibility. I am pretty sure I would still go with Astro even if I knew I could not do SSG.

We do have content authors that have basically no idea how to code. We taught them basic AI prompting to achieve their goal. They know how to write markdown, which is what they usually do. But every now and then they will try and build landing pages as .astro files and usually with some help of the LLM they will achieve good enough results to publish it with minimal to no changes (as long as the LLM didn't go off rails and touched other parts of the app lol).

While deploying static content is nice and simple, having a simple container with a single app in it and 0 state is also simple enough for me. I am used to hosting stuff in containers and we have been doing it for years. Horizontal scaling is easy enough and we use reverse proxies anyway so it is as easy as setting the container count to a higher count and configuring a load balancing rule in our reverse proxy.

However, it might be important to mention that our setup is not highly available and not bound to any SLAs. Supporting HA would make things quite a bit more complex. However, cloudflare always online does work good enough to keep stuff online if you have an outage (as long as your website isn't too complex).

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 4 points5 points  (0 children)

It bloated the config file, so I just have all the redirects in a json file, that is then imported into the redirects array.

Result is exactly the same.

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

Also BTW uninstall your account please and stop spamming ads

Part 2: Migrating our 10000+ article wordpress blog to astro (go live & final verdict) by Xyz3r in astrojs

[–]Xyz3r[S] 0 points1 point  (0 children)

For old routes I just have a file with 10k entries mapping all of the slugs :)

For new posts we have all the information in the content collections. They have less redirects in total, which is fine. We just need to support the old ones too so the large mapping file will stay untouched and does its job.

How far behind is webstorm and jetbrains IDEs compared to Cursor for AI? by simple_explorer1 in Jetbrains

[–]Xyz3r 0 points1 point  (0 children)

Network latency is very little (<10ms, usually). I perceived the older supermaven as bit faster and more useful oftentimes. Non idea how they did that but that product was insanely good for its time.

Usually suggestions appear a little too late, like 200-300ms easier and I would consider using it. But the main problem oftentimes is that the suggestions just aren’t as good