惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
小众软件
小众软件
MongoDB | Blog
MongoDB | Blog
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Stack Overflow Blog
Stack Overflow Blog
L
LangChain Blog
大猫的无限游戏
大猫的无限游戏
量子位
A
About on SuperTechFans
G
Google Developers Blog
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
IT之家
IT之家
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Vercel News
Vercel News
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - rcarmo/ios-terax-ai: Personal fork of Terax for ...
rcarmo · 2026-05-18 · via Hacker News - Newest: "AI"

Terax iOS LinuxKit Experimental Fork

This repository is an experimental fork of crynta/terax-ai. It is not the upstream Terax desktop application and should not be treated as a stable release branch.

The purpose of this fork is to make Terax run on iPadOS by replacing the desktop host shell/filesystem assumptions with an embedded ios-linuxkit ARM64 Linux runtime. The original upstream README is preserved verbatim in ORIGINAL_README.

Terax running ios-linuxkit on iPadOS

Current Goal

Terax started as a Tauri desktop terminal and AI workspace. Desktop builds run commands through host PTYs, host shells, and the host filesystem. iOS cannot provide that model directly, so this fork treats an embedded LinuxKit guest as the execution environment:

  • terminal sessions run inside the LinuxKit root filesystem
  • shell tools and long-running commands are routed into the guest
  • file explorer/editor operations are scoped to the guest filesystem
  • iOS remains the app container, UI, keychain, and packaging host

This is a porting experiment, not an App Store-ready product.

Broad Changes From Upstream

The fork keeps the Terax React/Tauri UI structure, but changes the mobile backend and terminal plumbing:

  • Added reproducible iOS helper scripts around Tauri, Xcode, and ../ios-linuxkit in scripts/ios-linuxkit.mjs.
  • Added project patching for the generated Tauri iOS Xcode project, including LinuxKit link flags and signing/build settings needed for io.carmo.terax.
  • Embedded the ios-linuxkit root archive under src-tauri/resources/ios-linuxkit/.
  • Added a native C bridge that boots the LinuxKit fakefs root, creates device nodes, mounts proc/devpts, configures DNS through Darwin libresolv, starts login shells, and connects LinuxKit TTYs to Tauri PTY channels.
  • Added iOS-specific Rust command routing so existing Terax commands such as pty_*, shell_*, and fs_* can target LinuxKit on mobile while desktop builds keep their normal backends.
  • Swapped the iOS terminal input model to match the reference ios-linuxkit terminal: Ghostty-Web renders the terminal, but native iOS text entry owns software and hardware keyboard input.
  • Disabled Ghostty's Web text input surface on iOS and bridged native keyboard input back to the normal pty_write path.
  • Added handling for terminal control/meta keys and special keys, including Escape, Tab, arrows, Home/End, Page Up/Down, Delete, F1-F12, application cursor mode, and Ctrl-C.
  • Adjusted the iPad UI integration where needed for settings, status/header layout, and the left-side traffic-light spacing expected by the desktop UI.

Repository Layout Assumption

Most iOS workflows assume the Terax fork and ios-linuxkit checkout are siblings:

../ios-linuxkit
./terax

Override the LinuxKit checkout with IOS_LINUXKIT_DIR if needed.

iOS Build Commands

The iOS helper script prepends TERAX_HOMEBREW_BIN or .tmp-homebrew/bin to PATH, so the build can use a temporary Homebrew toolchain path instead of relying on the system prefix.

bun run ios:linuxkit:build # build ios-linuxkit static libraries
bun run ios:rootfs:sync    # copy ios-linuxkit root.tar.gz into Terax
bun run ios:prepare        # build linuxkit and sync the rootfs
bun run ios:build:device   # build a signed iOS device IPA
bun run ios:deploy         # install the IPA on IOS_DEVICE_ID
bun run ios:launch         # launch io.carmo.terax on IOS_DEVICE_ID
bun run ios:test-build     # prepare, build, and deploy

The default device ID is currently set in scripts/ios-linuxkit.mjs; override it with IOS_DEVICE_ID.

Status

The fork has a working iOS build/deploy path and a LinuxKit-backed terminal bridge, but it is still under active debugging. The highest-risk areas remain terminal fidelity, process lifecycle edge cases, LinuxKit filesystem mapping, network behavior, and parity with the desktop UI.

Use the upstream project for normal Terax usage. Use this fork only when working on the iOS/LinuxKit integration.