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

Bug: EOF error on windows #17

Closed
Geczy opened this issue Apr 7, 2023 · 9 comments
Closed

Bug: EOF error on windows #17

Geczy opened this issue Apr 7, 2023 · 9 comments

Comments

@Geczy
Copy link

Geczy commented Apr 7, 2023

on my windows:

~/desktop
$ ./uniclip.exe
Starting a new clipboard
Run `uniclip 192.168.0.178:53533` to join this clipboard

Connected to device at 192.168.0.229:62305
error: [gob: duplicate type received]
error: [gob: duplicate type received]
error: [gob: decoding into local type *[]uint8, received remote type unknown type]
error: [gob: duplicate type received]
error: [gob: duplicate type received]
error: [unexpected EOF]

in safari on my iphone: "cancelled load from .... beacuse it is using http/0.9"

@Geczy Geczy added the bug Something isn't working label Apr 7, 2023
@quackduck
Copy link
Owner

Did you try to visit 192.168.0.178:53533 in a web browser on your iPhone?

@quackduck quackduck removed the bug Something isn't working label Apr 7, 2023
@Geczy
Copy link
Author

Geczy commented Apr 7, 2023

yes how do i use this on my iphone ?

@quackduck
Copy link
Owner

Unfortunately uniclip does not work on iPhones because Apple does not allow running executables directly

@quackduck
Copy link
Owner

quackduck commented Apr 7, 2023

If you have a Mac tho you can use Apple's own clipboard syncing and uniclip to link your windows computer, Mac and iPhone all at once

@Geczy
Copy link
Author

Geczy commented Apr 7, 2023

i know, but i need clipboard syncing on windows lol

@quackduck
Copy link
Owner

yeahhhh... unfortunately apple makes running stuff on iphone pretty annoying

@Geczy Geczy closed this as not planned Won't fix, can't repro, duplicate, stale Apr 7, 2023
@alx-xlx
Copy link

alx-xlx commented Jul 5, 2023

Why not create a webserver or websocket of some sort and then make it accessible using URL. If someone doesn't have a macOS they can use siri to run the shortcut that will have automation to grab (GET) the copied texts from the local webserver or websocket.

And vice versa. Where the iOS device will POST the clipboard to the local server and so on.

@quackduck
Copy link
Owner

uniclip works fine on macOS.

about iOS, I'm not sure whether sites on iOS can fetch clipboard data in the background. Do you know?

@alx-xlx
Copy link

alx-xlx commented Jul 6, 2023

With Apple Shortcuts clipboard can be set and read from web requests. But triggerring them will have to be manual. However, with the help of siri you can execute the shortcut using voice command when ever something is copied.

https://github.com/changkun/midgard/blob/main/docs/usage.md
This is the tool that does the similar thing

Yes, uniclip works perfectly fine with macOS + iOS, using Handoff feature enabled. However if someone don't have a macOS or if the device if turned oFF then it would be an issue for them to use this tool

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

No branches or pull requests

3 participants