websqlview

command module
v0.0.0-...-b3ab3a4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 11 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL