{"id":17682266,"url":"https://github.com/matthewmcgarvey/lucky_pg_extras","last_synced_at":"2026-05-02T19:36:54.777Z","repository":{"id":92570616,"uuid":"299788260","full_name":"matthewmcgarvey/lucky_pg_extras","owner":"matthewmcgarvey","description":"Crystal/Lucky PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more.","archived":false,"fork":false,"pushed_at":"2021-08-02T20:12:00.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T19:24:34.700Z","etag":null,"topics":["crystal","lucky-framework","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Crystal","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/matthewmcgarvey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-09-30T02:23:40.000Z","updated_at":"2021-12-18T21:36:23.000Z","dependencies_parsed_at":"2023-04-08T06:01:09.157Z","dependency_job_id":null,"html_url":"https://github.com/matthewmcgarvey/lucky_pg_extras","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/matthewmcgarvey/lucky_pg_extras","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewmcgarvey%2Flucky_pg_extras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewmcgarvey%2Flucky_pg_extras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewmcgarvey%2Flucky_pg_extras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewmcgarvey%2Flucky_pg_extras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matthewmcgarvey","download_url":"https://codeload.github.com/matthewmcgarvey/lucky_pg_extras/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matthewmcgarvey%2Flucky_pg_extras/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["crystal","lucky-framework","postgresql"],"created_at":"2024-10-24T09:13:22.630Z","updated_at":"2026-05-02T19:36:54.760Z","avatar_url":"https://github.com/matthewmcgarvey.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lucky PG Extras\n\nCrystal port of [Ruby PG Extras](https://github.com/pawurb/ruby-pg-extras) which is a Ruby port of [Heroku PG Extras](https://github.com/heroku/heroku-pg-extras).\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     lucky_pg_extras:\n       github: matthewmcgarvey/lucky_pg_extras\n   ```\n\n2. Run `shards install`\n3. Require the shard in `src/shards.cr`\n\n   ```crystal\n   require \"lucky_pg_extras\"\n   ```\n\n4. Set up the configuration in `config/lucky_pg_extras.cr`\n\n   ```crystal\n   LuckyPgExtras.configure do |settings|\n     settings.database = AppDatabase\n   end\n   ```\n\nSome of the queries (e.g., `calls` and `outliers`) require [pg_stat_statements](https://www.postgresql.org/docs/current/pgstatstatements.html) extension enabled.\n\n## Usage\n\nRunning `lucky -h` should now show the `pg_extras` commands that are available.\n\n## Development\n\nTODO: Write development instructions here\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/matthewmcgarvey/lucky_pg_extras/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Matthew McGarvey](https://github.com/matthewmcgarvey) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewmcgarvey%2Flucky_pg_extras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatthewmcgarvey%2Flucky_pg_extras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatthewmcgarvey%2Flucky_pg_extras/lists"}