https://github.com/geocine/sciter-preact-go
Sciter Preact Go Starter
https://github.com/geocine/sciter-preact-go
Last synced: 3 months ago
JSON representation
Sciter Preact Go Starter
- Host: GitHub
- URL: https://github.com/geocine/sciter-preact-go
- Owner: geocine
- Created: 2021-10-09T17:52:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-13T14:54:21.000Z (almost 4 years ago)
- Last Synced: 2025-04-08T06:47:20.698Z (6 months ago)
- Language: Makefile
- Size: 1.37 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
Sciter Preact Go Starter
This is a [Sciter](https://sciter.com/) starter application using [Sciter.JS](https://github.com/c-smile/sciter-js-sdk). You can use JSX on the standalone module of [Preact](https://preactjs.com/) without any additional build step. The desktop application will be using Go bindings through [Sciter.Go](https://github.com/sciter-sdk/go-sciter).
## Development
### Dependencies
Update to latest [Sciter.Go](https://github.com/sciter-sdk/go-sciter) SDK
```
go get https://github.com/sciter-sdk/go-sciter@master
```
Use sciter binaries from version `4.4.6.8` of [Sciter.JS](https://github.com/c-smile/sciter-js-sdk) by checking out `c27c567`
```
git clone git@github.com:c-smile/sciter-js-sdk.git
git checkout c27c567
```
> If you do not use version 4.4.6.8 , you will encounter a crash while building see [go-sciter#297](https://github.com/sciter-sdk/go-sciter/issues/297) as the API has changed on 4.4.7.x onwards### Development
Set your `SCITER_BIN` variable on the `Makefile` to point to the binary folder `sciter-js-sdk/bin`.To run the application run this command:
```
make run
```## Production
### Building
To build the application run this command. The output will be on the `bin` directory
```
make build
```