hoaxy-backend
Backend component for Hoaxy, a tool to visualize the spread of claims and fact checking
File Explorer
Download Latest Version (.zip)- .dockerignore
- docker-compose.yml
- Dockerfile
- entrypoint.sh
- Makefile
- nsswitch.conf
- README.md
- __init__.py
- api.py
- __init__.py
- cmdline.py
- config.py
- crawl.py
- init.py
- lucene_cmd.py
- report.py
- site.py
- sns.py
- __init__.py
- article.py
- html.py
- url.py
- __init__.py
- items.py
- pipelines.py
- __init__.py
- architecture.pdf
- architecture.png
- architecture.readme.md
- sites.readme.md
- tweet.readme.md
- __init__.py
- conf.sample.yaml
- crontab.sample.txt
- domains_claim.sample.txt
- domains_factchecking.sample.txt
- sites.sample.yaml
- __init__.py
- __init__.py
- functions.py
- models.py
- __init__.py
- index.py
- search.py
- parse_with_mercury.js
- __init__.py
- handlers.py
- parsers.py
- stream.py
- __init__.py
- __init__.py
- dt.py
- log.py
- url.py
- __init__.py
- exceptions.py
- VERSION
- __init__.py
- bulk_tweet_parser.py
- exception_tweet.txt
- mp_bulk_tweet_parser.py
- network_api.py
- new_tweet_parser.py
- null_byte_tweet.txt
- performance.py
- performance.test.csv
- .gitignore
- CHANGELOG.md
- LICENSE
- MANIFEST.in
- README.md
- requirements.txt
- setup.py
# Installation Guide
git clone https://github.com/osome-iu/hoaxy-backend
Downloads the entire project code from GitHub to your computer.
cd hoaxy-backend
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Python 3 Python is required to use pip.
pip install tweepy ruamel.yaml newspaper3k demjson
Installs the package published on PyPI directly β no need to clone the source.
Pulled directly from this repo's README.
3. Docker
Easy- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f docker/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
4. Python
Easypip install tweepy ruamel.yaml newspaper3k demjson
Installs the package published on PyPI directly β no need to clone the source.
Some of the packages are not official conda packages. You can use pip to install those packages.
Type this command into your terminal and run it.
Pulled directly from this repo's README.
5. Make
Medium- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd docker
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
