德克尔
Decker, a platform that builds on the legacy of Hypercard and classic macOS

原始链接: https://beyondloom.com/decker/

Decker 是一款受经典软件 HyperCard 启发而设计的免费开源多媒体平台,旨在创建交互式文档、游戏和演示文稿。它具有怀旧的 1-bit “抖动朋克”(ditherpunk)美学风格,同时结合了深度撤销历史、触控支持和跨平台兼容性等现代实用性改进。 Decker 的核心是 *Lil*,这是一种功能强大且易于使用的脚本语言,融合了指令式和函数式编程风格,能够实现复杂的交互行为。该平台具有高度的可移植性;文档可保存为自执行的 HTML 文件,或是与 Git 等版本控制系统兼容的结构化文本。对于高级用户,其命令行界面和独立的 *Lilt* 解释器支持无界面的文档操作和自动化处理。 Decker 优先考虑用户自主权,完全无需广告、遥测或第三方跟踪。无论你是绘制像素艺术、整理笔记,还是开发交互式媒体,Decker 都为你提供了用于创意表达的灵活模块化工具箱。你可以直接在网页浏览器中运行它,或下载桌面客户端,立即开始创作。

Hacker News 上的一场讨论聚焦了用户对多媒体平台 **Decker** 的反馈。尽管用户对其功能集表示赞赏,但也指出了几个有待改进的地方。 一位用户希望能提供现代化的 UI 主题选项,并指出该平台标志性的复古美学对于习惯了现代界面的人来说,可能会造成认知上的负担。另一位用户则表示调整字体大小存在困难,认为标准的文本字段限制过多。 对此,社区解释称 Decker 使用的是固定大小的位图字体,但可以通过内置的 `fonts.deck` 库和编辑器提供多种尺寸选择。此外,用户也被引导使用了一个支持矢量字体(Hershey fonts)的新库,为那些需要更灵活排版需求的用户提供了解决方案。总的来说,这些反馈既体现了用户对 Decker 独特创意工具的欣赏,也反映了他们对更现代化辅助功能的需求。
相关文章

原文

Decker is a multimedia platform for creating and sharing interactive documents, with sound, images, hypertext, and scripted behavior. You can try it in your web browser right now.

Decker builds on the legacy of HyperCard and the visual aesthetic of classic MacOS. It retains the simplicity and ease of learning that HyperCard provided, while adding many subtle and overt quality-of-life improvements, like deep undo history, support for scroll wheels and touchscreens, more modern keyboard navigation, and bulk editing operations.

Anyone can use Decker to create E-Zines, organize their notes, give presentations, build adventure games, or even just doodle some 1-bit pixel art. The holistic "ditherpunk" aesthetic is cozy, a bit nostalgic, and provides fun and distinctive creative constraints. As a prototyping tool, Decker encourages embracing a sketchy, imperfect approach. Finished decks can be saved as standalone .html documents which self-execute in a web browser and can be shared anywhere you can host or embed a web page. Decker also runs natively on MacOS, Windows, BSD, and Linux.

For more complex projects, Decker features a novel scripting language named Lil which is strongly influenced by both Lua, an imperative language popular for embedding in tools and game engines, and Q, a functional language in the APL family used with time-series databases. Lil is easy to learn and conventional enough not to ruffle any feathers for users with prior programming experience, but also includes pleasant surprises like implicit scalar-vector arithmetic and an integrated SQL-like query language. A few lines of Lil can go a long way.

Decker provides a small collection of built-in interactive widgets for building interfaces, as well as a facility for defining new ones. Custom widgets and their definitions can be copied and pasted using the system clipboard, which also makes it possible to share them anywhere you can share or store text. Every deck is a toolkit of reusable parts that can be harvested and repurposed for another project.

Decker is command-line friendly: when built from source, it comes with Lilt, a standalone Lil interpreter which can (among other things) read, write, manipulate, and even execute Decker documents "headlessly". Lilt has even fewer dependencies than Decker itself, so it can also be compiled as a cross-platform APE executable, ready for writing run-anywhere shell scripts. Would you believe there's a Lil interpreter that runs on POSIX AWK? Decks are stored in a line-oriented text format which interoperates well with existing source control tools like Git and SVN.

Decker includes no advertising, telemetry, gamification, slop-generator integration, or other intrusions on user privacy and autonomy. If you like Decker, please share it with other people who might enjoy it. Build something that makes you happy.

Examples

Libraries

Documentation

Additional Resources

Browsable source code and a bug-tracker are available on GitHub. Decker is free and open-source, under a permissive MIT license.

Periodic binary release downloads for MacOS and Windows are available on Itch.io. The Itch page includes a community forum for discussing Decker and sharing projects made with Decker. We also hold Decker-themed "Game Jams" every July and December; the next upcoming jam will be Decker Fantasy Camp, July 2026.

back
联系我们 contact @ memedata.com