pgadmin-org / pgadmin-org/pgadmin4

Stripped lean pgAdmin build

Open
#9,331 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
3.8k
Forks
891
Avg merge
4d 7h
Merged PRs (30d)
8

Description

Describe the solution you'd like

Strip all functionality for dev work. I only need to see my local postgres tables, nothing fancy.

Postgres docker image = 269MB
pgAdmin docker image = 392MB

When I look into the files, I can see that some functionality takes up a lot of space.
Among many, I can see a "googleapiclient" package having a whopping 91MB of bloat I don't need.

It would be great to have a version of pgAdmin which is lean and has hardly any features OR an option in the Makefile to disable and remove all functionality that is not needed.

Core functionality

  • PostgreSQL database management
  • Query tool & SQL editor
  • Database object browser
  • Backup/restore tools
  • SSH tunnel connections
  • Internal authentication
  • Full web UI
  • All admin tools

No enterprise Google etc auth and shenanigans 😍

Describe alternatives you've considered
Adminer...but that's not much of an alternative

Additional context
Image
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Makefile and inspect how the Docker image assembles its Python dependencies, including the reported googleapiclient package. Define a reproducible lean-build option that preserves the listed PostgreSQL management, query, browser, backup, SSH, authentication, UI, and admin functionality while excluding unwanted Google or enterprise features. Done means the reduced image can be built and its retained functionality is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, postgresql, python
Domain
build-system, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.