Git Product home page Git Product logo

swipestats's Introduction

Swipestats.io

Visualize your dating data

How to use

  1. Get your data from Tinder from this link
  2. Parse the the data.json file in swipestats.io
  3. Upload the anonymized version
  4. View insights and graphs

Privacy

Swipestats generates a unique id for you by hashing your email and account creation date with the SHA256 algorithm. This way the email, or any other personal information, never reaches the server and total privacy is maintained.

export async function createSHA256Hash(str: string) {
  const utf8 = new TextEncoder().encode(str);
  const hashBuffer = await crypto.subtle.digest('SHA-256', utf8);
  const hashArray = Array.from(new Uint8Array(hashBuffer));
  const hashHex = hashArray.map((bytes) => bytes.toString(16).padStart(2, '0')).join('');
  return hashHex;
}

Which is then used to create a profile id. Should you upload your file again in the future your data will simply be overwritten without adding extra data to the corpus.

const profileId = await createSHA256Hash(birthDate + '-' + appProfileCreateDate);

SHA256 Wikipedia

Demo

Insights

swipestats's People

Contributors

kristianeboe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

carlosmendes-7

swipestats's Issues

Analysis of Tinder data not possible

I just get an error, when I upload my data.json: Application error: a client-side exception has occurred (see the browser console for more information).
Maybe Tinder has changed the fields of the exported data.

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.