{"id":27219968,"url":"https://github.com/whisperpine/postgres-demo","last_synced_at":"2026-04-19T15:02:22.550Z","repository":{"id":287071707,"uuid":"957124368","full_name":"whisperpine/postgres-demo","owner":"whisperpine","description":"My PostgreSQL playground.","archived":false,"fork":false,"pushed_at":"2025-12-28T11:49:02.000Z","size":41,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-30T22:23:39.086Z","etag":null,"topics":["database","postgres","sql","timescale"],"latest_commit_sha":null,"homepage":"","language":"SQL","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/whisperpine.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-29T16:03:29.000Z","updated_at":"2025-12-28T11:49:06.000Z","dependencies_parsed_at":"2025-04-09T20:39:57.769Z","dependency_job_id":"8f30769f-3401-4cdc-b563-09980ce43b79","html_url":"https://github.com/whisperpine/postgres-demo","commit_stats":null,"previous_names":["whisperpine/postgres-demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/whisperpine/postgres-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fpostgres-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fpostgres-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fpostgres-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fpostgres-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/whisperpine","download_url":"https://codeload.github.com/whisperpine/postgres-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/whisperpine%2Fpostgres-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32010958,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["database","postgres","sql","timescale"],"created_at":"2025-04-10T06:50:13.608Z","updated_at":"2026-04-19T15:02:22.544Z","avatar_url":"https://github.com/whisperpine.png","language":"SQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Postgres Demo\n\nMy PostgreSQL playground.\n\n## References\n\n- Official documents: [postgresql.org/docs](https://www.postgresql.org/docs/current/index.html).\n- Postgres cheat sheet: [postgres cheat sheet](https://www.timescale.com/learn/postgres-cheat-sheet).\n- Postgres ecosystem: [awesome-postgres](https://github.com/dhamaniasad/awesome-postgres).\n\n## Prerequisites\n\n- Docker is up and running.\n- `docker compose` command is available.\n- [direnv](https://github.com/direnv/direnv) will be used to load env vars in `.env`.\n- `psql` is available to connect to postgres server.\n\n## Get Stated\n\n```sh\n# create `.env` by the template `.env.example`.\ncp .env.example .env \n# load env vars written in `.env`.\ndirenv allow\n# run postgresql as container.\ndocker compose up -d\n# connect to postgres by psql.\npsql\n```\n\n## Backup and Restore\n\nIt's recommended to install [just](https://github.com/casey/just),\nso that backup and restore can be simplified as:\n\n```sh\njust backup\njust restore\n```\n\n## Recommendations\n\n- If you are using `nix`, use [nix-direnv](https://github.com/nix-community/nix-direnv)\n  to load dev environment automatically.\n- CLI with autocompletion and syntax highlighting: [pgcli](https://github.com/dbcli/pgcli)\n  (as a alternative to `psql`).\n- vim or neovim users may give a try to [vim-dadbod](https://github.com/tpope/vim-dadbod)\n  and [vim-dadbod-ui](https://github.com/kristijanhusak/vim-dadbod-ui).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisperpine%2Fpostgres-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwhisperpine%2Fpostgres-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwhisperpine%2Fpostgres-demo/lists"}