Giter Site home page Giter Site logo

seedshot's Introduction

Peer to peer screenshot sharing from your browser.

Idea

The cool thing with Dropbox is that once a screenshot is taken, it's immediately available in my Dropbox folder and the link is ready for sharing. Ideally, this should all happen on my own machine and things could be shared with Bittorrent. The problem is privacy. There is no privacy if there is Bittorrent, since data is shared all over the network.

Solution? Server is just a mediator between peers that are sharing files. The request comes, the server gives back the URL for sharing and then you can use that URL for sharing files. You can observe the progress of downloads for that file among peers and remove it at any time. Server is not involved in the download/upload traffic of that file, it goes directly from seeder to leecher.

Features

Server

  1. Give the file directly to a server, the browser opens the site where a file is living
  2. You are the first viewer or the admin of the file, so you're the only user downloading the file from the server
  3. Once you download the file, it's removed from the server and only continues to live in your current browser session
  4. The seeding process begins, anyone who gets to the URL you're viewing will receive the file from you (with webtorrent)
  5. You get the info about how much peers is viewing the file and when they stop viewing it
  6. Once you close the browser, the file is completely gone

We basically need to build something similar to instant.io. The problem with instant.io is that you have to manually click and select the file you want to host. Since we're trying to do it directly from your machine, with the help of that command line tool, we can't use that. We also don't have access to that button from inside a terminal. Notice that with instant.io, there is no post request that uploads the file anywhere, there's only the file input.

Client

  1. Take the screenshot
  2. Image is sent to the server
  3. URL opens in your browser with the image you start seeding from your browser

Check imgur-screenshot, which does almost the same thing we need, just uploads the file to imgur. Also, there exists an even simpler tool for that, but I think it's more for Linux folks - check this article to find out more.

License

MIT

Sponsors

Two Bucks Ltd © 2016

![https://twobucks.co](https://twobucks.co/assets/images/logo-small.png)

seedshot's People

Contributors

shime avatar paulirish avatar dinodsaurus avatar

Stargazers

iamlos avatar Diego avatar Mayur Bhangale avatar Malte Heyenga avatar Harry Harrison avatar

Watchers

 avatar James Cloos avatar  avatar

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.