#apps #desktop #html-css-js #typescript #typescript-bindings #sogouda #html-css-ts

sogouda_core

Create lightweight desktop apps using HTML/CSS/JS

1 unstable release

0.1.1 May 18, 2024

#4 in #typescript-bindings

Download history 136/week @ 2024-05-14 21/week @ 2024-05-21 4/week @ 2024-05-28

161 downloads per month

MPL-2.0 license

9KB
75 lines

Sogouda

♥ Create lightweight desktop apps using HTML/CSS/TS

Packages

Rust

JavaScript/TypeScript

Core Library

The core library, sogouda, is written in Rust to enhance compatibility, performance, and security. Bindings for sogouda are available for different programming languages.

The source code is available on GitHub.

Bindings

Sogouda is a framework for creating lightweight desktop apps using the familiar web development stack. Bindings are provided to use Sogouda with various programming language.

JavaScript/TypeScript Bindings

The bindings, @sogouda/bindings, are written in Rust to enhance compatibility, performance, and security. Type definitions are written in TypeScript and compiled into a .d.ts file to accompany index.node.

The source code is available on GitHub.

index.node

In @sogouda/bindings, there exists a file called index.node in the root directory of the package. This file contains the compiled bindings to the core library. Essentially, this file acts as a bridge between Rust and JavaScript/TypeScript.

JavaScript/TypeScript API

Sogouda exposes a high-level JavaScript/TypeScript API written in TypeScript. This makes designing apps feel a lot more familiar to developers coming from Electron or other similar frameworks. Type definitions are created in TypeScript and compiled into a .d.ts file to accompany the distributable files.

The source code is available on GitHub.

Supported Runtimes

  • Node.js
  • Deno
  • bun

Dependencies

~0.7–1.7MB
~27K SLoC