This repository contains the source code for the fsharp-wasm.github.io website — the landing page, documentation, and blog for the FSharp WasmGC compiler project.
FSharp WasmGC is a clean-room compiler backend that compiles F# to WebAssembly GC. It is built on top of Fable, replacing only the code generation backend with a WasmGC emitter.
- Write idiomatic F# — no special attributes or interop layers needed
- Get compact, self-contained
.wasmmodules with no JavaScript runtime - Full WasmGC MVP compliance: struct types, array types, typed function references
- Component Model / WIT support for cross-module linking
Built with Astro 5 + Tailwind CSS, based on the AstroWind template.
Features:
- ✅ Static site generation — deploys to GitHub Pages
- ✅ MDX/Markdown blog with RSS feed
- ✅ Content-managed documentation (MD files in
src/content/docs/) - ✅ Dark mode support
- ✅ SEO optimised with Open Graph and sitemap
- Node.js 20+
- npm 10+
cd fsharp-wasm.github.io
npm install
npm run devOpen http://localhost:4321.
npm run buildOutput is in dist/.
npm run preview| Location | Purpose |
|---|---|
src/data/post/*.md |
Blog posts — add new .md or .mdx files here |
src/content/docs/*.md |
Documentation pages — add new docs here |
src/pages/index.astro |
Landing page |
src/pages/about.astro |
About page |
src/pages/benchmarks.astro |
Benchmarks (coming soon) |
src/pages/contact.astro |
Contact / community links |
src/navigation.ts |
Header and footer navigation |
src/config.yaml |
Site metadata, blog settings |
src/components/ |
Reusable Astro components (AstroWind widgets) |
Create a new file in src/data/post/:
---
publishDate: 2026-04-01T00:00:00Z
author: Your Name
title: Your Post Title
excerpt: A one-sentence summary shown in blog list views.
category: Tutorials # or: Announcements, Technical, Releases
tags:
- fsharp
- wasmgc
---
# Your Post
Content here in Markdown or MDX.Create a new file in src/content/docs/:
---
title: My New Doc
description: What this document covers.
order: 4 # controls sort order in the docs index
---
# My New Doc
Content here.The page will appear automatically at /docs/my-new-doc.
The site deploys automatically to GitHub Pages on push to main. Static files are built by Astro and served from the dist/ directory.
For Docker-based deployment, see docker-compose.yml and nginx/nginx.conf.
- Website template: AstroWind by Arthelokyo — MIT License (kept in
LICENSES/MIT-AstroWind.md) - Compiler foundation: Fable — MIT License
- Sponsor: Amano Services; the organisation takes sponsorship through GitHub Sponsors
Our content and code are Apache License 2.0 (see NOTICE); the parts that come from the AstroWind template keep its MIT License, LICENSES/MIT-AstroWind.md.
The FSharp WasmGC compiler (separate repository) is Apache License 2.0 as well: https://github.com/fsharp-wasm/fsharp-wasm/blob/main/LICENSE