pgcli vs pgweb: What are the differences?
pgcli: Postgres CLI with autocompletion and syntax highlighting. This is a postgres client that does auto-completion and syntax highlighting; pgweb: Web-based PostgreSQL database browser written in Go. 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.
pgcli and pgweb can be primarily classified as "Database" tools.
Some of the features offered by pgcli are:
- Auto-completion as you type for SQL keywords as well as tables and columns in the database.
- Syntax highlighting using Pygments.
- Smart-completion (enabled by default) will suggest context-sensitive completion.
On the other hand, pgweb provides the following key features:
- Connect to local or remote server
- Browse tables and table rows
- Get table details: structure, size, indices, row count
pgcli and pgweb are both open source tools. It seems that pgcli with 8.01K GitHub stars and 365 forks on GitHub has more adoption than pgweb with 5.94K GitHub stars and 419 GitHub forks.