https://github.com/eagitro/excalidraw-wails-react
A simple Excalidraw desktop app with Wails.
https://github.com/eagitro/excalidraw-wails-react
excalidraw go golang wails
Last synced: about 2 months ago
JSON representation
A simple Excalidraw desktop app with Wails.
- Host: GitHub
- URL: https://github.com/eagitro/excalidraw-wails-react
- Owner: EaGitro
- Created: 2025-03-27T14:09:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-27T15:53:19.000Z (about 1 year ago)
- Last Synced: 2025-03-27T16:35:13.834Z (about 1 year ago)
- Topics: excalidraw, go, golang, wails
- Language: TypeScript
- Homepage:
- Size: 372 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
## About
This is a simple **Excalidraw desktop app** using **Wails React-TS template**.
- Excalidraw: [https://docs.excalidraw.com/docs/@excalidraw/excalidraw/installation](https://docs.excalidraw.com/docs/@excalidraw/excalidraw/installation)
- Wails: [https://wails.io/ja/](https://wails.io/ja/)

## How to use
### Install dependencies
see : [https://wails.io/ja/docs/gettingstarted/installation](https://wails.io/ja/docs/gettingstarted/installation)
- Go 1.20+
- NPM (Node 15+)
then run:
```shell
go install github.com/wailsapp/wails/v2/cmd/wails@latest
# check dependencies
wails doctor
```
### Settig up
```shell
# download repo
git clone https://github.com/EaGitro/excalidraw-wails-react.git
cd excalidraw-wails-react
# install npm packages
cd frontend
npm i
cd ..
```
### run in a "live development" mode
```shell
wails dev
```
Consider changing the go version in `go.mod` to your go version, if the error `toolchain not available` occurs.
```shell
# shell
> wails dev
Wails CLI v2.10.1
Executing: go mod tidy
go: downloading go1.23 (windows/amd64)
go: download go1.23 for windows/amd64: toolchain not available
exit status 1
ERROR exit status 1
> go version
go version go1.21.4 windows/amd64
```
```go
///////////////
// go.mod
///////////////
module excalidraw-wails-react
// go 1.23 ==> go 1.21
go 1.21
```
## Building
To build a redistributable, production mode package, use `wails build`.