Lilush – LuaJIT静态运行时和shell
Lilush – LuaJIT static runtime and shell

原始链接: https://lilush.link/

## Lilush:一个自包含的LuaJIT运行时环境与Shell Lilush是一个非常紧凑(小于3MB)且自给自足的LuaJIT运行时环境,专为Linux环境设计。它是一个单独的二进制文件,没有外部依赖,非常适合Docker容器、busybox替代品以及在x86_64 Linux系统上的部署。 除了LuaJIT解释器之外,Lilush还包含用于网络(TCP/UDP,带有WolfSSL的HTTP(S))、密码学、文件系统访问以及具有UTF-8支持和通过TSS进行样式的终端UI的内置模块。它还具有Markdown处理、Redis支持以及嵌入式WireGuard/ACMEv2客户端等工具。 值得注意的是,Lilush *也* 充当一个功能齐全的shell,具有智能提示符、选项卡补全以及内置实用程序,如`kat`、`ktl`、`netstat`和`dig`。它可以通过插件扩展,并可通过TSS进行自定义,需要一个Kitty兼容的终端模拟器。 Lilush的目标是成为“下一个小东西”——一个强大、可移植且无依赖性的脚本和系统管理工具。

Hacker News 新闻 | 过去 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Lilush – LuaJIT 静态运行时和 shell (lilush.link) 11 分,ksymph 发表于 2 小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

HTTP/1.1 200 content-type: text/html content-length: 3732 connection: keep-alive

Lilush: the next small thing
Lilush: the next small thing

Lilush logo

A static LuaJIT runtime with batteries.

One binary. Under 3MB. No dependencies.

Lilush is a statically compiled LuaJIT interpreter bundled with everything you need to build real software on Linux — networking, crypto, filesystem, terminal UI, and more — without installing a single dependency.

Drop it into a FROM scratch Docker container. Use it as a busybox replacement. Ship it anywhere x86_64 Linux runs.


What's in the box

Networking — TCP/UDP with SSL, a full HTTP(S) client, and an HTTP/1.1 server, all powered by WolfSSL compiled right into the binary.

Cryptography — Modern crypto primitives ready to use.

Filesystem & Processes — File operations, process manipulation, everything you'd expect from a systems scripting tool.

Terminal UI — UTF-8 aware terminal I/O, styling via TSS (Terminal Style Sheets), and a set of widgets for building CLI apps.

And then some — Markdown processing, Redis protocol support, JSON, Base64, embedded WireGuard and ACMEv2 clients; runtime available documentation for core modules.


Lilush Shell

Lilush doubles as a fully-featured Linux shell with a sleek interface out of the box.

Smart prompts — host, user, directory, git branch, Kubernetes context, Python venv — all preconfigured.

Completions & navigation — Tab completions with scrolling, intelligent directory navigation and history search in the spirit of McFly and zoxide.

Built-in toolskat (file viewer + pager), ktl for kubectl, netstat, dig, wgcli, and many more.

Extensible — Add your own plugins. Style everything with TSS.

Lilush Shell uses Kitty's keyboard protocol and requires a compatible terminal emulator (kitty, foot, alacritty, konsole, etc.).


Get started

# Download the latest release
curl -fLO "https://codeberg.org/latimar/lilush/releases/download/latest/lilush"

# Install
chmod +x lilush
install -Dm755 lilush ~/.local/bin/lilush

Release binaries are signed with an SSH key — see the repository for verification instructions and building from source.


Built with lilush

RELIW — An HTTP server & framework.

zxkitty — A ZX80 emulator for the terminal.

联系我们 contact @ memedata.com