Skip to content
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

Support web UI #7

Open
nakabonne opened this issue Nov 29, 2020 · 6 comments
Open

Support web UI #7

nakabonne opened this issue Nov 29, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@nakabonne
Copy link
Owner

The pbgopy server is just an HTTP server, hence the client does not have to be a pbgopy command.

It would be nice to provide a simple web UI so that data can be shared even in environments where it is tough to install the pbgopy command, such as mobile devices. A page as simple as piping-server is ideal:
image

@nakabonne nakabonne added the enhancement New feature or request label Nov 29, 2020
@faithfulnessalamu
Copy link
Contributor

This interests me. Please correct me if I'm wrong but when you say

a page as simple as piping-server

you are referring to this UI yeah?

@nakabonne
Copy link
Owner Author

Eventually we want to offer something that rich, but we want something as simple as this for the first one.
See more: https://dev.to/nwtgck/data-streaming-with-every-device-over-httphttps-mo4

All we need to do is to send a request to the root path / and fix it to return a static page.

@nakabonne
Copy link
Owner Author

Currently, we use the root path for handling the clipboard, so we first have to change it to /clipboard.

mux.HandleFunc(rootPath, r.handle)

@faithfulnessalamu
Copy link
Contributor

I'll make a PR changing the clipboard endpoint first

@nakabonne
Copy link
Owner Author

Yes, please.

@nakabonne
Copy link
Owner Author

On the second thought, changing the clipboard endpoint is a significant breaking change, so it would be nice to include the change in the patch supporting Web UI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants