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

Headless? Perhaps via PhantomJS? #15

Closed
nogweii opened this issue Jul 13, 2015 · 5 comments
Closed

Headless? Perhaps via PhantomJS? #15

nogweii opened this issue Jul 13, 2015 · 5 comments
Labels
filepizza-v1-legacy Legacy tickets related to FilePizza v1. Can be reopened if still applicable.

Comments

@nogweii
Copy link

nogweii commented Jul 13, 2015

Is it possible to launch a headless browser to mange the upload half of sharing a file? My idea is a command-line fire & forget, since I tend to close my browser often.

@kern
Copy link
Owner

kern commented Jul 15, 2015

This is a great idea. I don't believe PhantomJS currently supports WebRTC, though. Since the app is isomorphic, we should be able to spin up a connection without running a browser instance.

PeerJS doesn't have good support for isomorphic apps, so I'm considering migrating to the recently released Socket P2P or WebTorrent to support stuff like this. I'll dive into this when I find some time. :)

@ronilaukkarinen
Copy link

Some sort of CLI client would be awesome. 👍

@bzz
Copy link

bzz commented Feb 26, 2016

How about SlimerJS? Or actually it does not really need to be headless - just CLI would do as well, as having a browser process already running is quite common for a desktop environment.

Or using Electron it should be possible to build 40+mb standalone app..

@kern
Copy link
Owner

kern commented Sep 4, 2016

Don't have time to dedicate to this but happy to merge a PR on this.

@willstott101
Copy link

There's a great WebRTC library in Go by Pion: https://github.com/pion/webrtc
A trivial upload client could be written with that.
Go being compiled and easy to cross-compile feels like a better idea than JS for a CLI.
Perhaps pending #102 ... IDK how WebTorrent works but it'd probably be simpler once that's gone.

@kern kern closed this as completed Dec 29, 2024
@kern kern added the filepizza-v1-legacy Legacy tickets related to FilePizza v1. Can be reopened if still applicable. label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filepizza-v1-legacy Legacy tickets related to FilePizza v1. Can be reopened if still applicable.
Projects
None yet
Development

No branches or pull requests

5 participants