Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
rbeer Merge pull request #24 from nyuszika7h/patch-1
Fix operator precedence issue for headers
Latest commit d340520 Dec 21, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Add: hash to JS bundle name to avoid caching Jul 16, 2018
src
.eslintrc
.gitignore Refactor: getSessionCookies + Jul 1, 2018
LICENSE
README.md Chore: fix README, LICENSE Jul 22, 2018
getSessionCookies.js Add token file Sep 17, 2018
gulpfile.babel.js Change: expose dev server to 0.0.0.0 Aug 1, 2018
package.json Chore: bump version Aug 1, 2018
yarn.lock Refactor: getSessionCookies + Jul 1, 2018

README.md

Twitter Shadowban Tests

One-page web app, testing Twitter users for conventional and QFD shadowbans.

Maintainability

Setup

Browser compatibility needs transpiling. Nothing fancy, just the usual babel magic.

git clone https://github.com/shadowban-eu/TwitterShadowBanV2 && cd TwitterShadowBanV2
npm install

Since we are using a php backend for request proxying, you will also need PHP. The gulp script uses php-cli's webserver.

[Debian]

apt-get install php7.2-cli

Finally, use the default gulp task to start the php-cli webserver and watching for file changes.

npm start

Deploy

Run npm start build! This creates an uglified script bundle and uses minified versions of 3rd party scripts. Then copy dist/'s content to your server_root.

Misc

Checking for running server (the PID differs, of course)

pgrep php -f
> 20748 php -S localhost:8080 -t ./dist/

If you need to run the php-cli webserver on another port, you will have to change it manually in gulpfile.babel.js, somewhere around line 72.

  const args = ['-S', 'localhost:8080', '-t', './dist/'];
You can’t perform that action at this time.