{"id":13514413,"url":"https://github.com/kwent/pgbouncerhero","last_synced_at":"2025-03-31T03:30:46.963Z","repository":{"id":45816544,"uuid":"80266481","full_name":"kwent/pgbouncerhero","owner":"kwent","description":"A dashboard for your PgBouncers.","archived":false,"fork":false,"pushed_at":"2023-02-08T15:29:54.000Z","size":376,"stargazers_count":260,"open_issues_count":2,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-20T13:34:07.611Z","etag":null,"topics":["dashboard","engine","gui","pgbouncer","postgresql"],"latest_commit_sha":null,"homepage":"https://pgbouncerhero-demo.herokuapp.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kwent.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2017-01-28T04:32:27.000Z","updated_at":"2025-03-14T10:18:11.000Z","dependencies_parsed_at":"2024-11-01T18:30:41.035Z","dependency_job_id":"82bbc9b3-a69f-4d06-8f96-409899bd3d87","html_url":"https://github.com/kwent/pgbouncerhero","commit_stats":{"total_commits":22,"total_committers":4,"mean_commits":5.5,"dds":0.5454545454545454,"last_synced_commit":"ad025e93f81c5520b07f79decf097721a5c8fc63"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwent%2Fpgbouncerhero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwent%2Fpgbouncerhero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwent%2Fpgbouncerhero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kwent%2Fpgbouncerhero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kwent","download_url":"https://codeload.github.com/kwent/pgbouncerhero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246413377,"owners_count":20773053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dashboard","engine","gui","pgbouncer","postgresql"],"created_at":"2024-08-01T05:00:55.798Z","updated_at":"2025-03-31T03:30:46.129Z","avatar_url":"https://github.com/kwent.png","language":"HTML","funding_links":[],"categories":["HTML","Ruby"],"sub_categories":[],"readme":"# PgBouncerHero\n\nA graphical user interface for your PGBouncers.\n\n[See it in action](https://pgbouncerhero-demo.herokuapp.com/). [Source Code](https://github.com/kwent/pgbouncerhero-demo).\n\n[![Screenshot1](https://github.com/kwent/pgbouncerhero/blob/master/doc/screenshot-1.png?raw=true)](https://pgbouncerhero-demo.herokuapp.com/)\n[![Screenshot2](https://github.com/kwent/pgbouncerhero/blob/master/doc/screenshot-2.png?raw=true)](https://pgbouncerhero-demo.herokuapp.com/)\n[![Screenshot2](https://github.com/kwent/pgbouncerhero/blob/master/doc/screenshot-3.png?raw=true)](https://pgbouncerhero-demo.herokuapp.com/)\n\n## Installation\n\nPgBouncerHero is available as a Rails engine.\n\nAdd those dependencies to your application’s Gemfile:\n\n```ruby\ngem 'pgbouncerhero'\n```\n\nAnd mount the engine in your `config/routes.rb`:\n\n```ruby\nmount PgBouncerHero::Engine, at: \"pgbouncerhero\"\n```\n\n### Basic Authentication\n\nSet the following variables in your environment or an initializer.\n\n```ruby\nENV[\"PGBOUNCERHERO_USERNAME\"] = \"zelda\"\nENV[\"PGBOUNCERHERO_PASSWORD\"] = \"triforce\"\n```\n\n### Devise\n\n```ruby\nauthenticate :user, -\u003e (user) { user.admin? } do\n  mount PgBouncerHero::Engine, at: \"pgbouncerhero\"\nend\n```\n\n## One PgBouncer\n\n```bash\nexport PGBOUNCERHERO_DATABASE_URL=postgres://user:password@host:port/pgbouncer\n```\n\n## Multiple PgBouncers\n\nCreate `config/pgbouncerhero.yml` with:\n\n```yml\ndefault: \u0026default\n  pgbouncers:\n    production:\n      master:\n        url: \u003c%= ENV[\"PGBOUNCER_PRODUCTION_MASTER_DATABASE_URL\"] %\u003e\n      slave:\n        url: \u003c%= ENV[\"PGBOUNCER_PRODUCTION_SLAVE_DATABASE_URL\"] %\u003e\n    staging:\n      master:\n        url: \u003c%= ENV[\"PGBOUNCER_STAGING_MASTER_DATABASE_URL\"] %\u003e\n      slave:\n        url: \u003c%= ENV[\"PGBOUNCER_STAGING_SLAVE_DATABASE_URL\"] %\u003e\n\ndevelopment:\n  \u003c\u003c: *default\n\nproduction:\n  \u003c\u003c: *default\n```\n\n# Authors\n\n- [Quentin Rousseau](https://github.com/kwent)\n\n# License\n\n```plain\nCopyright (c) 2022 Quentin Rousseau \u003ccontact@quent.in\u003e\n\nMIT License\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwent%2Fpgbouncerhero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkwent%2Fpgbouncerhero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkwent%2Fpgbouncerhero/lists"}