Metadata-Version: 2.1
Name: verifytweet
Version: 0.5.3
Summary: A tool to verify Tweet screenshots
Home-page: https://preethamkamidi.com/projects/verify
Author: Preetham Kamidi
Author-email: contact@preethamkamidi.com
License: AGPLv3
Project-URL: Documentation, https://github.com/kamidipreetham/verifytweet
Project-URL: Code, https://github.com/kamidipreetham/verifytweet
Project-URL: Issue tracker, https://github.com/kamidipreetham/verifytweet/issues
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.6.*
Description-Content-Type: text/markdown
Requires-Dist: click (>=5.1)
Requires-Dist: Pillow (>=6.2.0)
Requires-Dist: pytesseract (==0.2.6)
Requires-Dist: requests (==2.22.0)
Requires-Dist: scikit-learn (==0.21.2)
Requires-Dist: nltk (>=3.4.5)
Requires-Dist: python-dateutil (==2.8.0)
Requires-Dist: werkzeug (==0.15.4)
Requires-Dist: twint (==2.1.13)

# Verify Tweet

Fake tweet images can be generated using a preset meme template from websites like: [TweetGen](https://www.tweetgen.com/), [Prank Me Not](http://www.prankmenot.com/?twitter_tweet) and [Simitator](http://simitator.com/generator/twitter/tweet) . Verification of such tweets takes a manual work to find the user, scroll through their timeline and matching. A viral fake tweet image can prove crucial at a time.

A fake tweet screenshot looks very convincing, misleading the general public. For example:

|Tweet 1             |  Tweet 2 |
|:-------------------------:|:-------------------------:|
|![alt text](https://i.imgur.com/gG1RYiR.png "Tweet 1") | ![alt text](https://i.imgur.com/eTKpOFY.png "Tweet 2")|

Verify Tweet attempts to resolve the problem by letting users upload such tweet screenshots and verify if the user actually tweeted or not. A combination of Image processing, Natural language processing as well as Twitter Search API makes this possible.

## Installation

### Prerequisites

- Install [Tesseract-OCR](https://github.com/tesseract-ocr/tesseract/wiki#installation) and add to PATH.
- Install [ImageMagick](https://imagemagick.org/script/download.php) and add to PATH.
- Python >= 3.6

Installing via pip:

```sh
pip install -U git+https://github.com/kamidipreetham/verifytweet.git@origin/master#egg=verifytweet
```

Or via pipenv:

```sh
pipenv install -e git+https://github.com/kamidipreetham/verifytweet.git@origin/master#egg=verifytweet
```

## Usage

Quickstart

```sh
verifytweet -f <path_to_image_file>
```

Help

```sh
verifytweet --help
```

## License

Verify Tweet is released under GNU Affero General Public License v3.0.

## Future features

- [ ] Support for Image links
- [ ] Support for Tweets with replies


