Code Monkey home page Code Monkey logo

ipfs-deaddrop's Introduction

IPFS Dead Drop

This is the source code for an IPFS dead drop.

The IPFS dead drop is a variant of the USB dead drop (see https://deaddrops.com/ for more information on USB dead drops).

When you plug a USB memory into the device it will automatically access the memory stick and publish all the files on the web. It does so using the InterPlanetary File System (IPFS). Thanks to IPFS the files are instantly available to the whole world (see http://ipfs.io/ to find out more about IPFS).

When the IPFS dead drop is finished uploading it opens a web page that displays a QR code that contains the IPFS address of your files. Just scan that and share the address with anyone.

Welcome screen Results screen

How to use?

  • Bring a USB memory stick (FAT-formatted) with the file(s) you want to share and smartphone with a QR code scanner app.
  • Plug a USB memory stick into the dead drop host.
  • Wait ca. 5 seconds until the dead drop starts copying your files.
  • Wait until the whole process is complete. The QR code will be shown once it is completed.
  • Scan the QR code with your mobile and share the URL with your friends.
    • The QR code contains the content hash that you need to access your files using IPFS.

Prerequisites

  • You need a Linux-device with udev
  • IPFS should be installed and your local system should be a IPFS node (e.g. you should be able to add files using ipfs add ...).

How to install?

  • Copy the udev-rule-script to /etc/udev/rules.d/mount.rules
  • Reload your udev rules afterwards: udevadm control --reload-rules
  • Copy the dumper script to /usr/local/bin/dumpusb and edit it to configure to your needs.
  • Make sure the a copy of the QR code page is available by pinning it to your local IPFS node. Currently with ipfs pin add QmUzER8RFyFMKfcE5WKcCWdK1pFXJMVKoCzeHEw2XWpibA.

Mirroring

It is easy to set up a mirror of the dead drops using ipfs-ringpin. The IPNS address for c-base's Siri is:

/ipns/QmdCYibjHMinqnh7eWw8WEMsopi5CWz5yD2R86nYegL2Sr/pinlist/deaddrop

ipfs-deaddrop's People

Contributors

bergie avatar uwekamper avatar

Watchers

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