{"id":48813678,"url":"https://github.com/gautada/pgweb","last_synced_at":"2026-04-14T10:02:48.660Z","repository":{"id":215677794,"uuid":"739526390","full_name":"gautada/pgweb","owner":"gautada","description":"This is a simple pgweb container to provide a web interface to a postgresql deployment.","archived":false,"fork":false,"pushed_at":"2026-04-12T05:56:30.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-12T07:22:57.221Z","etag":null,"topics":["client","container","database"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gautada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-05T19:27:37.000Z","updated_at":"2026-04-12T05:56:40.000Z","dependencies_parsed_at":"2024-01-10T04:17:38.500Z","dependency_job_id":"6fb1f268-ec82-4980-95b7-fd681debe0c4","html_url":"https://github.com/gautada/pgweb","commit_stats":null,"previous_names":["gautada/pgweb-container","gautada/pgweb"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gautada/pgweb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautada%2Fpgweb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautada%2Fpgweb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautada%2Fpgweb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautada%2Fpgweb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gautada","download_url":"https://codeload.github.com/gautada/pgweb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautada%2Fpgweb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31791173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["client","container","database"],"created_at":"2026-04-14T10:02:48.135Z","updated_at":"2026-04-14T10:02:48.654Z","avatar_url":"https://github.com/gautada.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pgweb\n\n## Abstract\n\n[pgweb](http://sosedoff.github.io/pgweb/) makes PostgreSQL administration more accessible\nand to make the overall usage easier. **pgweb** is a web-based database browser for\nPostgreSQL, written in Go with zero-dependency binaries. **pgweb** was created\nas an attempt to build very simple and portable application to work with local\nor remote PostgreSQL databases. This project is open-sourced and maintained\na [GitHub repository](https://github.com/sosedoff/pgweb).\n\n## Development\n\n## Database URL\n\nThe database URL used for development is provided through a a system\nenvironment variable(COMPOSE_PGWEB_DATABASE_URL). The format of the URL is\nthe typical [postgres URL](https://www.prisma.io/dataguide/postgresql/short-guides/connection-uris)\n\npostgres://pgweb@{HOST.DOMAIN.TLD}:5432/postgres?connect_timeout=30\u0026sslmode=disable\n\n- **pgsql**: username - this is the default username that should be setup\nin postgres\n- **HOST.DOMAIN.TLD**: host - this is the fully-qualified domain name of the\npostgres server\n- **postgres**: database - the default database to connect into\n- **connect_timeout=30\u0026sslmode=disable**: parameter_list - the connection\nparameters to use.\n\n### Variables\n\n**compose.yml** needs to have some variables set, to-do document.\n\n## Notes\n\n- 2024-02-26: FF to fix build error.\n\n## Bookmarks and Saved Queries\n\npgweb supports saved database connection bookmarks via `.toml` files mounted\nat `/mnt/volumes/configmaps/bookmarks/`. The service script automatically\nenables bookmarks when this directory exists.\n\n### Bookmark File Format\n\nCreate one `.toml` file per bookmark in `/mnt/volumes/configmaps/bookmarks/`:\n\n```toml\n# /mnt/volumes/configmaps/bookmarks/mydb.toml\n[bookmark]\nurl      = \"postgres://user:password@host:5432/dbname\"\n# Optional: pre-load a query when this bookmark is selected\n# query = \"SELECT * FROM users LIMIT 10;\"\n```\n\nOr using individual fields:\n\n```toml\n[bookmark]\nhost     = \"postgres-host\"\nport     = 5432\nuser     = \"pgweb\"\npassword = \"secret\"\ndatabase = \"mydb\"\nsslmode  = \"disable\"\n```\n\n### Kubernetes ConfigMap Example\n\n```yaml\napiVersion: v1\nkind: ConfigMap\nmetadata:\n  name: pgweb-bookmarks\ndata:\n  production.toml: |\n    [bookmark]\n    host     = \"postgres\"\n    port     = 5432\n    user     = \"pgweb\"\n    database = \"app\"\n    sslmode  = \"require\"\n```\n\nMount at `/mnt/volumes/configmaps/bookmarks` in your pod spec.\n\n### Saved Queries\n\npgweb does not provide server-side persistent query storage. The\n`query` field in a bookmark `.toml` file pre-populates the query\neditor when the bookmark connection is opened, providing a\nworkflow for commonly used queries. Query history is stored in the\nbrowser's local storage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgautada%2Fpgweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgautada%2Fpgweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgautada%2Fpgweb/lists"}