Skip to content

A webview with access to sqlite and mysql. A mini framework for creating desktop-like webapps

License

Notifications You must be signed in to change notification settings

bengtan/websqlview

Repository files navigation

websqlview

A combination of things:

  • A webview with access to sqlite
  • A mini framework for creating desktop-like webapps

This is based upon webview and should (eventually) be cross-platform (Windows/MacOS/Linux) although it has only been developed and tested on Ubuntu/libgtk so far.

It exposes GO's sqlite/database/sql API (and some other assorted APIs) to javascript so webapps running in websqlview can have native desktop-like capabilities.

Building

Install GO on your system. Then:

go build

to compile websqlview.go (and associated components).

If you are using an old-ish version of libgtk (ie. 3.18), you may need to supply -tags gtk_majorversion_minorversion ie.

go build -tags gtk_3_18

Usage

For development and demonstration purposes, you can probably use websqlview directly:

websqlview file:///<something>

For release, you probably want to fork websqlview.go and customise to suit.

Examples

About

A webview with access to sqlite and mysql. A mini framework for creating desktop-like webapps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published