r/astrojs • • 2h ago

We rebuilt xwiki.com and we used Astro

Thumbnail
xwiki.com
1 Upvotes

A slightly funny thing happened while rebuilding our website: we decided not to use our own product for it.

The old xwiki.com was built on XWiki. The new one uses Astro and Strapi.

That may sound strange for a company that builds an open-source knowledge management platform, but the reasoning was pretty simple.


r/astrojs • • 5h ago

c15t CMP setup on a headless Astro site

4 Upvotes

Hi all,

I was recently setting up a cookie consent solution for my headless WordPress + Astro stack and ended up going with c15t (fully open source, self-hosted, nothing being sold here). I definitely implemented it completely wrong on my first pass, so I figured I’d write up a quick post sharing what I learned along the way.

If you're running a similar stack, what has your experience been with consent management? Drop your thoughts below, I'm always open to feedback if there's a cleaner way I should have tackled this!

Article is here: www.443monkeys.com/blog/cookie-consent-headless/

P.S. Compliance isn't the most thrilling topic, but it’s one of those things we can't really skip...


r/astrojs • • 1d ago

Built a free in-browser video editor and stream clipper with Astro, no UI framework

17 Upvotes

Wanted to share something I’ve been building with Astro for a while. It’s clip-cut.com, a set of free video tools (cutter, compressor, converter and a stream clipper). All the video work happens in the browser with ffmpeg.wasm, so nothing gets uploaded.

The whole site is static, around 280 pages in 8 languages, deployed on Cloudflare Pages. There’s no React or anything. All the tools share one .astro component with a plain script tag, and Astro builds the pages around it. Honestly that’s the part I liked most, I never felt like I needed a framework.

One thing I had to work out myself was sitemap dates. I wrote a small post-build script that only bumps a page’s lastmod when its title, description or main content actually changes, so Google doesn’t think every page changed on every deploy.

Happy to answer questions about how any of it is put together.

https://clip-cut.com


r/astrojs • • 2d ago

Improving performance

6 Upvotes

Hey guys, I'm very new to Astro. I used it to build my author website, and along the way I added some heavier animations. I fear I came to rely on perfect conditions too much when I test whether the site performs well, and on Lighthouse scores that don't really test the animations.

Are there any resources for optimization? Or I guess any more pointed advice to my case would also be appreciated.

...Or if you tell me it actually does run smoothly for you, then that's a win!


r/astrojs • • 2d ago

One year with Astro

21 Upvotes

I just finished updating my fun non-commercial Miami Art Week site with Astro 7 + Svelte.

I was so amazed at how much using one platform consistently over a year has led to such improved outputs.

this year: https://basel-tov.com/
last year: https://basel-tov.vercel.app/

Let me know what you think.

The Evolution of the design for those that asked:


r/astrojs • • 4d ago

Claude Code + Astro + Headless WordPress for the only webbed in the company

Thumbnail reddit.com
0 Upvotes

r/astrojs • • 5d ago

PSA for Astro template makers: 100s of paid themes were scraped from their live demos and republished for free, yours might be there too.

92 Upvotes

Hey all, Michael from Lexington Themes here.

Sharing this because it probably affects any of you ont is channel.

A GitHub repo (pulkitxm/claude-directory) presented itself as a collection of templates "generated with Claude". In reality, around 45 of my paid Astro themes were in it, along with paid templates from other creators. They were scraped straight from our live demos and republished for free under an MIT license in the repo owner's name, with a download button.

How I know they weren't "AI recreations":

  • 64 image files in the repo are byte-for-byte identical to the ones on my demos, down to the Astro build hash in the filename (like heroImage.DIhpdHPp_2si2Gr.webp).

  • The repo's own build prompts describe each one as a "pixel-faithful reproduction" with "assets vendored locally".

  • One clone even kept my "Buy " button in the nav.

The project was also promoted on X and presented at a Microsoft Reactor talk. After I called it out publicly, the folder was removed and the site rebranded as "independent design experiments". I've filed a DMCA with GitHub.

If you sell Astro templates, check whether your work was in there. Search the repo's history and forks for your theme names.

What I changed on my side, in case it helps anyone:

  • Moved all demos off pages.dev to their own domain behind Cloudflare (Bot Fight Mode, AI crawler blocking, rate limiting).

  • Direct visits to a demo now redirect to the preview page on my site, and only my site can embed the demos.

  • Noindex on all demos so they don't compete with the real product pages.

Not fun, but hopefully this saves someone else some money.

Have a lovely day
/Mike


r/astrojs • • 5d ago

Starlight template with an Ask AI box that answers from your docs

4 Upvotes

Made this for my own docs and cleaned it up into a template. It got into the Starlight showcase this week.

Hit Ctrl+/, ask something, and it answers from your pages via the Pagefind index Starlight already builds, with links back to the pages it used. No vector DB, no server. If your docs don't cover the question, it tells you so instead of making stuff up.

npm create astro@latest -- --template fengyiqicoder/astro-ai-docs

Demo: https://fengyiqicoder.github.io/astro-ai-docs/

Repo: https://github.com/fengyiqicoder/astro-ai-docs

MIT. The AI part runs on a small API I run (free key). Without a key it's just plain Starlight.

If it answers something wrong on your docs, I'd like to hear about it.


r/astrojs • • 6d ago

Wordpress -> Astro and emdash

10 Upvotes

Ok so I’m trying to move a Wordpress site to Astro, and so far so good. I discovered emdash after doing some conversion and would like to install it on top of the current astro project without breaking anything.

I did give it a go, thank goodness for git and I could undo everything because I made a mess.

It’s got to be possible, what am I missing?

Alternatively, I’ve got emdash setup as a separate project, I could merge the astro site that way, but that feels like a lot.

Open to suggestions, appreciate helping out someone that’s not feeling particularly smart today.


r/astrojs • • 6d ago

New to Astro - need advice for customizing theme pages

3 Upvotes

I'm a designer who knows how to build HTML/CSS websites, but I've been using tools like Webflow and Framer the past few years. I wanted use Astro for my portfolio site, and learn how to use some of the AI tools to add to my skill set.

I'm using Cursor as an IDE, but I'm wondering the best way to update update an existing template. My case studies are all be slightly different with content and images, and the content is contained the .astro pages, which is what I want to stick with.

I'm a bit stuck trying to figure out how to do more customization when all the videos about Cursor are about building things from scratch, and one of the devs I watched said they don't touch code anymore. What's the best way to get my website up but keep the ability to customize the look and content, while leveraging AI?


r/astrojs • • 6d ago

Etch founder vs Astro

Thumbnail
youtu.be
31 Upvotes

check this vid out, the guy says Astro is "only a popular thing because of agents" and calls it "code soup". Then he spends the rest of the talk getting Cursor to build his site and says "the agents are going to do everything for you". Kinda funny. Astro bit starts around 4 mins:

https://www.youtube.com/watch?v=Kj_E4op1l3Y&t=240

Edit: found this reply video: https://youtu.be/UMFwrln6Qms?si=0nijKDG-vQtNOrIj


r/astrojs • • 7d ago

Astro.js visual editor with mcp anyone?

Post image
57 Upvotes

tl;dr: It edits Astro websites like in a graphic editor. It has built in terminal for your claude + openrouter support, content collections that you can edit like posts on substack, and it can deploy to Cloudflare, GitHub, Netlify, Vercel. It's a mac app that runs on your machine and creates a project that is local. You own everything, I express my urge to build this tool.

edit: Download link and a blog post
edit 2: Looking for people to test it with. I’ll build your website for free. Non-profits get priority, but for-profits are fine too. Ping me :)


r/astrojs • • 7d ago

Velocity - An Astro 7 starter with i18n, CSP, an upgrade path and AI agent tooling built in

15 Upvotes

I run a small development agency based out of Dallas and I kept rebuilding the same foundation for every client site, so I turned it into a starter about 9 months ago: Velocity. First release was for Astro 6 but have recently spent some time with Claude updating it for Astro 7 with some quality of life improvements and bug fixes.

npm create velocity-astro@latest

What’s included

  • Astro 7, Tailwind v4, strict TypeScript

  • OKLCH design tokens and a theme file (change --brand-hue and the whole site recolours)

  • Accessible UI components, tested with axe on every route

  • Light and dark mode

  • i18n with translated URLs (/about → /es/nosotros), hreflang and a language switcher

  • Content collections, an MDX blog, RSS, sitemap and Pagefind search

  • Astro Actions for contact and newsletter forms

  • Generated OG images for every page

  • A hash-based Content Security Policy on by default

Two things worth calling out:

  1. Upgrades that respect your edits. npm create velocity-astro upgrade pulls in new Velocity releases. A manifest tracks which files are yours (content, theme, views, translations, config) and which are Velocity’s, so your files are never overwritten, and any Velocity file you edited is backed up before it’s replaced.

  2. AI agent support. It ships an AGENTS.md with the project’s rules, step-by-step skills (add a page, add a locale, connect forms, rebrand) and a check:agent command. That command flags raw translation keys, inline scripts the CSP would block, broken links, hardcoded strings and edits to Velocity’s own files, so you catch what an agent got wrong before it ships.

Website: https://deployvelocity.com
Docs: https://docs.deployvelocity.com
Repo: https://github.com/southwellmedia/velocity

Paid part, to be upfront: there’s also Velocity Premium. It’s a set of complete, multi-page templates built on the same starter: SaaS, Real Estate, E-commerce and Medical Practice are available right now, each in English and Spanish with both themes. It’s $199 once for lifetime access to every current and future template, usable on unlimited sites including client work. More themes are planned. Live demos are at https://deployvelocity.com/premium. The starter itself is free and fully usable without it.

I’d really like feedback on the starter: what’s missing, what’s annoying, and what you’d want in the next version or any requests for premium templates.


r/astrojs • • 8d ago

Coming from WordPress + Bricks + ACF Pro: help!

13 Upvotes

Hey everyone!

I’ve been working in web design for about 20 years, building high-end, fully custom websites for clients.

My current stack is WordPress + Bricks Builder + Advanced Custom Fields Pro (ACF), and I’ve developed a pretty efficient workflow using AI tools like OpenAI Codex.

I use AI to help me create custom fields and CMS structures, and also to translate my custom Figma designs directly into Bricks Builder. This saves me a huge amount of time while still allowing me to deliver fully custom designs.

Lately, though, I’ve been thinking about experimenting with Astro and potentially moving some of my future client projects to a more modern stack.

Here’s the catch: I’m a designer, not a developer.

I’m very comfortable with HTML and CSS, but I have basically zero JavaScript knowledge. I’d be relying quite heavily on AI-assisted coding, just as I do with my current workflow.

What I’d ideally like is:

Astro for the frontend, with fully custom designs based on Figma.

A user-friendly CMS where clients can easily manage simple content (text, images, repeatable sections, etc.).

Something similar to ACF Pro, where I can define custom fields, relationships, repeaters, flexible content, and structured content types without too much complexity.

An AI-friendly workflow, where tools like Codex can help me build and maintain projects without having to become a full-time JavaScript developer.

A reliable, maintainable setup suitable for premium client websites, not just personal or experimental projects.

I’d love to hear your thoughts:

Is Astro a realistic option for someone with my background, or would I be making things unnecessarily complicated compared to my current WordPress setup?

Which CMS would you recommend? I’m particularly interested in something that offers an experience similar to ACF Pro.

What would your ideal Astro + CMS stack look like for building custom, high-end client websites with relatively simple content management needs?

Has anyone here made a similar transition from WordPress/Bricks/ACF to Astro? Was it worth it?

I’m not necessarily looking to abandon WordPress overnight. I’m just curious whether Astro could offer a better long-term workflow for the kind of projects I build.

Thanks in advance for any advice or recommendations!


r/astrojs • • 8d ago

Hosting?

16 Upvotes

Where are you guys hosting? I’m currently using vercel but worried my free plan is going to get eaten up soon.

Looking at best place to host that github can push to


r/astrojs • • 8d ago

Wes Bos did it!

Thumbnail x.com
26 Upvotes

r/astrojs • • 9d ago

Astro + Headless WordPress: still a thing in 2026?

25 Upvotes

Hi :)

For a client website I wanted to test a workflow with Claude > Astro > Headless WordPress (the client is used to ACF and Classic editor from WordPress).

Is this a good workflow and still a good headless cms in 2026?


r/astrojs • • 9d ago

Finally rebuilt my 5-years-out-of-date portfolio in Astro with Claude Code, 3D heads and all

Thumbnail
aonnoysengupta.com
29 Upvotes

My old portfolio had been out of date for about five years. I'm a Webflow dev by trade, so for this one I went full code to see how far I could push it.

Stack:
- Astro with MDX for the case studies
- three.js for the 3D heads
- GSAP and Lenis for the motion and scrolling
- Static build on Cloudflare Workers. A staging branch deploys itself on every push, and main only goes out when I say so

I didn't hand-write it. I built it with Claude Code, with a few agents each owning one part (code, copy, 3D, brand) and handover files so they didn't trip over each other. I made the architecture calls and reviewed everything.

[The bit that took longest: getting the 3d heads to be performative]

For anyone running three.js on an Astro site, do you load it as an island or a plain script? Curious what's held up best for you.


r/astrojs • • 10d ago

Is Astro + Cloudflare Pages a good stack for a non-technical person (plus SEO & tracking questions)?

25 Upvotes

I’m a freelancer and looking to build a clean, fast website, complete with a blogging section for content marketing. I am a non-technical/non-developer person, but I plan to build this with the help of AI (ChatGPT/Claude) and host it on Cloudflare Pages.

​I’ve been eyeing the Astro framework, but I have a few questions and need some guidance:

​Is Astro a good choice for a non-developer? Since I'm relying heavily on AI to write the code, is Astro straightforward enough to prompt, manage, and deploy without breaking?

​How is it for SEO? Marketing sites and blogs heavily rely on search traffic. Does Astro perform for SEO?

​Can I easily add tracking tags? Google tag manager if needed, I need to plug in things like Google Analytics (GA4) and the Meta Pixel etc. Is this easy to set up in Astro?

​Video Tutorials: I’m struggling to find comprehensive, step-by-step video tutorials specifically covering an end-to-end Astro setup for a marketing site/blog. If anyone knows good, beginner-friendly video walkthroughs, please drop links or recommendations!

​Would love to hear your thoughts or if I should look at alternatives like WordPress instead. Thanks!


r/astrojs • • 10d ago

How are you all building Astro sites these days?

30 Upvotes

Curious how everyone’s building Astro sites lately. Still hand-coding, or leaning on AI for the harder component stuff? What does your workflow look like?


r/astrojs • • 11d ago

Astro SEO check

6 Upvotes

Question guys I am close to completion of an astro site. I have been diligent in meta tags, urls, headings, site icons, social media shares. I did the basics for SEO.

I know there are a few AI skills out there for auditing SEO for astro.

I would prefer one that is free to use and not being too intrusive. What are you guys using?


r/astrojs • • 11d ago

My clients kept breaking their headless sites trying to edit them, so I made WordPress edit the real Astro page

5 Upvotes

I’ve been building client sites for 4 years, and lately my go-to stack is Astro on the front with WordPress as the backend. Fast sites, clients keep the WordPress they already know, everyone’s happy.

Except for one thing. Every time a client wanted to change a headline, they’d open wp-admin, find some field called “hero_subtitle_2”, change it, and then message me asking why nothing looked different. Or it did change, just not where they expected.

After one too many “can you just change this text for me” emails, I stopped explaining ACF fields and built something instead.

It’s called Leiho. The client opens their actual site inside wp-admin, clicks the text or image they want to change, types, sees it live, hits publish. That’s it. No fields to decode.

Setup on my side: install the plugin, npm install leiho, one component in the layout, field() on whatever should be editable. About five minutes per site.

Where it’s at:

  • Running on 3 client sites so far, and the clients are happy with it

  • Works with Astro, Next.js, Nuxt, SvelteKit, React and plain HTML

  • Your pages, posts and ACF fields stay where they are, nothing to migrate

  • Free and open source, 1.0.0 RC

You can try it on a real WordPress right in your browser: leiho.dev/r

GitHub: github.com/pixelersagency/leiho

It’s still rough in places, so I’d love to know: how do you handle clients editing their headless sites? Git-based CMS, Storyblok, or just doing it for them?


r/astrojs • • 12d ago

First client site built with Astro, and I’m so impressed

Post image
106 Upvotes

Coming from WordPress, Astro was a bit of a shift, but the results are worth it. I built this client site with Astro and deployed it on Cloudflare. When I ran it through PageSpeed, I was surprised to see it already scoring 90+ on mobile. Ofcourse the score shifts with each run, but rarely goes below 95.


r/astrojs • • 12d ago

Astro Pro 2026.1.7: Astro 7.4 authoring support for JetBrains IDEs

Post image
3 Upvotes

Hi all, just wanted to share a quick update to our Astro Pro plugin for JetBrains IDEs. The latest version of Astro Pro, Astro Pro 2026.1.7, adds completion for split image services and the new experimental options, a custom redirect-page template, build timings support, and font-provider hints and quick fixes.

We've also improved the TypeScript path-alias compatibility with newer IntelliJ IDEA versions, so hopefully this will make building Astro sites even easier!

You can find the plugin on the JetBrains Marketplace, feel free to reach out if you have any questions, feedback, etc