Skip to content

feat: Remote Control Support#294

Open
thebinary wants to merge 10 commits intomaaslalani:mainfrom
thebinary:remote-control
Open

feat: Remote Control Support#294
thebinary wants to merge 10 commits intomaaslalani:mainfrom
thebinary:remote-control

Conversation

@thebinary
Copy link

@thebinary thebinary commented May 15, 2024

Add remote control support along with builtin remote controlling command.

Changes Introduced

  • addition of new package internal/remote
  • add remote coral command to root command
  • addition of environment var parsing at main called SLIDES_REMOTE_SOCKET. Presence of this triggers listening of remote control command at given UNIX socket path. This can then be used by sides remote socket [flags] [command] command to control that slide session.

Use Case

  • Navigating and Controlling Slide sessions using external processes eg: scripts, to use slides along with other workflows as well.
thebinary added 8 commits May 15, 2024 23:25
listens on unix socket to interact with slides using command relay
client (remote controller) to communicate with socket command relay listener
to interact with SocketRemote from command-line
as remote control entry command
triggered when using the command with socket file that does not exist.
@thebinary
Copy link
Author

DEMO

slides-remote

thebinary added 2 commits May 16, 2024 02:52
use `socketPath` instead of `socketFile` where `socketPath` are in forms like: - unix:/tmp/slides.sock - tcp:localhost:8091
@thebinary thebinary changed the title Remote Control Support feat: Remote Control Support Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant