Cross-platform client for PostgreSQL databases
Go to file
2014-10-14 11:34:22 -05:00
screenshots Fix screenshots 2014-10-14 11:26:22 -05:00
static Disable query executing if its already in progress 2014-10-13 20:12:13 -05:00
.gitignore Serve assets with bindata 2014-10-13 14:40:56 -05:00
api.go Frontend tweaks 2014-10-13 19:49:43 -05:00
API.md Update docs 2014-10-11 13:40:15 -05:00
client.go Use db.Ping to test connection 2014-10-11 22:38:32 -05:00
LICENSE License, readme 2014-10-13 21:02:04 -05:00
main.go Version: 0.1.0 2014-10-13 21:12:19 -05:00
Makefile Frontend tweaks 2014-10-13 19:49:43 -05:00
README.md Update README.md 2014-10-14 11:34:22 -05:00
TODO.md Readme tweaks 2014-10-13 18:31:28 -05:00

pgweb

Web-based PostgreSQL database browser written in Go.

Overview

This is a web-based browser for PostgreSQL database server. Its written in Go and works on Mac OSX, Linux and Windows machines. Main idea behind using Go for the backend is to utilize language's ability for cross-compile source code for multiple platforms. This project is an attempt to create a very simple and portable application to work with PostgreSQL databases.

Installation

Please visit Github Releases to download a precompiled binary for your operating system.

Currently supported:

  • Mac OSX 64bit
  • Linux 32/64bit
  • Windows 32/64bit

Usage

Start server:

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

You can also specify a connection URI instead of individual flags:

pgweb --url postgresql://user:password@host:port/database

It works great with Heroku Postgres if you need to troubleshoot production database or simply run a few queries.

CLI

CLI options:

Usage:
  pgweb [OPTIONS]

Application Options:
  -d          Enable debugging mode (false)
      --url=  Database connection string
      --host= Server hostname or IP (localhost)
      --port= Server port (5432)
      --user= Database user (postgres)
      --db=   Database name (postgres)
      --ssl=  SSL option (disable)

Compile from source

Go 1.3+ is required. You can install Go with homebrew:

brew install go

To compile source code run the following command:

make deps
make dev

This will produce pgweb binary in the current directory.

Contributors

License

The MIT License (MIT)

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