PIG CLI Website
Repo pgsty/pig.pgsty.com, read from GitHub 1 min ago. pgsty has not joined Take My Repo.
pgsty/pig.pgsty.com is a public repo on GitHub by pgsty. PIG CLI Website. It declares the CC-BY-4.0 license on GitHub. It is written mainly in CSS, has 0 stars and last changed on 2026-11-12. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
This repository contains the bilingual website for PIG — Postgres
Install Guide, the PostgreSQL extension package manager by
Pigsty. It is built with
Hugo and the OINK
documentation theme, with English at / and Simplified Chinese at /zh/.
Documentation pages live at the site root — /install/, /repo/,
/pg/ — with no /docs/ path prefix. /docs/ is only the
documentation overview page, and the sidebar tree is built from the top-level
pages by front-matter weight.
content/
_index.md # landing page metadata (the page itself is layouts/index.html)
download.md # /download/ — the release matrix page (layouts/download/single.html)
docs/_index.md # /docs/ — documentation overview, listed in the sidebar root menu
start.md # /start/ weight 10
intro.md # /intro/ weight 20
install.md # /install/ weight 30
_link_release.md # sidebar entry pointing at /release/ (manualLink, not a page)
_div_cmd.md # sidebar group heading (sidebar_divider, not a page)
cmd.md # /cmd/ weight 100
repo.md ext.md build.md sty.md inventory.md do.md pg.md pt.md pe.md pb.md pitr.md
blog/ # /blog/ — all posts, newest first
article/ # /article/ — topical bilingual articles and their bundled media
design/ # /design/ and dated bilingual decision records
release/ # /release/ and /release/pig-X.Y.Z/
authors/vonng/ # /authors/vonng/ — an author profile (the `authors` taxonomy term)
data/home/metrics.yaml # landing page counters
Blog URLs drop the blog prefix: permalinks.page and
permalinks.section in hugo.yaml use :sections[1:], so
content/blog/release/pig-1.6.0.md publishes at
/release/pig-1.6.0/. A new blog subsection is a new top-level prefix with
no config change. Only content/blog/_index.md pins its own
url: /blog/, because slicing its single section would resolve to /.
Release notes are one dated post per version under
content/blog/release/. Adding a release means adding a
pig-X.Y.Z.md / .zh.md pair with weight ascending from the newest.
Design records are dated bilingual posts under content/blog/design/. Their historical
date is the evidence-backed decision date; lastmod records the latest editorial or status
review. They explain why a contract exists and link back to the current reference page.
Topical articles live as bilingual leaf bundles under content/blog/article/. The bundles keep each
article's featured image and inline media beside index.md / index.zh.md. Republished historical
articles retain their original date and contemporary figures, carry an archive note linking the
source, and point readers to current PIG documentation and the live extension catalog.
Each page ships as an English .md plus a Chinese .zh.md. Two sections
stay out of the docs sidebar tree via toc_root: true — docs/ and
blog/ — because the sidebar root menu already lists them.
Three taxonomies are declared in hugo.yaml: categories, tags, and OINK
1.5.0's authors.
Tutorial / Task /
Concept / Reference (教程 / 任务 / 概念 / 参考). Release notes and
design records carry no category: their sections already identify the page kind.repo, ext, postgres, patroni, pgbackrest, pitr, sty,
build, inventory, catalog, cli, install. That shared vocabulary is
the point — /tags/repo/ lists the pig repo reference page next to every
release that touched repository handling. Cap a page at four.authors: [Vonng];
the profile is the term page at content/authors/vonng/_index.md, whose
title is the display name, description the one-line bio, body the long one,
and bundled featured-avatar.png the portrait. The pre-0.6 author: string
is not used here.Blog indexes publish as OINK's default row list. params.ui.blog_index_toggle
puts a control in the index toolbar so a reader can cycle any of them through
list, cards, and table.
/design/ is the canonical rationale and decision-history surface. Current syntax remains in
the root documentation pages, delivery timing remains in /release/, and implementation evidence
links to fixed source commits. A design record uses the same explicit heading anchors in English
and Chinese: decision, context, alternatives, contract, impact, verification, and
status.
Do not publish raw planning prompts, local absolute paths, temporary review transcripts, secrets,
or unverified completion claims. bin/check_design.py enforces pairing, front matter, tag vocabulary,
anchor parity, visible decision metadata, source evidence, and the main publication-safety rules.
Each release note is written in OINK's native release forms rather than by hand:
release_url in front matter is the one release fact. Everything else — the
owner, the project, the tag, the source archive URLs — is parsed out of it,
and the date is the page's own.{{< release-card >}} closes the post with the tag, the date, and links to
the release, both source archives, and the repository. It sits at the end
because blog list rows summarise from .Plain, and a card at the top would
become the summary.```checksums fence turns sha256sum / md5sum output into the
asset table: one row per file with a download link, OS and architecture
badges, the algorithm (detected from the hex length), a truncated hash with
a copy button, and a copy-all control. The base URL comes from
release_url, so the filenames in the fence are the only thing to paste.
Print, Markdown, and RSS output fall back to the plain listing.Google Analytics 4 (services.googleAnalytics.id) and giscus comments
(params.comments) are both configured in hugo.yaml. Analytics is injected
in production builds only. Comments render at the end of ordinary documentation
and blog pages; the landing page and the download page are standalone
templates with no page-end block, so they carry neither. Discussions live in
the site repository (pgsty/pig.pgsty.com), not the product repository, so
that user questions filed against pgsty/pig stay separate from page comments.
The pinned OINK module owns the documentation and blog layouts, navigation shell, search, table of contents, blocks and shortcodes, styles, scripts, fonts, and third-party runtimes. The site imports the pinned OINK 1.5.1 release as a Hugo Module.
The landing page and the download page keep their bespoke visual design, but
they render inside the theme shell: OINK supplies <head>, the navbar, the
fat footer, the search box and command palette, and the script bundle. Neither
page hand-rolls chrome any more. Documentation uses the new search metadata, sidebar icon policy,
content primitives, and assistant page actions. The blog root provides pig.webp as its
fallback featured image. Release and Design replace that fallback with pig-release.webp
and pig-design.webp on both the section page and its descendant cascade, so an article's
own featured resource or explicit images value can still take precedence.
The local layout surface is intentionally small:
layouts/index.html and layouts/download/landing.html are the two bespoke
page bodies. Each is a {{ define "main" }} block inside OINK's landing
shell, so the navbar, footer, search, and scripts are the theme's. The only
site partial they carry is pig/hero-diagram.html, the home page's inline
SVG. content/download.md sets layout: landing so the landing base
template applies and the navbar keeps its search box.layouts/_partials/hooks/head-end.html and body-end.html load
landing-v3.css / pig-v3.css / download.css / fonts.css and
landing-v3.js (plus download.js) on the home and download pages only.
Every other page gets the theme bundle and nothing else.section inside main a 5rem block padding (.td-default main section,
specificity 0,1,2), which outranks the landing's own .hero /
.landing-section rules. The fix is not a blanket reset — that would erase
the landing's rhythm too — but a .landing-page prefix on the handful of
rules that set section padding, since two classes outrank one class plus two
elements. The first section is special-cased through the
--pig-section-pad-top custom property so its value is still declared once.data/footer/<lang>.yaml drives OINK's fat footer, and the copyright line
comes from each language's params.copyright.authors (rendered as Markdown).
ICP filings, if ever needed, belong in params.footer_center_info.kind: '{page,section}' on purpose. Taxonomy
and term pages are descendants of home too, and colouring them type: docs
would route them to OINK's docs/list.html instead of the term layout that
renders the author profile and the blog rows.layouts/index.md and layouts/index.llms.txt index PIG's intentionally
root-level documents; the generic OINK indexes assume documents live below
/docs/.params.ui.docs_sidebar_root: home keeps root-level documentation rooted at
Site.Home; /docs/ remains an overview rather than a content container.sidebar_divider grouping row; the project stylesheet only
applies PIG's visual treatment to that theme-owned semantic row.Do not copy OINK layouts, blocks, or assets into this repository for ordinary customization. Prefer OINK configuration and upstream generic theme changes; keep local overrides limited to PIG-specific behavior.
Install Hugo Extended 0.168.0, Go 1.27.3, and Git. OINK vendors its runtime assets, so this site does not require Node.js, npm, or a CDN.
Debug against the latest sibling OINK checkout with an inline Hugo Module replacement (no Go workspace file is created):
make d
Serve or build with the theme version pinned in go.mod using:
make s make b
Run module verification, the production build, Markdown hygiene checks, and internal-link validation with:
make c
The corresponding long targets are debug, serve, build, and check;
make dev uses the sibling OINK checkout while make serve retains the pinned-theme preview. Preview targets let Hugo choose an
available port unless PORT is set explicitly.
The production build also publishes Markdown copies for pages and sections,
printable section bundles under /_print/, bilingual llms.txt indexes, and
language-local search indexes consumed by the shared OINK command palette.
.md / Chinese .zh.md pair with
aligned content.url: in front matter — the file path already produces the
intended URL. Chinese pages get the /zh/ prefix automatically./install/ in English pages,
/zh/install/ in Chinese pages.https://pigsty.io/... for English and https://pigsty.cc/... for
Chinese.pig binary;
do not invent output.{{< param version >}} is the pig version,
{{< param pigsty_version >}} is the embedded Pigsty version, and
{{< param pgext_count >}} is the catalog entry count, including SQL utilities and retained records. Keep them in
sync with internal/config/config.go in the pig repository.The website content in this repository is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
pgsty/pig.pgsty.com is a public repo on GitHub by pgsty. PIG CLI Website.
It declares the CC-BY-4.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-12. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
A simple, open source bilingual translation extension & Greasemonkey script (一个简约、开源的 双语对照翻译扩展 & 油猴脚本)
The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
Interesting APT Report Collection And Some Special IOCs
Enterprise-Grade OSS PostgreSQL Distribution with HA, PITR, IaC, Monitor, 12 kernel forks and 575 PG extensions. Best-of-breed products integrated as a platform. Self-host Postgres like a Pro!
Aho-Corasick Automaton with Double Array Trie (Multi-pattern substitute in go)
Advanced PostgreSQL & Pgbouncer Metrics Exporter for Prometheus



This page is also available as structured data, with the same sources and dates.
Take My Repo has not tested this on your machine. Requirements come from the project's own documentation.