Skip to content

HyperCrowd/meme-morph

Repository files navigation

MemeMorph

Meme Morph tracks the evolution of memes

Installation

sudo apt install build-essential
git clone [email protected]:HyperCrowd/meme-morph.git
cd meme-morph
yarn install
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/node" "/usr/local/bin/node"
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/npm" "/usr/local/bin/npm"
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/npx" "/usr/local/bin/npx"
sudo npx playwright install-deps
cp .env.sample .env
open https://newsapi.org/register
echo "Please place a NewsAPI key in the entry for NEWSAPI_KEY in the .env file"
open https://iknowwhatyoudownload.com/en/api/
echo "Please place a AntiTor key in the entry for ANTITOR_KEY in the .env file"
open https://developer.twitter.com/en/portal/dashboard
echo "Please create a Twitter developer account for TWITTER_BEARER_TOKEN in the .env file"

Developer Environment Setup

sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt install python3 python3-pip
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
sudo chown -R $(whoami) "$NVM_DIR"
nvm install stable
sudo chown -R $(whoami) ~/.npm
nvm install-latest-npm
npm install --global yarn
yarn global add typescript
yarn global add eslint
sudo apt-get install silversearcher-ag
mkdir ~/.ssh
touch ~/.ssh/config
sudo chmod 0600 ~/.ssh/config
mkdir ~/projects
  • Install the following extensions for VSCode:
aaron-bond.better-comments
coenraads.bracket-pair-colorizer-2
msjsdiag.debugger-for-chrome
mikestead.dotenv
file-icons.file-icons
jmsv.javascriptsnippetsstandard
capaj.vscode-standardjs-snippets
pkief.material-icon-theme
wayou.vscode-todo-highlight
dbaeumer.vscode-eslint
graphql.vscode-graphql
ritwickdey.liveserver
prisma.prisma

Usage

News Search

  • Fetch news about COVID and output it as text to the console:
  • ./cli news covid
  • Fetch news about cell phones and send the output to a CSV file:
  • ./cli news "cell phones" -o csv > cellPhones.csv
  • Fetch news about Jeff Bezos and send the output to a JSON file:
  • ./cli news "jeff bezos" -o json > bezos.json

IP

  • Fetch geolocation and torrent information about an IP and output it as text to the console:
  • ./cli ip 111.36.178.185
  • Fetch geolocation and torrent information about an IP and send the output to a CSV file:
  • ./cli ip 111.36.178.185 -o csv > 111.36.178.185.csv
  • Fetch geolocation and torrent information about an IP and send the output to a JSON file:
  • ./cli ip 111.36.178.185 -o json > 111.36.178.185.json
  • Fetch geolocation and torrent information about a file of IPs (separated by new lines) and send the output to a CSV file:
  • ./cli ip "/path/to/ip/list" -o csv > 111.36.178.185.csv

REDDIT

  • Fetch Reddit posts about a topic and output it as text to the console:
  • ./cli reddit covid
  • Fetch Reddit posts about a topic and send the output to a CSV file:
  • ./cli reddit covid -o csv > 111.36.178.185.csv
  • Fetch Reddit posts about an topic and send the output to a JSON file:
  • ./cli reddit covid -o json > 111.36.178.185.json

About

Meme Morph tracks the evolution of memes

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published