{"id":17783507,"url":"https://github.com/skalt/pg_doc_archive","last_synced_at":"2026-04-30T07:36:55.405Z","repository":{"id":82682139,"uuid":"415460713","full_name":"SKalt/pg_doc_archive","owner":"SKalt","description":"scraper \u0026 archive for the english postgres documentation site","archived":false,"fork":false,"pushed_at":"2025-07-21T05:34:18.000Z","size":53,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-21T07:23:33.783Z","etag":null,"topics":["archive","documentation","postgres","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","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/SKalt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"licenses/mit.license.md","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}},"created_at":"2021-10-10T01:38:56.000Z","updated_at":"2025-04-17T18:19:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2ed7149-901c-42f7-a748-d434dc4a072d","html_url":"https://github.com/SKalt/pg_doc_archive","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/SKalt/pg_doc_archive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKalt%2Fpg_doc_archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKalt%2Fpg_doc_archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKalt%2Fpg_doc_archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKalt%2Fpg_doc_archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SKalt","download_url":"https://codeload.github.com/SKalt/pg_doc_archive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SKalt%2Fpg_doc_archive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32458237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"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":["archive","documentation","postgres","postgresql"],"created_at":"2024-10-27T07:43:04.513Z","updated_at":"2026-04-30T07:36:55.358Z","avatar_url":"https://github.com/SKalt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pg_doc_archive\n\nA scraper to archive the postgresql documentation site.\n\n## Why scrape the docs?\n\nTo make it easier to build on the postgres docs. For example, the tarball this scraper spits out could be used to ship the postgres docs as a part of a postgres language server or to automatically compare a specific language feature between postgres versions.\n\nThe postgres [docs download page](https://www.postgresql.org/docs/) offers PDF downloads, but doesn't offer collections of web pages.\nThere are other archives that might offer collections of the HTML postgres docs (for example, [archive.org](https://web.archive.org/web/*/www.postgres.org) and [devdocs.io](https://devdocs.io/postgresql~13/)), but none seem to offer a service as easy as downloading a tarball from GitHub.\n\n### How to consume\n\nGo to the github page's releases tab and download the latest tarball.\n\nYou should be able to serve the unpacked tarball as a local copy of the postgres documentation site.\nThere may be some broken links, but most of the relevant CSS and images should be preserved.\nYou could then point a scraper such as [`colly`](https://github.com/gocolly/colly/blob/master/_examples/local_files/local_files.go) ([archive](https://github.com/gocolly/colly/blob/19b3ce62c774973a898eea3063c962aea206ec19/_examples/local_files/local_files.go)) at either the filesystem or your local webserver.\n\n## Licensing\n\nThe scraper itself [MIT licensed](./licenses/mit.license.md).\nThe postgres docs are licensed under [the Postgres license](./licenses/postgres.license.md).\nPer the postgres license, a copy of the postgres license is included in all copies of the scraped documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskalt%2Fpg_doc_archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskalt%2Fpg_doc_archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskalt%2Fpg_doc_archive/lists"}