Skip to content
argon-chatPublic

About

🐺Build cross-platform desktop AOT apps with TypeScript, HTML, and CSS and without Electron, yesss

Topics

Resources

Contributing

Stars

50 stars

Watchers

1 watching

Forks

Latest commit

 

History

1,461 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skathi

Skathi

Desktop apps from Vue 3 and Svelte 5 components, without a browser. GPU-rendered UI with shader effects from CSS, JavaScriptCore for the script, or the script compiled ahead of time to machine code. Windows and Linux x64 prebuilt hosts require x86-64-v3. The macOS host runs on Apple silicon. CPU requirements

Documentation: skathi.land

Quick start

Needs bun.

bun create skathi my-app
cd my-app
bun install
bun run dev

It asks for a template (showcase, minimal, svelte, or player from skathi-templates), the platforms to package for and the package manager. bun create skathi my-app --template minimal --yes takes the answers as options.

Commands

The app's scripts run them (bun run dev, bun run publish); bunx sk runs any of them directly.

Command What it does
sk create a new app
sk dev run the app with hot reload
sk build a debug build with devtools
sk publish the release build (--aot: compiled ahead of time)
sk check what will not run, or will be slow, under AOT
sk prune clear cached workloads

sk <command> --help lists its options.

Building from source

Rust (pinned by rust-toolchain.toml), LLVM, bun, then:

git submodule update --init
vendor/redjs/setup.ps1        # in PowerShell 7 (pwsh); setup.sh on macOS and Linux
bun install
cargo build -p sk-app --target <triple>   # x86_64-pc-windows-msvc, aarch64-apple-darwin, x86_64-unknown-linux-gnu

License

Apache-2.0 or MIT, at your option. The iot/ directory is the exception: it is under the Business Source License 1.1.

Contributions need a signed contributor agreement; see CONTRIBUTING.md.

The host statically links JavaScriptCore from Bun's WebKit build, parts of which are LGPL-2. Its source is at oven-sh/WebKit, at the commit named in vendor/redjs/redjs/pins.txt. To run an app on a modified JavaScriptCore, rebuild the workload against it (sk workload build) and stamp the app onto it (sk build --workload <exe>).

About

🐺Build cross-platform desktop AOT apps with TypeScript, HTML, and CSS and without Electron, yesss

Topics

Resources

Contributing

Stars

50 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages