Code Monkey home page Code Monkey logo

tipbox's Introduction

Tipbox

Share a unique URL to receive anonymous tips (with end-to-end PGP encryption). Try it at https://tipbox.is

Main features

  • Nothing to install for the tipsters, they just need to open the unique URL generated at the creation of the Tipbox.
  • Support for photo/document upload.
  • Stateless, no logs in production (no information is ever saved).
  • Unique information about the Tipbox is in the hash of the URL so that no one can tell who opened a particular Tipbox by monitoring the network traffic.
  • PGP encryption between the frontend and the backend so that men-in-the-middle can't read the content of the requests sent to the backend.
  • Support for End-To-End encryption with PGP.
  • Automatically fetches the PGP key of the recipient from public key servers at the creation of the tipbox if one exists (you need to manually verify and select it to avoid spoofing).

Disclaimer

This is open source software, use at your own risk.

There is always a tradeoff between ease of use and security (that's why you don't live in a bunker). By not requiring your potential sources to install an app, there is a risk that a hacker could tamper with the files served to them to include a key logger. Depending on your threat model, this may or may not matter. It’s all about finding the appropriate tool for the job. Read more about the security of Tipbox.

How install

Setting up the keys for testing

PASSPHRASE=1234 IDENTITY="<[email protected]>" node ./server/utils/keygen.js
# Will generate private and public keys under the 'keys' directory

Running the server with the keys

PGP_PASSPHRASE=1234 npm start

Locally for development:

After cloning this repo, simply run

npm install --dev
npm run dev

This will serve the static files from frontend/src and watch for any change. When any file in frontend/src/less/ or frontend/src/js/* changes, gulp will run the less and the browserify tasks.

In production mode

npm install;
npm run build;
NODE_ENV=tipbox.is npm start;

This will serve the static files from frontend/dist.

Generating an invitation URL

During the private beta, an invitation code is required to create a tipbox. You can generate one with the following command line:

NODE_ENV=production PGP_PASSPHRASE=1234 HMAC_KEY=[HMAC_KEY of the server] node invite.js [email address]

Frontend tests with Nightwatch

Getting started

Install Selenium

Download the selenium-server-standalone-2.44.0.jar and move it to test/lib/selenium-server-standalone-2.44.0.jar

On MacOSX Yosemite, you might also need to install Java (yes, I know... don't look at me this way...). You can download it from this page.

Install the Chrome Driver

Download the chrome driver from http://chromedriver.storage.googleapis.com/, unzip it and move it to test/lib/chromedriver

Install nightwatch

npm install -g nightwatch

And finally, you can run the tests:

nightwatch --config test/nightwatch.json

Or simply put, npm run test

Who is behind this?

Xavier Damman (@xdamman) and Mark Percival (@mdp)

This is an open source project. Contributions are welcome! https://github.com/xdamman/tipbox.

tipbox's People

Contributors

mdp avatar tgouverneur avatar xdamman avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

bhanditz

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.