scafscaf
KitDocs

$ application scaffolding

Specify the app.Generate the rest.

One single specification, split into small YAML/JSON files, from which OpenAPI, SQL, guides and source code are derived.

Download the kitRead the docs
scaf — bash

$

SCAF products

The kit is available. The rest is coming.

AVAILABLE
SCAF Kit
The agent kit: structure, formats, rules and tools to specify and generate an application.
SOON
SCAF Desktop
A desktop app to edit and visualize the specification.
SOON
SCAF CLI
An optional command line to audit and generate.

One specification, four levels

Every feature is described in the specification first. Apps implement it afterwards.

scaf/v0/input/project.parts/apps/website.ymlsimplified excerpt
name: SCAF Website
slug: website
api: false
tagline: Spécifiez l'application,
  générez le reste

From specification to code

Only the sources are edited; everything else is derived and regenerated.

Specification

YAML · JSON

OpenAPI
SQL / Drizzle
Guides
Application code

Output apps

Apps generated from the same specification.

  • Django / FastAPI

    API

    SOON
  • Expo / React Native

    Mobile

    SOON
  • Flutter

    Mobile

    SOON
  • Kotlin Multiplatform

    Mobile

    SOON
  • SwiftUI

    Mobile

    SOON
Next.js — Generation command

$ pnpm exec tsx gen_nextjs.ts scaf/v0 --level L4 --out ./website

Ready to specify?

Download the kit and drop it into your project.

Download the kit

Check that everything is fine

$ ruby scaf/_agent-kit/tools/audit.rb scaf/v0

SCAF · Specify the app, generate the rest

Designed and built by Saazh Al-Ba'Hith BN ↗

GitHub ↗