pkg.soopen package index

brew / 排名 2126

使用 Homebrew, Nix, pacman, scoop 安装 postgrest

查看 postgrest 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install postgrest

local Homebrew formula metadata

Windows

Scoop已验证 · 92%
scoop install main/postgrest

Scoop official bucket manifest trees · bucket/postgrest.json · 来源: api.github.com

概览

软件包摘要

Serves a fully RESTful API from any existing PostgreSQL database

命令和别名

  • postgrest

历史

项目历史与用法

PostgREST is a standalone web server that exposes a PostgreSQL database as a RESTful API derived from database objects and permissions.

项目历史

PostgREST emerged in 2014 around the idea of serving a REST interface directly from a PostgreSQL schema. It grew into a community-maintained Haskell server with automatic OpenAPI descriptions, JWT-aware authorization, resource embedding, and database-driven configuration.

采用历史

PostgREST developed a production user base around organizations that wanted PostgreSQL itself to remain the source of API structure and authorization. The official documentation lists production adopters including Supabase and several independent services.

It is distributed as a standalone server and has accumulated an ecosystem of client libraries, templates, deployment examples, and integrations.

使用方式

Users point PostgREST at a PostgreSQL database and model endpoints and permissions with tables, views, functions, and roles. Clients then query and mutate those resources over HTTP.

There is no predefined configuration-file location: the file path is supplied as the server's sole positional argument. Settings can instead come from `PGRST_` environment variables or in-database configuration. Secrets such as the database URI and JWT key are configuration values rather than a separately documented credentials file.

为什么软件包爱好者会关心

PostgREST is a notable example of turning database metadata into an application interface: tables, views, functions, relationships, and roles become an HTTP API without maintaining a conventional object-relational application layer.

For package users it is a compact companion to PostgreSQL, but its operational behavior still depends on careful database-role design, connection configuration, and schema-cache management.

时间线

  • 2014: The core PostgREST approach was publicly presented.
  • Later development: The project added richer querying, JWT authorization, OpenAPI output, resource embedding, and operational controls.
  • Current project: PostgREST maintains a production ecosystem and parallel supported release lines.

Related projects

  • PostgreSQL supplies the database, schema, roles, and functions that PostgREST exposes.
  • Supabase uses PostgREST as part of its PostgreSQL-centered platform.

安全态势

尚未找到受保护工具覆盖

没有找到 postgrest 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
postgrestcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本16.5
管理器更新时间2026-10-20
本地数据OK
上游当前
检测到的最新版本v16.5

https://github.com/PostgREST/postgrest

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:postgrest
版本16.5
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/postgrest
主页https://github.com/PostgREST/postgrest
仓库https://github.com/PostgREST/postgrest
许可证MIT
源码归档https://github.com/PostgREST/postgrest/archive/refs/tags/v16.5.tar.gz
最后更新2026-10-20T07:28:04Z
Pulseupdated
依赖gmp, libpq
构建依赖cabal-install, ghc@9.12
macOS 提供的库libffi
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepostgrest
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

postgrest

nix profile install nixpkgs#postgrest
  • normalized package name match
  • 匹配方式:Postgrest
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: postgrest from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
pacman95%

postgrest 10.1.0-94

REST API for any Postgres database

https://github.com/begriffs/postgrest

sudo pacman -S postgrest
  • License: MIT
  • Architecture: x86_64
  • 32 依赖
  • normalized package name match
  • 匹配方式:Postgrest
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: postgrest from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
Scoop95%

main/postgrest

scoop install main/postgrest
  • normalized package name match
  • 匹配方式:Postgrest
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/postgrest.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation