• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language
    Go
  • License
    MIT License
  • Created about 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Web-Based SQLite database browser

sqliteweb

views views 24h

sqliteweb is a web-based SQLite database browser. It's written in Go.

It's inspired and influenced by pgweb and sqlite-browser.

Overview

sqliteweb is a web-based SQLite database browser. The goal is to provide a simple and intuitive browser for SQLite databases. It provides basic functions to browse SQLite databases and tables.

Features

  • Browse existing SQLite databases
  • Browse table structure and indexes
  • Browse table data
  • Run custom SQL queries
  • Export query results to CSV and JSON
  • Single executable (just download the executable and run it)
  • Cross-platform

Installation

Use the pre-build relase images from Github Releases.

Currently pre-build releases are available for the following platforms:

  • Mac OSX 64bit

From source

If there are no pre-build images for your platform, you can build sqliteweb from sources.

Requirements:

  • Go
  • Node/NPM
  • $GOPATH must be set

Make sure you have installed Go. Go +1.3 is required. You can install Go with homebrew:

$ brew install go

Get sqliteweb from Github:

$ git clone https://github.com/hypebeast/sqliteweb.git
$ cd sqliteweb

Install required packages to build the frontend:

$ npm install
$ bower install

Build the frontend:

$ gulp dist

Build the server:

$ cd sqliteweb-server
$ make setup
$ make build

Now, run sqliteweb:

$ ./sqliteweb --db ../data/test.db

Usage

Start sqliteweb with the following command:

$ sqliteweb --db path/to/database/name.db

You can also provide a username and password to enable HTTP basic auth:

$ sqliteweb --db=path/to/database/name.db --auth-user=username --auth-pass=validpass

CLI Options

$ sqliteweb -h
Usage:
  sqliteweb [OPTIONS]

Application Options:
  -v, --version    Print version
  -d, --debug      Enable debugging mode (false)
      --db=        SQLite database file
      --bind=      HTTP server host (localhost)
      --listen=    HTTP server listen port (8000)
      --auth-user= HTTP basic auth user
      --auth-pass= HTTP basic auth password
  -s, --skip-open  Skip open sqliteweb in browser on start

Help Options:
  -h, --help       Show this help message

Development

The project consists of two sub-projects:

  • sqliteweb-server: The server part
  • sqliteweb-web: The frontend part

sqliteweb-web

This is the frontend part of sqliteweb. The asset compilation is handled by Gulp.

To install all requirements, run the following commands:

$ cd sqliteweb
$ npm install
$ bower install

There is a built-in webserver for the frontend development. Run the following command to start it:

$ gulp

The compile, watch and copy the frontend files to sqliteweb-server:

$ gulp dev

To generate the dist files and copy them over to sqliteweb-server:

$ gulp dist

sqliteweb-server

The sqliteweb-server provides the API for the frontend.

To build the server:

$ cd sqliteweb/sqliteweb-server
$ make setup
$ make dev
$ ./sqliteweb

Screenshots

Table Structure

Table Content

SQL Query

Contributions

  • Fork repository
  • Create feature- or bugfix-branch
  • Create pull request
  • Use Github Issues

Contact

License

The MIT License (MIT)

Copyright (c) 2014 Sebastian Ruml

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

More Repositories

1

micro-auth

A microservice that makes adding authentication with Google and Github to your application easy.
Lua
469
star
2

go-osc

Open Sound Control (OSC) library for Golang. Implemented in pure Go.
Go
186
star
3

flask-elm-starter-kit

Simple starter kit/boilerplate to get started with Flask, Elm and Brunch.
HTML
33
star
4

goji-boilerplate

Project skeleton for Goji GoLang web framework with Bootstrap and Font Awesome.
Go
28
star
5

OSCShark

OSC Shark is a tool for monitoring and analysing OSC (Open Sound Control) packets.
C++
27
star
6

ansible-flask-stack

Ansible role to setup and deploy Flask applications.
Shell
24
star
7

flask-gulp-starter-kit

Minimal boilerplate/starter project for Flask 0.11 with Gulp for managing frontend assets and BrowserSync for live-reloading.
Python
17
star
8

bundesliga-cli

Bundesliga results and stats for hackers.
Python
14
star
9

gojistatic

gojistatic is a middleware for Goji that serves static content from a directory
Go
12
star
10

PythonDrop

Python Dropbox Clone
Python
10
star
11

LineJumper

LineJumper is a Sublime Text 3 plugin that adds commands to move your cursor and select 10 lines at a time.
Python
9
star
12

expressjs.bootstrap.knockoutjs.tutorials

Knockout.js tutorial code for http://learn.knockoutjs.com/ realized with Twitter Bootstrap, Node.js and Express.js
JavaScript
8
star
13

surfraw-pinboard

Simple Python command line tool to download bookmarks from Pinboard and save it in the surfraw bookmark format.
Python
8
star
14

gostats

Daily statistics about Golang packages
Go
7
star
15

ansible-i3

Ansible role to install and configure i3 on Ubuntu.
7
star
16

JiraCards

JiraCards prints scrum cards for your physical board from Jira. The issues are read from a Jira Agile Board or individual issues can be provided to create single cards.
Python
7
star
17

oscchief

oscchief is a command line tool for sending and receiving OSC packets.
C
5
star
18

go-config

go-config makes it simple to work with cascading configuration files.
Go
4
star
19

dotfiles

My shareable dotfiles
Shell
4
star
20

fastify-simple-starter-kit

A simple starter kit for Fastify which tries to provide a simple but yet complete project structure suitable for small and medium sized applications.
JavaScript
4
star
21

ansible-i3-xfce

Ansible role to install i3 and integrate it with XFCE
3
star
22

yatir

yatir is a yet another Tumblr image ripper/downloader.
Python
3
star
23

docker-alpine-python

Docker containers running Alpine linux with Python and s6 for process management. Small and reliable containers to run Python applications (e.g. Flask web apps).
Makefile
3
star
24

cookiecutter-flask-seed-minimal

A minimal and simple Cookiecutter template for creating production-ready Flask applications. It includes uikit, Flask-SQLAlchemy, WTForms, jQuery 2, and various testing utilities out of the box.
Python
3
star
25

dext-npms-plugin

Dext plugin to search npms.io
JavaScript
2
star
26

Orca

Orca Drone
C
2
star
27

docker-lapis-quickstart

A docker image for Lapis (http://leafo.net/lapis) applications.
Nginx
2
star
28

lapis-brunch-bootstrap

A starter project for Lapis, Brunch and Bootstrap
JavaScript
2
star
29

gojistaticbin

Middleware for Goji (https://github.com/zenazn/goji) that serves static files from a go-bindata (https://github.com/jteeuwen/go-bindata) generated asset file.
Go
2
star
30

git-extensions

My personal git extensions
Shell
1
star
31

hypebeast.ruhoh.com

My ruhoh repository
Ruby
1
star
32

dext-application-plugin

Dext plugin to search local applications
JavaScript
1
star
33

hypebeast.github.com

My personal github page.
1
star
34

playground

My coding playground
CSS
1
star
35

piJukebox

piJukebox is a music player web app made for Raspberry Pi.
JavaScript
1
star
36

node-typescript-starter-kit

NodeJs + ExpressJS + Typescript 2 starter kit
TypeScript
1
star
37

SebastianRuml.com

My Homepage
JavaScript
1
star
38

PicoUI

PicoUi is a mobile UI framework for the RaspberryPi. It's written in Go. More info is coming soon!
JavaScript
1
star
39

rstimeline

Simple time line control written in C#
1
star
40

spike-directus

Spike plugin for integrating Directus CMS with a static site
JavaScript
1
star
41

django-htmx-starterkit

A simple Django starterkit with Django, HTMX and Hyperscript.
CSS
1
star
42

jira-info

Work in Progress!
Python
1
star
43

etapi

Eta Pi is a Raspberry PI based, Flask powered monitor for ETA Heizkessels. Work in Progress!!
Python
1
star
44

docker-alpine-flask

Docker containers based on Alpine Linux to run Flask applications.
Makefile
1
star