Skip to content

cxa/cxa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

cxa / realazy

中文

I build small, practical software across Apple platforms, Emacs, Web/UI tooling, and F#/OCaml/Reason language and data-processing experiments.

Apps and Desktop Tools

  • yifan - A React Native client for Fanfou/饭否, with a reusable rn-fanfou-client package.
  • XVDL - macOS Safari extension for downloading authorized X/Twitter videos.
  • kitty-imove - Interactive window-moving overlay for kitty terminal, close to kitty's built-in resize mode.
  • dicmd - Command-line interface for macOS Dictionary.app.
  • dicsrv - HTTP service wrapper around macOS Dictionary.app.
  • chatgpt - Lightweight terminal wrapper for ChatGPT. 📦 Archived.

Emacs and Editor Tooling

  • lsp-biome - lsp-mode client for Biome.
  • agent-shell-macext - macOS enhancements for agent-shell, including Finder file yanking, drag and drop, and native notifications.
  • moonbit-mode - Emacs major mode for MoonBit.
  • eglot-lspx - Run multiple LSP servers in Eglot through lspx.
  • eaglet - Small additions around Emacs Eglot workflows.
  • cape-tailwindcss - CAPF completion source for Tailwind CSS class names.
  • microtext-refinement - Emacs text-refinement tool powered by gptel.
  • ob-C-stdin - Adds :stdin support to Org Babel C/C++/D code blocks.
  • ob-js-node-eval - Node-based result evaluation for org-babel-js.
  • ob-js-osascript - Org Babel support for JavaScript-flavored AppleScript (osascript).
  • ob-awk-cmd - Org Babel helper for selecting AWK variants through a :cmd header.

Web and UI Utilities

  • astro-inline-svg - Inline SVGs directly into Astro templates.
  • enough-shadcn-ui-colors - Color schemes for shadcn/ui projects.
  • 11n-shades - Palette generator for interface color systems.
  • uilabs - realazy's UI labs and frontend experiments.
  • twx - Tiny tailwind-merge + clsx helper.
  • live-reload-server - Dependency-free Python static file server with live reload for no-build HTML/CSS/JS projects.

Apple Platform Libraries

  • MenuItemKit - UIMenuItem with image support and closure-based actions. 📦 Archived, but still the most widely used project here.
  • Piz - Minimal Swift unzipper designed to just work.
  • Mvce - Event-driven MVC glue for UIKit/AppKit: simple, lightweight, and unobtrusive. 📦 Archived.
  • AppExtensionCommunicator - Swift framework for communication between an app extension and its containing app.
  • CXAHyperlinkLabel - UILabel replacement with block-based link tap and long-press handling.
  • KissNSUserDefaults - Property-style NSUserDefaults access without subclassing.
  • KissNSUbiquitousKeyValueStore - Property-style wrapper for NSUbiquitousKeyValueStore.
  • CXADirectoryContentsWatcher - Watch a directory when files are added or removed.
  • DOMContentLoadedDelegate - Small helper for accessing UIWebView DOM as early as possible. 📦 Archived.
  • WebViewContentPositioner - Preserve and restore UIWebView scroll position. 📦 Archived.
  • NonConsumableIAPHelper - Lightweight wrapper for non-consumable In-App Purchase. 📦 Archived.
  • XPaver - Make XPath-based XML navigation easier.
  • HaodooPDB - Extract contents from Haodoo PDB ebook files.

F#, OCaml, Reason, and Data Libraries

  • Fpub - F#/.NET Standard library for reading EPUB files.
  • Mu - Elm Architecture-inspired Xamarin pattern experiment, designed to be simple and unobtrusive. 📦 Archived.
  • KeyPathJson - Safe key-path JSON navigator for System.Json.
  • JPath - Key-path navigation for JsonElement.
  • bs-containers-core - OCaml containers core for BuckleScript. 📦 Archived.
  • bs-json-keypather - Key-path JSON navigator for BuckleScript. 📦 Archived.
  • ppx_bsx - OCaml JSX syntax extension for ReasonReact. 📦 Archived.
  • JsonR - BuckleScript JSON helper built around Result. 📦 Archived.

Historical and Deprecated Projects

More code and experiments live in github.com/cxa?tab=repositories.


我主要写一些小而实用的软件:Apple 平台应用与库、Emacs 工具、Web/UI 小工具,以及 F#/OCaml/Reason 方向的语言与数据处理实验。

应用与桌面工具

  • yifan - 一饭,饭否的 React Native 客户端,并内置可复用的 rn-fanfou-client 包。
  • XVDL - macOS Safari 扩展,用于下载有授权的 X/Twitter 视频。
  • kitty-imove - kitty 终端的交互式窗口移动 overlay,体验接近内置 resize mode。
  • dicmd - macOS Dictionary.app 的命令行工具。
  • dicsrv - macOS Dictionary.app 的 HTTP 服务封装。
  • chatgpt - 轻量的终端 ChatGPT 包装脚本。📦 已归档。

Emacs 与编辑器工具

  • lsp-biome - Biome 的 lsp-mode 客户端。
  • agent-shell-macext - agent-shell 的 macOS 增强:Finder 文件粘贴、拖放、原生通知等。
  • moonbit-mode - MoonBit 的 Emacs major mode。
  • eglot-lspx - 通过 lspx 在 Eglot 中运行多个 LSP server。
  • eaglet - 围绕 Emacs Eglot 工作流的小型增强。
  • cape-tailwindcss - Tailwind CSS class name 的 CAPF 补全源。
  • microtext-refinement - 基于 gptel 的 Emacs 文本润色工具。
  • ob-C-stdin - 为 Org Babel 的 C/C++/D 代码块补上 :stdin 支持。
  • ob-js-node-eval - 用 Node 计算 org-babel-js 的代码块结果。
  • ob-js-osascript - 支持 JavaScript 风格 AppleScript (osascript) 的 Org Babel 扩展。
  • ob-awk-cmd - 通过 :cmd header 动态选择 AWK 变体的 Org Babel 扩展。

Web 与 UI 工具

  • astro-inline-svg - 在 Astro 模板中直接内联 SVG。
  • enough-shadcn-ui-colors - 给 shadcn/ui 项目使用的一组配色方案。
  • 11n-shades - 面向界面色彩系统的 palette 生成器。
  • uilabs - realazy 的 UI labs 和前端实验集合。
  • twx - 很小的 tailwind-merge + clsx 辅助函数。
  • live-reload-server - 无外部依赖的 Python 静态文件服务器,适合 no-build HTML/CSS/JS 项目自动刷新。

Apple 平台库

  • MenuItemKit - 支持图片和 closure action 的 UIMenuItem。📦 已归档,但仍是这里使用最广的项目。
  • Piz - 极简 Swift unzipper,目标是直接好用。
  • Mvce - UIKit/AppKit 的事件驱动 MVC 胶水层,尽量保持简单、轻量、不侵入。📦 已归档。
  • AppExtensionCommunicator - app extension 与 containing app 之间通信的 Swift framework。
  • CXAHyperlinkLabel - UILabel 替代组件,支持 block 形式处理链接点击和长按。
  • KissNSUserDefaults - 用 property 风格访问 NSUserDefaults,不需要 subclass。
  • KissNSUbiquitousKeyValueStore - NSUbiquitousKeyValueStore 的 property 风格封装。
  • CXADirectoryContentsWatcher - 监听目录中文件的新增和删除。
  • DOMContentLoadedDelegate - 尽早访问 UIWebView DOM 的小型工具。📦 已归档。
  • WebViewContentPositioner - 保存并恢复 UIWebView 滚动位置。📦 已归档。
  • NonConsumableIAPHelper - 非消耗型 In-App Purchase 的轻量封装。📦 已归档。
  • XPaver - 让基于 XPath 的 XML 导航更顺手。
  • HaodooPDB - 提取好读 PDB 电子书格式内容的工具。

F#、OCaml、Reason 与数据处理库

  • Fpub - 用 F#/.NET Standard 编写的 EPUB 读取库。
  • Mu - 受 Elm Architecture 启发的 Xamarin 模式实验,追求简单且不侵入。📦 已归档。
  • KeyPathJson - System.Json 的安全 key-path JSON navigator。
  • JPath - JsonElement 的 key-path 导航工具。
  • bs-containers-core - 面向 BuckleScript 的 OCaml containers core。📦 已归档。
  • bs-json-keypather - BuckleScript 的 key-path JSON 导航库。📦 已归档。
  • ppx_bsx - ReasonReact 使用的 OCaml JSX 语法扩展。📦 已归档。
  • JsonR - 围绕 Result 设计的 BuckleScript JSON helper。📦 已归档。

历史项目与已弃用项目

更多代码和实验项目见 github.com/cxa?tab=repositories

About

GitHub profile README for cxa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors