Motty
Development

Architecture

What Motty owns, what Viva owns, and where the code lives.

Motty owns SSH, authentication, SFTP, terminal emulation, forwarding, remote-desktop protocols, persistence and product workflows.

Viva owns windowing, input, text and IME, focus, layout, components and rendering. Reusable desktop capabilities go into Viva rather than being duplicated in Motty.

PathContents
cmd/mottyapplication entry point, headless mode and MCP bridge
internal/sshconnSSH dialling, host keys, authentication, proxies and jump routes
internal/termterminal emulator and parser
internal/rfb, internal/desktop/vncVNC protocol and desktop backend
internal/rdpcore, internal/desktop/rdpRDP protocol (MIT-licensed fork) and backend
internal/sftpclient, internal/scpclientSFTP and SCP clients
internal/portforwardlocal, remote, SOCKS5 and HTTP CONNECT forwarding
internal/workbenchapplication state, screens, painting and input
internal/aiassistant, tools, risk gate and MCP server
assets, docs, toolsbranding, technical notes and development tooling

Contributing

Issues and pull requests are welcome. Start with an issue for a large change. Keep SSH, protocol and product logic in this repository; propose desktop-framework capabilities in Viva instead.

Licence

Apache License 2.0. The Motty name and logo are not licensed under it.

On this page