Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: Remote Control Support #294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
thebinary wants to merge 10 commits into maaslalani:main
base: main
Choose a base branch
Loading
from thebinary:remote-control

Conversation

Copy link

@thebinary thebinary commented May 15, 2024
edited
Loading

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.

abanoubha reacted with thumbs up emoji
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.
Copy link
Author

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /