Motif - SSH & Codex
Remote dev sessions
Free · Designed for iPad. Not verified for macOS.
Motif is an SSH terminal, Codex client, and remote dev-session app for your own machines. Run the open-source motifd daemon on your Mac, Linux box, or any host, then connect from your iPhone or iPad to access terminal sessions, files, Git diffs, and Codex coding tasks wherever you are.
Like “tmux attach” for your whole dev environment:
• Codex workspace — open, resume, and manage coding tasks; follow plans and tool activity; handle approvals and questions; review edited files
• Live PTY terminals — run multiple sessions, synced across attached clients
• Browse the project file tree and open files
• Review changes with a built-in Git diff
• Connect directly, over Tailscale, or through an SSH tunnel
• Secured with TLS and a single-user bearer token
Codex runs on your own machine through your existing Codex setup. Motif does not host your code or terminal sessions.
motifd is required and runs on your own machine. See the project page for setup instructions:
https://tech.xiachufang.xyz/motif/
more Added the app’s China mainland ICP filing information to Settings > About, with a link to the MIIT filing lookup.
1.0.94 12 Nov
Subagent messages now appear in order in Codex conversations. Tap an agent name to open its thread in Side Chat, then return to the same place in the main conversation. Subagent history loads on demand, with support for opening nested agent threads.
Improved loading and search for Codex conversations. Projects and conversation lists now load in pages, search results include matching snippets, and archived conversations load on demand. Fixed conversation list updates after restoring archived conversations.
1.0.93 2 Nov
Fixed activity updates for Codex threads running in another client. Commands, tool activity, and progress messages now refresh automatically, including the final activities when the task finishes.
1.0.90 28 Oct
Fixed activity updates for running Codex threads. Tool calls and progress now refresh while a task runs, and the final activities remain available when it completes. Improved activity history pagination and ordering.
1.0.89 27 Oct
Open web links from terminal output and Codex conversations in the in-app browser. Preview services on IP addresses and localhost through your connected server. Improved Codex activity loading controls.
1.0.88 22 Oct
Improved Codex conversation history loading with faster pagination, smoother scrolling, and more stable activity rendering. Refined history labels and image presentation.
1.0.87 20 Oct
Fixed duplicate text in voice transcription. Improved relay connection diagnostics to help troubleshoot connection issues. Updated networking components.
1.0.86 16 Oct
Improved Codex project organization, including a fix for conversations missing from projects. Added persistent message queues with editing and reordering. Improved forked conversation history and connection reliability, simplified voice recording controls, and fixed missing or repeated dictation text.
1.0.81 20 Sept
This update improves notifications and connection reliability.
• Open the correct Codex task from in-app and system notifications, including when launching the app.
• Return to an already open Codex task without opening a duplicate page.
• Improve connection timeouts and recovery when the network is unavailable.
1.0.77 8 Sept
What’s New in Motif 1.0.71
• Codex tasks now stay in sync when activity continues on another device.
• Added live Working/Stopped timing and more accurate final-answer activity folding.
• Added Chinese voice input for the Codex composer.
• Improved desktop shutdown behavior and Codex interface styling.
• General stability and performance improvements.
1.0.74 31 Aug
What’s New in Motif 1.0.71
• Codex tasks now stay in sync when activity continues on another device.
• Added live Working/Stopped timing and more accurate final-answer activity folding.
• Added Chinese voice input for the Codex composer.
• Improved desktop shutdown behavior and Codex interface styling.
• General stability and performance improvements.
1.0.71 20 Aug
What’s New in Motif 1.0.70
• Improved connection reliability and automatic recovery from interrupted sessions.
• Improved Codex activity display and incremental streaming Markdown rendering.
• Codex threads are now sorted by recent activity, with reasoning preferences restored correctly.
• Simplified relay setup with managed connectivity.
• General stability and performance improvements.
1.0.70 19 Aug
What’s New in Motif 1.0.65
• Tap terminal and Codex notifications to jump directly to the related session or coding task.
• Refined server setup and connection flows across iPhone and iPad.
• Improved Codex approval actions and session restoration.
• Improved navigation, background connection handling, and overall reliability.
1.0.65 19 Aug
What’s New in Motif 1.0.57
• Upgraded the terminal engine for improved compatibility and stability.
• Improved terminal scrollback behavior.
• Fixed stale text selections when switching tabs.
1.0.57 10 Aug
What’s New in Motif 1.0.56
• Check the installed motifd version for SSH-connected servers from Terminal Settings.
• Update remote motifd directly over SSH when a newer compatible release is available.
• Added safer download verification and local fallback uploads for remote updates.
• Improved version compatibility feedback.
1.0.56 5 Aug
What’s New in Motif 1.0.55
• Added guided setup for Claude Code and Codex notification hooks on first use.
• Hook installation is now managed per remote server from Terminal Settings.
• Existing hook configurations are detected automatically, so setup prompts won’t repeat.
• Improved reliability of remote coding-agent integrations.
1.0.55 3 Aug
What’s New in Motif 1.0.49
• Fixed terminal path link handling, including paths with escaped spaces.
• Improved IME input reliability and preserved scrollback position while terminal output grows.
• Added reveal and copy actions for the Relay owner token.
1.0.50 29 Jul
What’s New in Motif 1.0.47
• Improved terminal link detection and navigation, including opening directory links in Files.
• Active session tabs now stay centered, with smoother mobile workspace navigation and scrollback controls.
• Fixed command input in terminal TUIs and improved session reconnection reliability after resuming the app.
1.0.47 22 Jul
What’s New in Motif 1.0.45
• Added support for connecting to native Windows motifd servers and WSL environments.
• Terminal history now stays in place when the keyboard gains focus. Use the new jump-to-cursor button to return to the latest output.
• Improved relay pairing validation, embedded server setup, and connection reliability.
1.0.45 19 Jul
What’s New in Motif 1.0.43
• Added secure relay pairing over WebSocket for more reliable connections behind NAT.
• Improved terminal responsiveness, reconnection, and long-running session synchronization.
• Improved connection security and credential handling.
1.0.43 15 Jul
What’s New in Motif 1.0.40
• Improved terminal output synchronization for long-running sessions.
• Added more reliable recovery when returning to sessions with large output backlogs.
• Improved terminal reconnection and overall session stability.
1.0.40 14 Jul
What’s New in Motif 1.0.38
• Improved terminal reconnection by waiting for session reattachment before sending terminal actions.
• Stabilized session cleanup and terminal output.
• Improved compatibility with existing embedded-server settings.
• Updated dependencies and improved overall reliability.
1.0.38 13 Jul
What’s New in Motif 1.0.32\n\n• Faster terminal restoration and smoother desktop session switching.\n• Added a terminal scrollbar and improved text selection, cursor rendering, wide-character display, and IME input.\n• Notification taps now open the matching session more reliably.\n• Added the /resume quick command.\n• Credentials are now protected with secure storage.\n• Improved connection recovery and overall stability.
1.0.32 11 Jul
fix some bugs
1.0.29 7 Jul
• New command presets for Claude and Codex: tap to run common slash commands like /clear, /resume and /compact, plus the keys these agents need (Shift+Tab, Esc, arrows, Enter, Ctrl+C, paste).
• Terminals now open automatically when you attach to a session.
• Refreshed design and smoother controls.
• Configurable push relay with a built-in health check.
• Bug fixes and stability improvements.
1.0.27 27 Jun
Added the app’s China mainland ICP filing information to Settings > About, with a link to the MIIT filing lookup.
more Version 1.0.94 12 Nov
Data Not Collected The developer does not collect any data from this app.