萤火虫 Lampyris
默认离线的中文输入法 · 五笔优先,拼音兜底 · GPL-3.0-or-later
安装(macOS 13+,universal)
在终端粘贴执行(安装到当前用户,不需要 sudo):
curl -fsSL -o /tmp/lampyris.zip https://github.com/EasyIndie/EasyInputMethod/releases/latest/download/Lampyris-0.1.3-universal.zip && rm -rf /tmp/lampyris && ditto -x -k /tmp/lampyris.zip /tmp/lampyris && "$(find /tmp/lampyris -maxdepth 3 -name install.sh | head -1)" --app "$(find /tmp/lampyris -maxdepth 3 -name Lampyris.app -type d | head -1)"
- 安装器会校验 Developer ID 签名、hardened runtime 与公证;校验失败会拒绝安装。
- 安装后自动注册输入源;用
⌃Space或输入法菜单选中「萤火虫」即可(若菜单里还没出现,重启登录一次)。 - 同版本重复执行无操作;已有不同版本需先卸载(见下)。
- 对应源码(GPL-3.0 §6(d))在同一 Release 页:
Lampyris-0.1.3-source.tar.gz。
卸载
直接运行下面的命令:安装包内的卸载脚本会切回 ABC、禁用并移除输入源:
curl -fsSL -o /tmp/lampyris.zip https://github.com/EasyIndie/EasyInputMethod/releases/latest/download/Lampyris-0.1.3-universal.zip && rm -rf /tmp/lampyris && ditto -x -k /tmp/lampyris.zip /tmp/lampyris && "$(find /tmp/lampyris -maxdepth 3 -name uninstall.sh | head -1)" --input-source-removed
- 默认卸载会备份旧应用,保留
~/Library/Application Support/Lampyris/下的配置与个人词库。 - 如果宿主仍在运行,先注销一次再执行;旧输入源条目会在下次登录后消失。
- 彻底清除用户数据请由你自己删除该目录(安装器不提供静默清库参数)。
支持的平台与架构
| 平台 | 状态 | 架构 | 最低系统 |
|---|---|---|---|
| macOS | ✅ 可用 | Universal:arm64(Apple Silicon)+ x86_64(Intel) | macOS 13 Ventura |
| Windows | 计划中 | — | — |
| Linux | 计划中 | — | — |
| Android / iOS | 计划中 | — | — |
- macOS 发行包为 Developer ID 签名并公证;暂无 Mac App Store 版本。
- 输入法本身零网络;更新检查需手动点击菜单「检查更新…」或按
⌥G(可在设置中改键)。 - 升级:目前没有后台自动升级,请下载新包并按上面的卸载/安装流程操作(保留配置与词库)。
特性
- 默认混输:五笔能打则快,空码自动出拼音候选。
- 零网络、零遥测、无账号、无广告、无云同步。
- 配置唯一(
config.toml)且改动即时生效;用户词库本地、可导出/导入。 - 轻量:核心码表约 0.5 MB,安装包 < 15 MB。
故障与恢复
配置写坏、词库残留锁、数据文件缺失等,见仓库文档 故障恢复。