Chapter 43

apps — octo · flux2 · mosstts

github.com/openfluke/welvet/apps/…🚧


Why it exists

Products must not pollute engine packages. Octo is the model shell; flux2/mosstts are domain apps.

What it is

octo (own module): download/convert/chat, see §44. flux2: MMDiT image. mosstts: Speak/SpeakToFile pipeline.

Go example

examples/43-apps/main.go

Run:cd welvet/examples/43-apps && source ../env.sh && go run .
package main

import "fmt"

func main() {
	fmt.Println("Apps import the engine — the engine never imports apps.")
	fmt.Println("  cd apps/octo && go run .")
	fmt.Println("  cd apps/flux2 && go run .")
	fmt.Println("  cd apps/mosstts && go run .")
}

Output

exit 0 · last run via go run .

Apps import the engine — the engine never imports apps.
  cd apps/octo && go run .
  cd apps/flux2 && go run .
  cd apps/mosstts && go run .

Validate (harness)

cd apps/octo && go run .   # when module wired