Pair programming is about more than just editing code together. That's why we've added shared terminal sessions to Forgeground.
Shared Terminals
Now you can:
- >Share a Terminal: Give collaborators access to a terminal session
- >Control Permissions: Choose who can type vs. who can only watch
- >Run Commands Together: Perfect for debugging, testing, and deployment
- >Full PTY Support: vim, tmux, and other TUI apps work perfectly
How It Works
Each Forgeground session can have multiple shared terminals. The host's terminal is streamed to all participants with minimal latency. Participants with write access can type commands that execute on the host's session.
Security Considerations
Shared terminals are powerful, so we've built in safety features:
- >Write access is opt-in per participant
- >All commands are logged for audit
- >Sessions are isolated in containers
- >Network access is configurable
Use Cases
- >Pair Debugging: Debug issues together in real-time
- >Teaching: Show students how to use CLI tools
- >Code Reviews: Run tests and explore behavior together
- >Interviews: Watch candidates work in a real environment
Try it out and let us know what you think!