r/astrojs • • Jul 30 '26

We Open Sourced Sitepins Git-Based CMS

Post image
126 Upvotes

It's been about a year since we launched the Sitepins beta.

We didn't do any heavy promotion. First, we built it for ourselves, then later shared it with our existing audience, posted 2/3 times on the Astro and Hugo forums. 1,800+ people signed up, and many of them use it regularly.

Sitepins exists to make it easy for founders and developers to hand off sites built with modern frameworks like Astro, Next.js, Hugo, and now AI builder sites like Claude Code to their non-technical teammates and clients.

We waited to make the product stable enough to open source it so that developers can self-host it with minimum effort.

We're happy to share it's now stable. (There still might be bugs. It's true for any software. If you find one, please let us know, or even better, contribute and help make it better.)

There is also a cloud version with a free plan for those who don't want to self-host and want to support a small bootstrap team.

If you're already a Sitepins user, nothing has changed for you. Open source adds a self-hosting path for people who want it.

There is a live interactive demo at demo.sitepins.com if you want to explore (no account needed). There are 3 projects already added. You can explore all the features Sitepins offers.

Here is the Github repository - https://github.com/sitepins/sitepins

Would appreciate it if you give it a star and share it with someone who might find it useful.


r/astrojs • • 8h ago

Oxfmt now supports formatting .astro files!

Thumbnail
elian.codes
10 Upvotes

For those using Oxfmt or Vite+ in their Astro projects, you can now format .astro files too!

It’s disabled by default, but enabling it is as simple as adding astro: true to your formatter config.

One small gotcha: you also need to install astrojs/compiler-rs as a dev dependency.

Under the hood, Oxfmt uses prettier-plugin-astro, so you no longer need a separate Prettier setup just for your Astro files.

Oxlint still only lints the script parts of .astro files, though. No template linting yet.

I wrote a short blog post about setting it up on my own website, including some before/after examples and configuration options:

https://elian.codes/blog/26-12-02-formatting-astro-files-with-oxfmt


r/astrojs • • 1d ago

Starquix v0.3.0: Import WordPress sites and ask an agent for changes

Post image
11 Upvotes

Hey everyone! After the original post a few people reached out asking how to import WordPress sites and is there a better way for clients to make changes.

tl;dr – yes.

  1. Import any WordPress website from URL.
  2. Ask a bot in Telegram to do small changes (5$/month Cloudflare worker).

Demos are in the comments. To support please share your feedback, star the repo, and tell your friends.

https://github.com/Mayhopar/Starquix/


r/astrojs • • 1d ago

Material 3 expressive site fully spec implemented in web with astrojs

Thumbnail
varifocal.github.io
4 Upvotes

Well i was making a site to host links for the android roms i was building and ended up liking the material 3 expressive style too much...


r/astrojs • • 1d ago

Jump from var(--font-body) in a component to the font entry in astro.config.ts

1 Upvotes

If an Astro font entry sets cssVariable to "--font-body", you can use that name throughout your stylesheets. A search for a CSS declaration comes up empty because the name lives in astro.config.ts.

I maintain CSS Variables, a language server that reads those font entries. Here’s a small way to try it in an Astro project with Fonts configured:

  1. In an existing font entry in astro.config.ts, set cssVariable to "--font-body".
  2. In a component’s <style> block, start typing font-family: var(--font and select --font-body.
  3. Use Go to Definition on --font-body. It takes you back to the font entry in the config.

The server reads the config without executing it. A literal name like "--font-body" works even before you start the Astro dev server.

The project page has the Zed and VS Code extensions and a screenshot of workspace completion in Zed. https://subagentura.tech/css-variables/


r/astrojs • • 1d ago

Google recent updates

0 Upvotes

Just wondering how your Astro websites performing after the recent Google update which seems to have killed many websites.


r/astrojs • • 2d ago

I made a free tool to try 1,400+ shadcn/ui blocks on a page and export it as an Astro project

Post image
32 Upvotes
I make shadcn/ui blocks at themes.dev, and with 1,400+ of them a grid of screenshots stopped being useful. So I built Studio: you put blocks on a page in the browser, see them live, and export a plain Astro project.

What the export looks like:
- src/pages/index.astro says which design shows each section
- your text lives in JSON (src/content/pages/index.json), checked by a schema at build time
- the blocks are source code in src/components, your style is shadcn/ui tokens in global.css

You can also type in your current site and it picks up your logo, colours and fonts, or press S on a section to flip through the other designs of that kind. Your text stays.

Free, no account, pages stay in your browser: https://www.themes.dev/studio/

I'd really like feedback from Astro people on the export. What would you change about the structure?

r/astrojs • • 2d ago

Academic Pages — Astro Edition: A modern Astro 7 + Tailwind v4 port of the classic Jekyll academicpages template (now in the Astro Themes directory)

Post image
17 Upvotes

r/astrojs • • 3d ago

I built cookieless analytics for Astro sites: one script tag, keeps sessions across ClientRouter navigation

Post image
48 Upvotes

I'm an SEO, and the cookieless analytics I used before kept losing referrers and navigation inside a visit and lacked integration with GSC and a proxy metric for "search result satisfaction", so I built my own.

(I also hate cookie banners which is why it's cookieless)...

What it does:

  • Counts visits without cookies and writes nothing to the visitor's device (no cookie, localStorage, sessionStorage or IndexedDB).
  • Still reports sessions: entry and exit pages, pages per session, bounce rate, duration, first-touch source.
  • The script is about 3 KB gzipped, loaded from your own site.
  • Works with Astro's ClientRouter. The session ID lives in a JS variable and survives navigation without a page load. A full page load starts a new ID, and the server joins it to the running visit through a daily-rotating salted hash.

How it works with Astro: add the script tag to your layout. Events go to an EmDash instance (a CMS built on Astro and Cloudflare), where the reports live. That instance runs on your own Cloudflare account, with the data in your own D1 or Postgres. If you don't already use EmDash, there's a one-click Cloudflare deploy for a fresh one. So it isn't a drop-in dashboard for a static Astro site on its own..

Trade-offs:

  • No cross-day returning visitors, because the salt changes daily.
  • Two people behind one shared network address, with the same browser and device type, can merge into one session.
  • No heatmaps or session replay.

Free, Apache-2.0. Source and docs: https://github.com/infinitnet/cookieless-analytics

I'd like feedback on the setup for a plain Astro site, especially whether the EmDash requirement is a dealbreaker.

...and if anyone wants to contribute PRs, those would be more than welcome too!


r/astrojs • • 2d ago

Your remark/rehype plugins don't run on Astro 7's Sätteri – drop-in ports

3 Upvotes

Astro 7 moved to Sätteri, a Rust Markdown engine. It's fast, but it has its own AST, so rehype-katex, rehype-slug, rehype-sanitize etc. stop working.

I ported the 10 most-used ones. Each is tested against the original plugin's output, so it's a swap, not a rewrite: slug, autolink-headings, katex, mathjax, sanitize, breaks, github, mdx-frontmatter, validate-links, citation.

The README also has a table of plugins you can just delete, because Sätteri has them built in (gfm, frontmatter, smartypants, directive…).

Live demo: https://satteri-plugins.js.org Repo: https://github.com/Ashish-CodeJourney/satteri-plugins

Which plugin is blocking your upgrade? I'll port the next most-requested one.


r/astrojs • • 2d ago

Cyber Monday: my Astro templates are $149 lifetime (normally $499), and each one comes with a free open source CMS wired in

0 Upvotes

I make Velocity the starter kit and CMS for Astro sites, Premium is a set of Astro templates (11 so far) for real businesses: real estate, restaurant, law firm, construction, auto detail and more. Today they're $149 for lifetime access to all of them and all future templates, instead of $499. Use code CYBERMONDAY150 at checkout.

What makes them different from most template packs: each one also comes in a version already wired to Velocity CMS, our open source (MIT) CMS. Your client can click on the page and edit text and photos, and form submissions land in a built-in CRM. You can also use the plain static version. It's your choice.

https://deployvelocity.com

Deal: https://deployvelocity.com/premium

The CMS itself is free whether you buy or not: https://github.com/Velocity-Astro/velocity-cms

Happy to answer anything, including what's still rough. It's just me maintaining this, and the CMS is in open beta.


r/astrojs • • 3d ago

TenonCMS - A monolithic headless CMS for Astro, Nuxt and Tanstack-Start

Post image
34 Upvotes

Hi everyone!

Maybe you have already seen my post on r/webdev, but I figured it would also make sense to post this here.

I've been working as a freelancer for SMBs for the last few years. Often my clients asked and required a CMS and since I dislike working with Wordpress, I used a setup of Nuxt and Astro depending on clients and requirements with a headless cms.

While that worked well, it always felt like I had to choose between easy setup (3rd party hosted cms with a vendor lock-in risk) or a second service i had to run, deploy and maintain. Markdown and fully static also were not ideal for my use case. PayloadCMS is good, but I usually don't write react and Nextjs feels heavy.

This is why I built TenonCMS which is a CMS Package you can just install into your vite-based app. It's essentially a plug-and-play package that you can use with Astro, Nuxt and Tanstack Start or any other vite-based framework. It even supports being headless if you want to use it with a different language or stack.

It is entirely free and MIT licenced.

Some notable features:

  • Content modeling: In Typescript (so code as a config)
  • Supported Frameworks: Astro, Nuxt, Tanstack Start
  • Supported DBs: SQLite, Turso, Postgres, PGlite, Durable Objects
  • Supported Deployment Targets: Node, Cloudflare (DO), Vercel
  • Drafts and versions: drafts, scheduled publishing and a version history
  • Localization: localized content and a localized admin
  • Pages and SEO: Prebuilt, extensible presets that allow nested pages, SEO fields, sitemap, robots.txt and menus
  • Live preview: a visual editor and an admin bar on your own pages
  • Media: a media library with image transformations (Local + S3)
  • Users and access: password, passkey, magic link or email code, with roles, invites, access rules and API keys
  • Operations: Email (SMTP, CF Email Service), background jobs, cron schedules, webhooks, backup and restore
  • Customization: your own fields, admin pages, styles and plugins
  • HTTP API: a REST API with a typed browser client, for a frontend on another origin
  • CLI: Scaffold your application fast with a starter template and create backups, etc. with it

Website: TenonCMS

Repo: https://github.com/SuddenDev/TenonCMS

Astro has first class support and is one of the main frameworks I wanted to support.

Feel free to try it out! I'm happy to get some feedback and users!

If you have any feature requests, let me know. PR and contribution welcome!


r/astrojs • • 4d ago

I recreated a macOS desktop with Astro and Vue

Post image
3 Upvotes

I'm built a small Mac app, and I wanted people to be able to see how it works without installing anything.

So I recreated a macOS interface in the browser: a desktop cluttered with files, a Finder window, and the app's radial menu.

The page itself is static HTML. The whole demo is one Vue island, hydrated with client:media.

On phones the island never loads, so they get a short video instead and no demo JavaScript. On desktop it's about 80 KB of JavaScript gzipped for Vue and the demo together.

Most of the app's actions work: sorting by category or date, renaming, removing duplicates, and converting. Each action shows a preview first, and ⌘Z undoes everything.

You can try it here: https://anplasay.com/demo


r/astrojs • • 5d ago

I made a free visual editor that allows you to design in your codebase, because I’ve had enough of bad UIs made by AI

Thumbnail
github.com
35 Upvotes

Hey guys, my name is Andrea 👋 still undecided if I'm more a dev or a designer, but for sure a nerdy girl who loves building tools :)

I'd just like to show a new side project of mine, a free, open source "Figma inside your codebase" for people coding with AI agents

Click an element in your running app, change spacing/colors/states visually, and it writes the diff into your actual source.

Works next to Claude Code and Cursor, no AI credits, no lock-in. Apache 2.0.
npx feega to try it or download the extension for VS Code / Cursor / Windsurf etc.

Feedback super welcome, especially the harsh kind!!!
Repo: GitHub.com/andreabuttarelli/feega
Website: Feega.app
Docs: docs.feega.app

Happy coding! 🌈💕


r/astrojs • • 4d ago

WTF is Astrojs?

0 Upvotes

I have never heard of Astrojs. just today casually I set my agent with some info information to create a website with requirements of Framer motion, and animations and set it to scaffold the app accordingly. The go to choice for my agents till now were nextjs. I was took note of this framework 'Astro' and just proceeded to keep building and customize. before submitting my sitemap in gsc, just wanted to run a simple PageSpeed and was literally shocked to see almost perfect scores on every category. something that used to take me so much time and correctios in nextjs to get a better score was easily done like oneshot with astrojs. Really impressed, now really planning on converting all my sites and other clients site to astrojs. kudos to the team behind it!

attaching the scores as proof: https://pagespeed.web.dev/analysis/https-blanquine-com/um8fuzfbiz1iv7u9rhazxq?form_factor=mobile


r/astrojs • • 5d ago

I built goastro, a local visual editor for Astro Markdown and MDX

22 Upvotes

I wanted a simpler way to make content edits on my Astro sites. Fix a typo, change a publish date, or swap an image, then see exactly what changed before saving. So I built goastro.

Run it from your Astro project and it opens an editor in your browser. Your content stays in the .md and .mdx files already in your repo. The editor runs locally, with no account, no telemetry, and no content uploads.

  • Write or edit the source. Edit headings, links, lists, and images visually, or switch to the raw Markdown. Frontmatter fields like dates and tags have their own form.
  • Keep your MDX components intact. Visual edits preserve components, imports, and HTML as written.
  • Review before saving. You get a diff before each save, and goastro backs up the original file.
  • Preview the actual page. After saving, you can see the page rendered by your Astro dev server. You publish through your usual workflow.

It’s MIT-licensed and available on npm. To try it, run this from your Astro project with Node.js 22.18 or newer.

npx u/goastro/goastro

It also opens plain Markdown and MDX folders, so you can point it at a docs/ folder.

Try the browser demo · GitHub · npm

If you edit an Astro site regularly, what would still send you back to your code editor? I’d especially like to hear which MDX patterns or frontmatter setups I should test next.


r/astrojs • • 7d ago

Rebuilt our company site with Astro 7 + Tailwind v4: SK/EN i18n, Pagefind, a contact API sidecar, self-hosted deploy

Post image
49 Upvotes

I rebuilt the website of the company I work for (ictsolutions.net) from a Hugo theme on GitHub Pages to Astro 7 + Tailwind v4. A few things that might be useful if you're building something similar:

i18n. Slovak at /, English at /en, linked with hreflang. On the first visit an inline script in <head> picks the language from navigator.languages and redirects to the hreflang counterpart before paint, so there's no flash. A manual switch is stored and always wins, and crawlers are skipped so both versions get indexed.

Static output + one small API. The site is fully static, served by nginx. The only dynamic part is the contact form: a ~300-line Node sidecar verifies Cloudflare Turnstile and creates a ticket in our helpdesk (FreeScout) via its API. Traefik routes /api/contact to it. All secrets stay in that container.

Design tokens. Brand colours, radii, shadows and type live in Tailwind v4's @theme, so the whole site pulls from one place.

Blog. Pagefind for search (indexes the built HTML, no server), Satori for OG images.

Deploy. GitHub Actions builds Docker images to GHCR, and a self-hosted runner deploys them to our VM: develop goes to a preview, a release tag goes to prod. Production never runs :latest.

Migration. nginx has a 301 map for every old Hugo URL and the old PDFs. nginx matches the decoded URI, so file names with spaces and diacritics go into the config as-is, no %20.

I wrote up the details on my blog: https://rebjak.com/en/blog/new-ictsolutions-website/

Happy to answer questions about any of it.


r/astrojs • • 7d ago

Using GitLab as a CMS for Astro websites

9 Upvotes

Do you see much value in connecting a dedicated CMS to an Astro website?

As far as I understand, most CMS solutions for Astro are essentially user-friendly editors for the md/mdx files used in content collections.

In other words, an Astro CMS is not quite the same as something like WordPress, where you can see a near-final version of the page while editing. I've tried Decap and TinaCMS, although that was at least six months ago.

At the moment, GitLab itself, together with the source code repository, seems like the best CMS for Astro in my case. We have a simple agreement that the content manager can only create and edit blog posts written in md/mdx. All changes are made directly in the main branch, after which the site is automatically built and deployed to production.

What do you think? Am I missing any major advantages that a dedicated Astro CMS would bring to this workflow?


r/astrojs • • 7d ago

Can this be done with astro?

2 Upvotes

We're revamping the site for our product launch.

And we are planning to move away from Framer, and are considering Astro.

But, I'm not sure how this thing can be done.

The idea is, we have pages that requires aimated illustrations (coded).

The number of illustrations are high so we want scalable implementation.

Main bottleneck: we don't want to spend time changing each just bcoz our product UI changed.

There are two types of images:

  1. Chat mockups - where we show conversations based on context and situations
  2. Product showcase - where we give a realistic view of product while zooming in and showing stuff.

So, can this be done in a scalable way??

PS. I know this sounds a bit like programmatic SEO but for illustrations.


r/astrojs • • 8d ago

Getting crazy w/ 4 languages website migration from WordPress

2 Upvotes

Hey guys, enjoying Astro so much, till I decided to move it from WP, and it got a real mess. For context: I'm working on a web marketing agency, and used classic WP + Elementor + TranslatePress.

Now, it's been almost 3 weeks since I've been working on this with lots of AI, and got stuck with:

  1. Pages design not the same for all languages
  2. Translated article not correctly linked to the original one (it switch to the home page by default)

Learning so much in the process, I'll post here my final work with steps and whatever related. Hope will solve this problem for someone else in the future!

Any feedback always appreciated btw :)

EDIT: Thank you everyone for the hints and support provided! I was kinda annoyed when I wrote it, and didn't expect so much feedback from the community! ❤️


r/astrojs • • 8d ago

Non-tech SEO guy here. Thinking of starting a website to learn something new. Need some advice

3 Upvotes

Hey everyone!

I'm working in SEO but don't have a technical background. I'm thinking of starting my own website as a side project to learn more about how websites work and improve my technical SEO skills.

I'm confused between starting a blog or building a directory website.

I want to keep things simple and start for free. I'm okay with spending money on a domain, but would prefer free hosting.

I'm also thinking of using Google Antigravity to build the website since I don't have much coding knowledge. I've also been looking into Astro.

I have a few questions:

  1. Would you recommend starting with a blog or a directory website?
  2. Can someone without coding experience build a website using Google Antigravity?
  3. Is Astro a good option for this?
  4. What free hosting would you recommend?
  5. Any suggestions for a good niche to start with? I'm open to ideas.

My main goal is to learn by building something on my own. Making money isn't my priority right now.

Would love to hear your suggestions and experiences. Thanks!


r/astrojs • • 9d ago

Velocity CMS: visual editing, forms and a built-in CRM for Astro, MIT licensed

31 Upvotes

I build a lot of Astro sites for clients, and I always get the same question: "Can we update this ourselves?" They want to change text, swap photos and deal with form leads without emailing me. Nothing I tried fit the way I build Astro sites, so I built my own.

It's called Velocity CMS. It sits alongside my starter kit, Velocity, and like that it's MIT licensed.

The parts I'm happiest with:

  • Clients edit right on the page and can rearrange sections by dragging them
  • Content types aren't just posts and pages. The same system handles site-wide stuff like the header, footer, announcement bar and settings, so clients edit all of it in one place. You can define types in code or build them in the admin and pick where they show up
  • Forms feed a small built-in CRM with a deal pipeline, and deals can be tied to your own content. On the real estate template, a tour request becomes a deal linked to that exact listing
  • Publishing is live (server-rendered), so changes show up in about a second with no rebuild

It runs on SQLite/libSQL, and you can host it wherever you like. the Velocity marketing site, deployvelocity.com, runs on it, along with two of my templates. All premium templates will come pre-setup in the CMS and all future ones will as well (you can choose static or cms integrated)

It's a beta, so there are rough edges. If you build sites for clients, I'd like to hear what would stop you from using it.

Site: https://deployvelocity.com CMS: https://github.com/Velocity-Astro/velocity-cms Starter kit: https://github.com/southwellmedia/velocity


r/astrojs • • 8d ago

Made an Astro integration for pulling in open-source + community-generated SVG icons on demand

5 Upvotes

I built a community icon project called Chameleon Icons (https://chameleonicons.com/) for those moments when an icon pack has 98% of what you need and is missing two specific icons—you can generate the missing ones in the same style (instantly or via a free manual workflow) and contribute them back to the pack.

Since I wanted it to work cleanly in Astro without shipping a giant icon library, I put together an Astro integration in the chameleonicons package:

Js

// astro.config.mjs
import chameleon from "chameleonicons/astro";
export default { integrations: [chameleon()] };

From there you just import the icons you actually use (~chameleon/<style>/<icon>). Icons default to 1em by 1em and use currentColor for monochrome packs, so they behave like text out of the box. You can even search styles and icons right from the terminal (npx chameleonicons icons cute home) if you don't want to leave your editor.

First build pins the exact icon versions in a chameleon.json file so nothing changes unexpectedly on later deploys.

Site: https://chameleonicons.com/
npm: https://www.npmjs.com/package/chameleonicons

Would love any feedback from Astro folks—especially if you mix Astro with React/Vue/Svelte islands!


r/astrojs • • 11d ago

How do you hand over Astro sites to non-tech clients?

46 Upvotes

Hey all, Guillaume here!

I've been building a lot of Astro sites this year and I really like it. For a while I wanted to reach out to small local businesses that could use a faster website with better SEO, but I always got stuck on one thing: how do I hand the website over to them?

I saw 2 options:

- I host it on my own Cloudflare or Netlify account, but then they have to call me every time they want to change their opening hours or a photo. Doesn't scale, and not great for them either

- I ask them to create GitHub, Netlify etc. accounts and invite me. Honestly I can't see a bakery or a plumber doing that

So I ended up building my own platform for it on top of Cloudflare (made it available here atelier201.com, so a few friends are now using it too for their own client sites).

My process now:

- I spot a local business that could be a good fit

- I generate the Astro site with Claude and some of my own skills and push it to the platform via the CLI

- I send them a preview URL on a subdomain so they can browse it on their phone in real conditions, and we discuss from there

- When they're ready, I create their workspace, move the site there, send them an invite link and help them do the few clicks to connect their own domain

Then they log in and edit the site themselves: visually for small texts and the theme, with the in-app AI, or with their own Claude/ChatGPT.

On the technical side, a "simple" local business site always ends up needing more than static pages, so I added the things I kept needing: multilingual, CMS (either as content in the codebase or as hosted tables - for form submissions, or to power stuff like availability slots on the site), server functions (to send emails or call webhooks, with the secrets stored on the platform and not in the code), analytics built in (since it all runs on Cloudflare), cookie banner (handled at the platform level, so I don't redo it on every site).

So yeah, ended up going pretty far, way more than initially planned...

I now wonder how do you usually handle the handover part? Do you keep hosting everything yourself, or do you give clients their own accounts? And how do you give them some independence without them being able to break things?