macOS
brew install postgrestlocal Homebrew formula metadata
安装
brew install postgrestlocal Homebrew formula metadata
nix profile install nixpkgs#postgrestnixpkgs package indexes · postgrest · 来源: raw.githubusercontent.com
sudo pacman -S postgrestArch Linux sync databases · postgrest · 来源: geo.mirror.pkgbuild.com
scoop install main/postgrestScoop official bucket manifest trees · bucket/postgrest.json · 来源: api.github.com
概览
Serves a fully RESTful API from any existing PostgreSQL database
历史
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.
安全态势
没有找到 postgrest 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
postgrest | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/PostgREST/postgrest
安装元数据
| 软件包键 | 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 |
| Pulse | updated |
| 依赖 | 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 Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | postgrest |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
postgrest
nix profile install nixpkgs#postgrestpostgrest 10.1.0-94
REST API for any Postgres database
https://github.com/begriffs/postgrest
sudo pacman -S postgrestmain/postgrest
scoop install main/postgrest来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.