An interactive, single-page site explaining how Fern turns a GraphQL schema into a fully-typed TypeScript SDK, and how that compares to Fern's OpenAPI SDK generator and to the GraphQL codegen tools on the market.
Sections:
- Hero — the one-line pitch and an animated pipeline flow.
- Pipeline — the four stages (schema load/parse → GraphQL→IR → IR merge → TS gen), each a clickable card that expands with detail and a code/JSON snippet.
- Playground — toggle a field selection and watch the generated GraphQL document and the inferred TypeScript result type update live (runs entirely in the browser).
- Feature gallery — flip cards for field selection,
Result<T,S>, the{ data, errors }envelope, auto-pagination, subscriptions,raw(), custom scalars, and more. - Comparison — vs. Fern's OpenAPI SDK and vs. graphql-code-generator / genql / Apollo / vendor SDKs.
- Multi-language outlook — one schema → one IR → many language emitters.
React 19 · Vite 6 · Tailwind CSS v4 · Framer Motion · Shiki
pnpm install
pnpm dev # local dev server
pnpm build # type-check + production build to dist/
pnpm preview # preview the production buildFor a local build served from the root (instead of the GitHub Pages subpath), set
BASE_PATH=/:
BASE_PATH=/ pnpm build && pnpm previewPushing to main triggers .github/workflows/deploy.yml, which builds the site and
publishes it to GitHub Pages. Enable Settings → Pages → Source: GitHub Actions once,
and the live site appears at https://cadesark.github.io/graphql-sdk-site/.