imdario / gonban

Go native webview wrapper for Kanelm (kanban board built with Elm)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gonban

Cross-platform kanban board with jsonbin.io as backend. Inspired by huytd/kanban-app.

Status

It is a proof of concept. I wanted to test out the native webview approach using zserge/webview.

How to build and package

Before building

You need these resources:

  • yarn
  • libwebkit2gtk-dev
  • elm: yarn global add elm
  • go-bindata: go get -u -v github.com/go-bindata/go-bindata/...
  • a jsonbin.io account

Build

These instructions have been tested only under Linux.

go get -u -v github.com/imdario/gonban

# kanelm
git clone https://github.com/huytd/kanelm
cd kanelm
yarn install
elm-package
cp src/example.config.js src/config.js
# Using your JSONbin.io account, create a new bin with this content:
# {"taskInput": "", "tasks": [], "movingTask": null}
# Put the created bin's URL and your account's secret key into your config.js.
yarn build

# gonban
cd $GOPATH/src/github.com/imdario/gonban
cp $OLDPWD/dist/dist.js www
go-bindata www/dist.js
go install

About

Go native webview wrapper for Kanelm (kanban board built with Elm)


Languages

Language:Go 100.0%