本文来源:https://mp.weixin.qq.com/s/BNdWuAyTtC5w77a_v3BI8g
若有版权问题,请来信告知:13951431913#139.com 或在右方提交评论。
电子墨水屏设备长期面临一个尴尬处境:明明硬件素质不错——1072×1448 分辨率的屏幕、Wi-Fi 连接、续航可达数周——却被限制在单一功能里,只能阅读厂商提供的书籍。虽然 Kobo 平台上的越狱和插件生态已存在多年,但始终停留在"折腾"的范畴。最近我发现的 Cobalt 项目把这件事提升到了真正的平台高度:它并非又一个补丁工具,而是为 Kobo 构建了完整的应用生态体系,包含启动器、应用商店、Rust SDK、运行时权限隔离,甚至还提供了 Clara BW 模拟器。
项目的 README 开篇就亮明定位:Apps and an SDK for Kobo e-readers。只需通过 USB 完成首次安装,此后所有应用的装、更、删全部依赖 Wi-Fi 完成。更关键的是,应用迭代与平台升级完全解耦——商店里上架新应用时,无需对 Cobalt 本身做任何重装或版本升级。这种架构上的独立,恰恰划清了"折腾型项目"与"真正平台"的界限。

启动器底部保留的"Kobo reader"按钮颇能体现开发者的克制:Cobalt 并不接管设备的启动流程,用户可以随时切回原厂电纸书界面,重启后也会恢复到出厂状态。设备准入方面,它通过硬件和固件标识进行严格管控,目前仅在 Kobo Clara BW N365(设备码 391)上做过验证,其余型号在有人提交并通过实测对应 profile 之前一律不予安装。首次部署时仍会修改用户存储分区的文件,作者对此毫不讳言,且明确表示不承担任何担保责任。
应用商店这一层的成熟度远超预期。它采用的是签名分发机制,每个应用都有独立的版本号,支持安装、升级、卸载、重装等完整操作,且全部在设备本地完成。仓库附带的演示视频中,正是用 Sudoku 走完了上述完整流程——这款应用被刻意设计为不内置于平台,以此来验证分发链路的真实可用性。

平台内置及商店在架的应用有十余款,这里挑几个代表性的聊聊。Gutenbird 支持接入任意 OPDS 格式的书库,Project Gutenberg、Standard Ebooks、Open Library 均可对接,还允许自定义添加数据源——这一款几乎就把"墨水屏只能看厂商书城的书"这个枷锁给卸了。arXiv Reader 可以浏览和检索预印本论文、支持离线保存,还对数学公式排版做了专门优化。Feeds 能够自动探测网站的订阅源,并提取文章正文呈现。Daily Brief 则会在你使用其他应用时,于后台自动汇总当日新闻,生成一份带编号的简报。

另外有一组应用走的是纯硬件交互路线。Morse 利用前光灯逐字母闪烁来传递消息,同时在屏幕上同步显示当前正在发送的字符;Magnet 用来定位隐藏在边框内部的霍尔传感器,并实时反馈其状态变化。Terminal 则提供了设备端原生 shell 环境,配备触摸键盘,输入即时响应。

技术选型方面有几个亮点值得关注。每个应用都作为独立的非特权进程运行,网络、存储、音频、前光灯等设备能力均需按应用逐项声明并经过校验,而非直接赋予 root 权限。UI 层采用了一套声明式墨水屏专用工具包,对全屏刷新和局部刷新做了专门规划——这正是影响墨水屏应用体验好坏的关键所在,Tic-tac-toe 示例就是通过单个格子的局部刷新来展示这一机制的。构建产物为静态链接的 ARMv7 二进制文件,设备端无需任何包管理器;应用和目录的安装过程采用事务化设计,出现异常时可自动回退。
入门的门槛其实不算太高。安装好 Rust 工具链、添加 ARM target,将电量充足的 Clara BW 通过 USB 连接上电脑,然后执行:
git clone https://github.com/BandarLabs/Cobalt.gitcd Cobaltrustup target add armv7-unknown-linux-musleabihfcargo run -p kobo-cli -- setup设备重启后,从 Kobo 菜单中启动 Cobalt 即可使用。即便手头没有实体设备也能体验——仓库内提供了浏览器和运行时两套模拟器,执行 cargo run -p kobo-cli -- run --sim --app sudoku 即可在电脑上运行应用,开发过程中无需反复插拔设备。
想要提交一款应用,只需遵循标准的 PR 流程:把代码置于 apps/
当然也有一些需要提醒的不足之处:目前兼容的设备仅此一款,除 Clara BW 外的机型均不建议贸然尝试;平台版本尚处于 0.2.x 阶段,若要从 0.1.x 升级,必须手动执行一次平台更新方可获取商店功能;该项目的许可证为 AGPL v3。此外,它与 Rakuten Kobo 之间也不存在任何关联。不过,若你恰好拥有一台 Clara BW,并且好奇“这块墨水屏还能实现哪些功能”,那么这大概是目前能找到的最完善的解决方案了。
项目链接:https://github.com/BandarLabs/Cobalt
Credit: https://mp.weixin.qq.com/s/BNdWuAyTtC5w77a_v3BI8g Contact for copyright infringement: 13951431913#139.com or comment on the right.
E-ink devices have long faced a dilemma: despite offering excellent hardware quality—1072×1448 resolution screens, Wi-Fi connectivity, and weeks of battery life—they are restricted to reading vendor-supplied books. While the Kobo platform has supported jailbreaking and plugins for years, these remain in the realm of "tinkering." The Cobalt project elevates this to a true platform level by providing a complete application ecosystem for Kobo, including a launcher, app store, Rust SDK, runtime permission isolation, and even a Clara BW simulator.
The README clearly states the project’s purpose: “Apps and an SDK for Kobo e-readers.” After a single USB-based initial installation, all app installations, updates, and removals are handled via Wi-Fi. Crucially, app iteration is decoupled from platform upgrades—new apps can be added to the store without reinstalling or updating the Cobalt base. This separation marks the key difference between a "tinkering project" and a "real platform."
The bottom of the launcher retains a "Kobo reader" button, showing restraint: Cobalt does not hijack the device’s boot process. Users can always return to the original e-reader interface, and the device reverts to factory state upon reboot. On security, Cobalt strictly controls access via hardware and firmware identifiers—currently verified only on the Kobo Clara BW N365 (device code 391). Non-matching models require explicit profiling before installation. The first deployment modifies the user storage partition, which the author acknowledges without warranty.
The app store is surprisingly mature, using a signed distribution mechanism where each app has a unique version number and supports full local operations (install, upgrade, uninstall, reinstall). The demo video in the repo walks through this with Sudoku, an intentionally non-bundled app, proving the delivery pipeline works as intended.
The platform includes over ten apps, both built-in and downloadable. Gutenberg allows connecting to any OPDS-compatible library (e.g., Project Gutenberg, Standard Ebooks), while arXiv Reader supports browsing, searching, and offline saving of preprints with optimized formula rendering. Feeds detects website RSS/Atom feeds and extracts article text for reading, and Daily Brief compiles a numbered news digest in the background.
Hardware-oriented apps include Morse, which uses the front light to flash messages in Morse code while displaying the characters on screen; Magnet, which detects the internal Hall sensor and its state; and Terminal, offering a native shell with a touch keyboard.
Technically, each app runs as a separate unprivileged process. Permissions for networking, storage, audio, and lighting must be declared and verified per app—no root privileges are granted. The UI uses a declarative framework optimized for e-ink, distinguishing between full and partial refreshes (demonstrated by Tic-tac-toe). Build artifacts are static ARMv7 binaries requiring no package manager, and an atomic installation procedure ensures rollback on failure.
Getting started is straightforward: install Rust, add ARM target, connect a charged Clara BW to your PC, then run the command provided in step 0. Post-reboot, launch Cobalt from the Kobo menu to access the ecosystem. For developers, two simulators (browser-based and runtime) allow testing without hardware—e.g., running `cargo run -p kobo-cli -- run --sim --app sudoku`.
Contributing follows a standard PR process: place code under `apps/
Caveats include limited device compatibility (only Clara BW currently), a required manual update from v0.1 to v0.2 to access the store, and an AGPL v3 license. There is no affiliation with Rakuten Kobo. However, for Clara BW owners seeking to expand their device’s capabilities beyond reading, Cobalt is the most comprehensive solution available.
Project link: https://github.com/BandarLabs/Cobalt
项目链接:https://github.com/BandarLabs/Cobalt