GithubHelp home page GithubHelp logo

not-nullptr / blue Goto Github PK

View Code? Open in Web Editor NEW
15.0 5.0 2.0 852 KB

A (very poorly) reverse-engineered Twitter backend clone.

TypeScript 84.73% HTML 15.27%
bad-code-oh-no reverse-engineering twitter twitter-api typescript elon-please-dont-sue-me

blue's Introduction

Blue OSS

A (very poorly) reverse-engineered Twitter backend clone.

A FAIR WARNING!

DO NOT use this right now!! A lot of things have yet to be done, there are many stubs and (client-side) errors.

How do I set this up for testing/contribution?

  1. Create your .env, set port to 443 unless you know what you're doing.
  2. Install MongoDB, start on 27017.
  3. npm i
  4. sudo nodemon src/index.ts (there is no production setup as of now because you shouldn't run this in production environments until it is more fleshed out.)
  5. Go to Twitter and logout of your account.
  6. Install the CA in certs, then set your proxy either in-browser or system-wide to 127.0.0.1:8000 (or whatever the proxy is bound to, see console)
  7. Voila!

Tips

If you don't want to run all of your system traffic with a self-signed CA through some rando's GitHub project (which is fair), the following wildcards are all the traffic which the project requires:

  • *twitter.com* (for main API calls, and state injection in the future)
  • *twimg.com* (for profile pictures and banners, although current implementation is yucky)
  • *arkoselabs.com* (for my super-special captcha bypass which utilizes XSS in Arkose's captcha to automatically do it) You can use a browser extension (I personally use FoxyProxy in HTTP proxy mode) for this proxy if you want to use these wildcards.

blue's People

Contributors

not-nullptr avatar

Stargazers

Kiril Misnikov avatar Viktor Varenik avatar Fuki avatar alex avatar Yakisova41 avatar y avatar Erika avatar NOTPIES avatar  avatar  avatar AveryMadness avatar shady avatar  avatar xiggi avatar

Watchers

SodiDav avatar Kostas Georgiou avatar  avatar xiggi avatar Kiril Misnikov 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.