chr15m / bugout

Back end web app services over WebRTC.
https://chr15m.github.io/bugout
MIT License
603 stars 59 forks source link

Remote access via bugout #56

Closed hello-smile6 closed 2 years ago

hello-smile6 commented 2 years ago

I often want to use v86 on low-end devices (such as phones with only 512 MB (or less) of RAM. I just realized that I could remotely access a VM on a better device via bugout! Thanks for making bugout, it's amazing.

draeder commented 2 years ago

v86 is pretty cool man! Thanks for sharing it. Do you have any more info on how you're using Bugout to access?

hello-smile6 commented 2 years ago

v86 is pretty cool man! Thanks for sharing it. Do you have any more info on how you're using Bugout to access?

Actually, I was hoping you could create a relay script that allows at least serial access remotely, if not full CLI access.

draeder commented 2 years ago

That is probably a question for v86. As I was looking at it and its issues, I saw others have asked about networking and peer-to-peer networking access. It isn't exactly trivial to accomplish.

What are you trying to do? How would Bugout help?

hello-smile6 commented 2 years ago

That is probably a question for v86. As I was looking at it and its issues, I saw others have asked about networking and peer-to-peer networking access. It isn't exactly trivial to accomplish.

What are you trying to do? How would Bugout help?

I'm trying to create a configuration which would allow me to remotely use a v86 VM running on a web browser.

draeder commented 2 years ago

See: https://github.com/copy/v86/issues/569, and https://github.com/s-macke/jor1k/issues/154. Neither of these are really a Bugout issue... That said, you can access v86 VMs running in a web browser. See these demos. All of them are running in your browser as far as I understand.

This issue should be closed, as it's not really Bugout related.

hello-smile6 commented 2 years ago

See: copy/v86#569, and s-macke/jor1k#154. Neither of these are really a Bugout issue... That said, you can access v86 VMs running in a web browser. See these demos. All of them are running in your browser as far as I understand.

This issue should be closed, as it's not really Bugout related.

I was just hoping you could help me with using Bugout for sending data.

draeder commented 2 years ago

@hello-smile6 What issue are you having with using Bugout for sending data? As long as I have a reliable tracker server, I have no issues.

hello-smile6 commented 2 years ago

@hello-smile6 What issue are you having with using Bugout for sending data? As long as I have a reliable tracker server, I have no issues.

I just haven't figured out how to send the contents of the serial terminal via Bugout yet.

hello-smile6 commented 2 years ago

@hello-smile6 What issue are you having with using Bugout for sending data? As long as I have a reliable tracker server, I have no issues.

Would https://github.com/copy/v86/issues/172#issuecomment-395253645 work?

draeder commented 2 years ago

@hello-smile6 I don't think this is a Bugout issue or question.

hello-smile6 commented 2 years ago

@hello-smile6 I don't think this is a Bugout issue or question.

Okay, I'm just trying to figure it out.

hello-smile6 commented 2 years ago

@draeder I got it to work!

Server

image

Client

image Now, just have to get input working.

hello-smile6 commented 2 years ago

@draeder @copy Got it!

https://user-images.githubusercontent.com/73048226/148630248-42ad3ea7-cb1f-4a6c-833d-541bbdc12025.mp4

hello-smile6/libv86-terminal-forwarding

draeder commented 2 years ago

@hello-smile6 That's great! Interesting project.. I starred it so I can follow updates. Closing this one out.