• Stars
    star
    384
  • Rank 111,726 (Top 3 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 2 years ago
  • Updated 7 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

The world's easiest, smallest and powerful visitor identifier for browsers.

Broprint.js

The world's easiest, smallest and powerful visitor identifier for browsers.

Current NPM version Tweet



This package generates a unique ID/String for different browsers. Like chrome, Firefox or any other browsers which support `canvas` and `audio` fingerprinting. You can easily do the browser fingerprinting with this library. Its small and minimal.


CodeSandbox, Live Demo

The code is completely open source and not relating to anyone, created in my spare time. [only for educational purpose]

The algorithms used to encrypt/decrypt data - murmurhash3_32_gc, cyrb53 and javaHashCode. Code is inside .src/code/EncryptDecrypt.js.

🙉 What's all the hullabaloo?

Broprint.js helps JavaScript developers code visitors identifier more simply, readably, and securely. Whether you need to find a unique visitor, do analytics, browser fingerprinting, or do anything of the like while even preventing frauds, we've got you covered at a cryptographically strong level. The best part? Our library is extremely lightweight and developer friendly- which means it won't take a toll on your project, and it's uber-simple to implement. This library works on the concept of canvas fingerprint and audio fingerprint, the final result which a user get is the combination of audio and canvas fingerprint. We are using cryptojs under the hood for encryptions but you can easily tweek the library to remove the dependency.



Fast implementation

Step 1: Install using npm or yarn:

Using npm:

//Install:
npm i npm i @rajesh896/broprint.js

Using Yarn:

//Install:
yarn add npm i @rajesh896/broprint.js



🎉 Examples

In Reactjs

import { getCurrentBrowserFingerPrint } from "npm i @rajesh896/broprint.js";

getCurrentBrowserFingerPrint().then((fingerprint) => {
    // fingerprint is your unique browser id.
    // This is well tested

    // the result you receive here is the combination of Canvas fingerprint and audio fingerprint.
})

Using this script in the html files

  1. Execute npm i npm i @rajesh896/broprint.js
  2. Then -
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>FingerPrint</title>
</head>

<body>
    <script type="module">
        import("./node_modules/npm i @rajesh896/broprint.js/index.js").then((module) => {
            module.getCurrentBrowserFingerPrint().then((fingerprint) => {
                console.log(fingerprint);
            })
        })
    </script>
</body>

</html>
  • From version 1.1.0 onwards we have a dependency crypto-js. If you do not want to have this dependency then use the earlier versions of this library.

If you want to use it in simple .html file, please read the index.html file in the root directory.

This repository is for educational and demonstration purposes only!

👏 Supporters

Stargazers repo roster for @Rajesh-Royal/Broprint.js Forkers repo roster for @nRajesh-Royal/Broprint.js

Animated footer bars


Back to top

More Repositories

1

React-Js-Todo-App-with-firebase-auth

TodoApp using ReactJS and Firebase | ReactJS, Material UI, Firebase, ExpressJS
JavaScript
98
star
2

vThumb.js

This package will generate n numbers of thumbnails at different positions in a given video file.
TypeScript
65
star
3

netflix-frontend-clone

Video streaming website Netflix Frontend clone, Built with Pure CSS3 using Flexbox, JS dependencies: OwlCarousel and JQuery
JavaScript
61
star
4

developer-portfolio-blog-ecommerce

Kick-off Developer portfolio, blog, eCommerce store built with Gatsby along with @material-ui, Strapi/wordpress, react-helmet. Hosted on Netlify
JavaScript
16
star
5

ChatAppSocketIO

A simple Real Time chat App using socket.io and node js, express. It's only having group chat functionality so anyone with the link will join same channel. It also support Image previews.
HTML
9
star
6

video-chat-one-to-one-node-js

Simple one to one video chat app using socket.io, peer js, node js, webRTC. Visit the below link you will get a unique URL, share this URL with the person you want to have a video call and ask him/her to join.
JavaScript
8
star
7

WYNK-Music-App-Clone

Frontend Clone of WYNK music streaming APP using ReactJS.
TypeScript
5
star
8

Codeigniter-bootstrap-dashboard

PHP
5
star
9

liquid-button

A repository which helps you in creating react-liquid-button
JavaScript
4
star
10

fees-management-system

Student fees management system VB .NET
4
star
11

rajesh-royal.github.io

Portfolio created with React JS
HTML
4
star
12

gatsby-developer-portfolio

A simple portfolio with blog, built using gatsby. Hosted on netlify.
JavaScript
4
star
13

Employee-Management-Dashboard

An employee dashboard built with ReactJS, nestJS, MongoDB.
TypeScript
3
star
14

php-rest-api-with-jwt-authentication

Rest API in Object oriented PHP with jason web tocken authentication | CRUD ready
PHP
3
star
15

Rajesh-Royal

awesome github readme.md profile
2
star
16

extended-html5-boilerplate-vscode

This is a Visual Studio Code snippet extension for generating extended HTML 5 boilerplate code | most used meta tags, seo boilerplate, bootstrap blocks snippet
2
star
17

ngserver

JavaScript
1
star
18

hackina

Hackina A game of code | College Tech festival Hacking/Treasure Hunt in computer code Competition
VBA
1
star
19

car-bidding-system-react

Car bidding system ReactJS. TravClan
JavaScript
1
star
20

ML-model-article-share-prediction

CSS
1
star
21

Calculator-webApp

Calculator-webApp is an simple Calculator for websites to calculate math with unlimited value but not too much :).
HTML
1
star
22

portfolio

personal portfolio site
TypeScript
1
star
23

catepedia

Catepedia | The Ultimate Guide to Cat Breeds. A cat breed search Nuxt app.
Vue
1
star
24

Dapp-Hello-World-Ethereum

Dapp - Hello World Ethereum. A test application to interact with smart contract deployed on Ropesten test net.
JavaScript
1
star
25

whatsapp-analyzer

Analyze the whatsapp exported chat
TypeScript
1
star