
Digital Methods Initiative - Twitter Capture and Analysis Toolset
The Digital Methods Initiative Twitter Capture and Analysis Toolset (DMI-TCAT) allows one to retrieve and collect tweets from Twitter and to analyze them in various ways.
You can find detailed installation instructions in the wiki
Run:
curl https://raw.githubusercontent.com/digitalmethodsinitiative/dmi-tcat/master/helpers/tcat-install-linux.sh | sudo bash
Our latest Docker images are availble on Docker Hub.
docker run --publish 80:80 --volume tcat_data:/var/lib/mysql/ --detach --name tcat digitalmethodsinitiative/tcat:1.0 and Docker will download version 1.0 (or whatever tag with which you replace the "1.0")--publish HOST_PORT:80 allows you to define which port on the host network is used. If you are using a different port, you may also need to add -e SERVERNAME=localhost:HOST_PORT where HOST_PORT is the desired port as this is used for internal links in the TCAT interface.--volume volume_name:/var/lib/mysql/ ensures you are easily able to reuse your TCAT mysql database and recover data after you are no longer using TCATdocker logs tcat (installation may take some time, so you can either wait or run docker logs -f tcat to follow along)admin menu to create your first tweet capture binsdocker stop tcat
and
docker start tcatThe Docker installation also allows you to easily host TCAT on a server. In addition to the SERVERNAME environment variable, you can also use Let's Encrypt by adding -e LETSENCRYPT=y and -e [email protected]. You should also open port 443 for Let's Encrypt to work. Your full command might look like this:
docker run --publish 80:80 --publish 443:443 --volume tcat_data:/var/lib/mysql/ --detach --name tcat -e SERVERNAME=my.website.com -e LETSENCRYPT=y -e [email protected] digitalmethodsinitiative/tcat:1.0
Finally, if you wish to develop TCAT yourself, you can clone this repository and create your own image.
git clone https://github.com/digitalmethodsinitiative/dmi-tcat.gitdocker image build --progress=plain -t tcat:1.0 .digitalmethodsinitiative/tcat:1.0 with tcat:1.0 from above in your docker run commandPlease use the issue templates when reporting issues and bugs.
Nice way to describe the fact that we don't have much
We are happy to receive suggestions and improvements.
Apache License Version 2.0