Giter Club home page Giter Club logo

Comments (5)

kern avatar kern commented on May 16, 2024

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. :)

from filepizza.

ronilaukkarinen avatar ronilaukkarinen commented on May 16, 2024

Some sort of CLI client would be awesome. 👍

from filepizza.

bzz avatar bzz commented on May 16, 2024

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..

from filepizza.

kern avatar kern commented on May 16, 2024

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

from filepizza.

willstott101 avatar willstott101 commented on May 16, 2024

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.

from filepizza.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.