Cross-platform client for PostgreSQL databases
Go to file
2015-03-21 19:14:11 -05:00
data Move all test data under ./data dir 2015-03-16 23:41:53 -05:00
Godeps Update gin to 0.5.0 2015-02-09 01:31:16 -06:00
screenshots Update screenshots 2015-01-09 22:33:31 -06:00
static Add activity tab 2015-03-21 19:14:11 -05:00
.gitignore Add sample coverage file to gitignore 2015-03-04 08:53:41 -06:00
.travis.yml Run travis on 1.4.1/1.4.2 2015-03-04 09:06:48 -06:00
api_test.go Switch to mime standard lib for mime-type detection 2015-01-03 00:45:03 -06:00
api.go Add new endpoint /activity that returns active queries 2015-03-21 11:46:14 -05:00
app.json Fix identation in app.json and add icon url 2014-11-06 10:19:15 -06:00
appveyor.yml Add postgresql service to appveyor config 2015-01-13 21:23:08 -06:00
bindata.go Add activity tab 2015-03-21 19:14:11 -05:00
bookmarks_test.go Move all test data under ./data dir 2015-03-16 23:41:53 -05:00
bookmarks.go Add bookmark tests 2015-03-03 20:44:14 -06:00
CHANGELOG.md Update changelog 2015-02-23 20:17:20 -06:00
client_test.go Move all test data under ./data dir 2015-03-16 23:41:53 -05:00
client.go Add activity tab 2015-03-21 19:14:11 -05:00
connection_string_test.go Test blank connection options 2014-12-17 21:56:15 -06:00
connection_string.go Fall back to USER env var when detecting OS user 2015-01-09 22:55:00 -06:00
Dockerfile Update dockerfile base to golang:1.4.2 2015-03-16 23:51:24 -05:00
history.go Add history record struct and collect timestamps for query history 2015-01-04 18:11:13 -06:00
LICENSE 2015 2014-12-31 18:33:06 -06:00
main.go Version bump: 0.5.1 2015-02-23 20:17:03 -06:00
Makefile Add docker-release to usage 2015-03-17 00:01:28 -05:00
Procfile Bind to 0.0.0.0 in Procfile 2014-11-05 22:15:05 -06:00
profiler.go Rename utils.go to profiler.go 2014-12-05 00:23:55 -06:00
README.md Show appveyor badge for master branch only 2015-01-09 23:31:49 -06:00
statements.go Add new endpoint /activity that returns active queries 2015-03-21 11:46:14 -05:00

pgweb

Web-based PostgreSQL database browser written in Go.

Release

Overview

Pgweb is a web-based database browser for PostgreSQL, written in Go and works on OSX, Linux and Windows machines. Main idea behind using Go for backend development is to utilize ability of the compiler to produce zero-dependency binaries for multiple platforms. Pgweb was created as an attempt to build very simple and portable application to work with local or remote PostgreSQL databases.

Features

  • Works on OSX, Linux and Windows
  • Zero dependencies
  • Simple installation (distributes as a single binary)
  • Connect to local or remote servers
  • Browse tables and table data
  • Get table details: structure, size, indeces, row count
  • Run / analyze custom queries
  • Export query results to CSV
  • Query history
  • Server bookmarks

Visit WIKI for more details

Installation

Precompiled binaries for supported operating systems are available.

More installation options

Usage

Start server:

pgweb

You can also provide connection flags:

pgweb --host localhost --user myuser --db mydb

Connection URL scheme is also supported:

pgweb --url postgres://user:password@host:port/database?sslmode=[mode]

Deploy on Heroku

Heroku Deploy

Testing

Run tests:

make test

Continuous integration status:

  • Travis (Linux) - Build Status
  • Appveyor (Windows) - Build Status

Contribute

  • Fork repository
  • Create a feature or bugfix branch
  • Open a new pull request
  • Use github issues for any questions

Contact

License

The MIT License (MIT)

Copyright (c) 2014-2015 Dan Sosedoff, dan.sosedoff@gmail.com