[client side gp CLI] Message bus for port forwarding, local browser handling and clipboard sharing for SSH workflow
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Is your feature request related to a problem? Please describe
The current SSH support is great, just needs a bit more integration.
Describe the behaviour you'd like
The following should work out-of-the-box:
- Auto port-forwarding (as in VSCode or Jetbrains)
- Cliboard sharing CLI between workspace<>local-machine. (e.g.
gp clip, could be similar topbcopy)
For example, to copy the contents of workspace a file into the clipboard register, I'd like to do
cat <file> | gp clipand expect it to be copied in my local operating-system clipboard.
gp preview <url> --external, it should communicate with the localgpCLI to spawn the default browser on user machine.
Describe alternatives you've considered
A SSH powered tiny implementation for auto port forwarding with tmux notifications (POC)
Additional context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the gp CLI's existing SSH workflow and review the linked gssh proof of concept for port-forwarding behavior. Define acceptance for automatic port forwarding, workspace-to-local clipboard streaming, and gp preview <url> --external opening the local browser, then verify each workflow end to end.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, desktop, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100