macOS
brew install electriclocal Homebrew formula metadata
sudo port install electricMacPorts ports tree · graphics/electric/Portfile · 来源: api.github.com
安装
brew install electriclocal Homebrew formula metadata
sudo port install electricMacPorts ports tree · graphics/electric/Portfile · 来源: api.github.com
sudo apt install electricDebian stable package indexes · electric · 来源: deb.debian.org
概览
Real-time sync for Postgres
历史
Electric is an open-source Postgres sync engine. It focuses on syncing data out of Postgres into local clients over HTTP, using Shapes for partial replication and client libraries or framework integrations for consumption.
The electric-sql/electric repository was created in June 2022. The project grew around the local-first application problem: keeping local UI state fast while retaining Postgres as the source database.
Electric's own 1.0 release notes describe a major 2024 rebuild that made the sync engine simpler, faster, more reliable, and more scalable. The project reached beta in December 2024 and then announced 1.0 general availability in March 2025 with stable APIs for the core sync service.
Electric's adoption story is tied to production local-first and real-time workloads rather than traditional database administration. The 1.0 announcement cites production users, managed Electric Cloud, open-source users, and workloads that process large volumes of sync traffic.
The project has also broadened through integrations and examples: the official docs list TypeScript clients, React integration, framework integrations, deployment guides, demos, and the related PGlite project.
A typical Electric setup runs the sync service in front of a Postgres database with logical replication enabled and a `DATABASE_URL`. Clients consume the HTTP API directly or through libraries such as the TypeScript client and React hooks.
Developers use Electric when they want local-first or real-time application behavior without writing their own fan-out, partial replication, and data delivery layer. The README highlights Shapes as the primitive for selecting the subset of Postgres data to sync.
Electric is package-nerd interesting because it packages database synchronization as a developer-service CLI/runtime rather than a framework-only library. It sits at the intersection of Postgres, local-first apps, HTTP APIs, client packages, and deployment tooling.
安全态势
没有找到 electric 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
electric | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/electric-sql/electric
安装元数据
| 软件包键 | brew:electric |
|---|---|
| 版本 | 1.7.8 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/electric |
| 主页 | https://electric-sql.com |
| 仓库 | https://github.com/electric-sql/electric |
| 上游文档 | https://electric-sql.com/docs |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/electric-sql/electric/archive/refs/tags/@core/sync-service@1.7.8.tar.gz |
| 最后更新 | 2026-07-22T16:03:49Z |
| Pulse | updated |
| 依赖 | openssl@3 |
| 构建依赖 | elixir, erlang@28 |
| macOS 提供的库 | ncurses |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | electric |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
electric 9.07+dfsg-7
electrical CAD system
http://www.staticfreesoft.com/productsFree.html
sudo apt install electricelectric 9.07+dfsg-7
electrical CAD system
http://www.staticfreesoft.com/productsFree.html
sudo apt install electricelectric
sudo port install electric来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.