davedawkins / Sutil

Lightweight front-end framework for F# / Fable. No dependencies.
https://sutil.dev
MIT License
299 stars 19 forks source link
fable fsharp html

Sutil Nuget

Sutil is a web application framework for F#.

Its features are:

In addition, Sutil inherits all the benefits of both Fable (F# with excellent JS interop) and F# itself.

Sutil was heavily inspired by Svelte, and imports several of its design features, such as stores and component styling. Some parts of Sutil are direct ports from Svelte.

Getting Started

See the documentation here. This will show you how to start your own Sutil project in a variety of ways, and explain the basic concepts. You'll also many examples here.

Development (of Sutil)

To compile Sutil and build the main Sutil app in watch mode:

npm run start

To run tests:

npm run test

To deploy to https://sutil.dev (you will need to be Dave Dawkins for this to work). This will:

npm run deploy:linode

Building the REPL

Manually:

Build the REPL and deploy (to sutil.dev if you're Dave Dawkins):

cd ../davedawkins/repl
./sutilbuild.sh
npm run deploy:linode