Giter Site home page Giter Site logo

twint-docker's Introduction

twint-docker based on Alpine, Ubuntu and Debian Slim

Requirements

If you don't have Docker/Docker-Compose check Setup Docker section

Setup Docker

Docker

macOS: https://docs.docker.com/docker-for-mac/install/

linux: https://docs.docker.com/install/linux/docker-ce/ubuntu/

Docker Compose

linux: https://docs.docker.com/compose/install/

How to use

For first usage, you need to build image docker.

git clone --depth=1 https://github.com//twintproject/twint-docker
cd ./dockerfiles/[[VERSION]]/[[OS]]
docker-compose up -d
docker-compose run twint -h

or

docker pull thetwintproject/twint:[[TAG]]
docker run -ti --rm thetwintproject/twint:[[TAG]] -h

Then check the README.md for each versions.

Available images

Image Size Arch Os Link
docker pull thetwintproject/twint:latest-alpine 75 MB amd64 linux ./dockerfiles/latest/alpine
docker pull thetwintproject/twint:latest-slim 167 MB amd64 linux ./dockerfiles/latest/slim
docker pull thetwintproject/twint:latest 247 MB amd64 linux ./dockerfiles/latest
docker pull thetwintproject/twint:2.0.0 246 MB amd64 linux ./dockerfiles/2.0.0
docker pull thetwintproject/twint:2.0.0-alpine 75 MB amd64 linux ./dockerfiles/2.0.0/alpine
docker pull thetwintproject/twint:2.0.0-slim 167 MB amd64 linux ./dockerfiles/2.0.0/slim
docker pull thetwintproject/twint:2.1.0 246 MB amd64 linux ./dockerfiles/2.1.0
docker pull thetwintproject/twint:2.1.0-alpine 75 MB amd64 linux ./dockerfiles/2.1.0/alpine
docker pull thetwintproject/twint:2.1.0-slim 167 MB amd64 linux ./dockerfiles/2.1.0/slim
docker pull thetwintproject/twint:2.1.10 247 MB amd64 linux ./dockerfiles/2.1.10
docker pull thetwintproject/twint:2.1.10-alpine 75 MB amd64 linux ./dockerfiles/2.1.10/alpine
docker pull thetwintproject/twint:2.1.10-slim 167 MB amd64 linux ./dockerfiles/2.1.10/slim
docker pull thetwintproject/twint:2.1.11 247 MB amd64 linux ./dockerfiles/2.1.11
docker pull thetwintproject/twint:2.1.11-alpine 75 MB amd64 linux ./dockerfiles/2.1.11/alpine
docker pull thetwintproject/twint:2.1.11-slim 167 MB amd64 linux ./dockerfiles/2.1.11/slim
docker pull thetwintproject/twint:2.1.12 247 MB amd64 linux ./dockerfiles/2.1.12
docker pull thetwintproject/twint:2.1.12-alpine 75 MB amd64 linux ./dockerfiles/2.1.12/alpine
docker pull thetwintproject/twint:2.1.12-slim 168 MB amd64 linux ./dockerfiles/2.1.12/slim
docker pull thetwintproject/twint:2.1.13 247 MB amd64 linux ./dockerfiles/2.1.13
docker pull thetwintproject/twint:2.1.13-alpine 75 MB amd64 linux ./dockerfiles/2.1.13/alpine
docker pull thetwintproject/twint:2.1.13-slim 167 MB amd64 linux ./dockerfiles/2.1.13/slim
docker pull thetwintproject/twint:2.1.14 247 MB amd64 linux ./dockerfiles/2.1.14
docker pull thetwintproject/twint:2.1.14-alpine 75 MB amd64 linux ./dockerfiles/2.1.14/alpine
docker pull thetwintproject/twint:2.1.14-slim 167 MB amd64 linux ./dockerfiles/2.1.14/slim
docker pull thetwintproject/twint:2.1.15 247 MB amd64 linux ./dockerfiles/2.1.15
docker pull thetwintproject/twint:2.1.15-alpine 75 MB amd64 linux ./dockerfiles/2.1.15/alpine
docker pull thetwintproject/twint:2.1.15-slim 167 MB amd64 linux ./dockerfiles/2.1.15/slim
docker pull thetwintproject/twint:2.1.16 247 MB amd64 linux ./dockerfiles/2.1.16
docker pull thetwintproject/twint:2.1.16-alpine 75 MB amd64 linux ./dockerfiles/2.1.16/alpine
docker pull thetwintproject/twint:2.1.16-slim 167 MB amd64 linux ./dockerfiles/2.1.16/slim
docker pull thetwintproject/twint:2.1.4 246 MB amd64 linux ./dockerfiles/2.1.4
docker pull thetwintproject/twint:2.1.4-alpine 75 MB amd64 linux ./dockerfiles/2.1.4/alpine
docker pull thetwintproject/twint:2.1.4-slim 167 MB amd64 linux ./dockerfiles/2.1.4/slim
docker pull thetwintproject/twint:2.1.6 246 MB amd64 linux ./dockerfiles/2.1.6
docker pull thetwintproject/twint:2.1.6-alpine 75 MB amd64 linux ./dockerfiles/2.1.6/alpine
docker pull thetwintproject/twint:2.1.6-slim 167 MB amd64 linux ./dockerfiles/2.1.6/slim
docker pull thetwintproject/twint:2.1.8 246 MB amd64 linux ./dockerfiles/2.1.8
docker pull thetwintproject/twint:2.1.8-alpine 75 MB amd64 linux ./dockerfiles/2.1.8/alpine
docker pull thetwintproject/twint:2.1.8-slim 167 MB amd64 linux ./dockerfiles/2.1.8/slim
docker pull thetwintproject/twint:2.1.9 247 MB amd64 linux ./dockerfiles/2.1.9
docker pull thetwintproject/twint:2.1.9-alpine 75 MB amd64 linux ./dockerfiles/2.1.9/alpine
docker pull thetwintproject/twint:2.1.9-slim 167 MB amd64 linux ./dockerfiles/2.1.9/slim

Authors

๐Ÿ‘ค pielco11

๐Ÿ‘ค x0rzkov

๐Ÿ‘ค sebastienhouzet

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. See ./docs/CONTRIBUTING.md for details.

Show your support

Give a โญ๏ธ if this project helped you!

twint-docker's People

Contributors

muki avatar pielco11 avatar sebastienhouzet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

twint-docker's Issues

Search terms separated by space cannot be parsed

twint -s "foo bar" --since 2020-08-01 -es logs:9200

works fine with a local install, however when I try the same thing in docker, I see the following

$ docker run --rm -it thetwintproject/twint -s "foo bar" --since 2020-08-01 -es logs:9200
usage: python3 twint [options]
twint: error: unrecognized arguments: bar

Something about how the ENTRYPOINT script is handling args doesn't like quoted spaces. I tried escaping this any way I could think of and I wasn't able to get it to work.

twint-search latest docker image fails to start - Could not find required file

The logs say it all, latest version of twint-seach image fails to start.

$ docker-compose up twint-search
Starting 219_twint-search_1 ... done
Attaching to 219_twint-search_1
twint-search_1   | 
twint-search_1   | > [email protected] start /usr/src/app
twint-search_1   | > react-scripts start
twint-search_1   | 
twint-search_1   | Could not find a required file.
twint-search_1   |   Name: index.html
twint-search_1   |   Searched in: /usr/src/app/public
twint-search_1   | npm ERR! code ELIFECYCLE
twint-search_1   | npm ERR! errno 1
twint-search_1   | npm ERR! [email protected] start: `react-scripts start`
twint-search_1   | npm ERR! Exit status 1
twint-search_1   | npm ERR! 
twint-search_1   | npm ERR! Failed at the [email protected] start script.
twint-search_1   | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
twint-search_1   | 
twint-search_1   | npm ERR! A complete log of this run can be found in:
twint-search_1   | npm ERR!     /root/.npm/_logs/2020-01-15T18_18_55_072Z-debug.log
219_twint-search_1 exited with code 1

Isssue with Elastic Search

Hi !!
After these commands without error ES seems not launched.
docker-compose build
docker-compose up -d elasticsearch kibana
==> ALL 2 OK !

then , while doing : "docker-compose run -v $PWD/twint:/srv/twint twint {{CMD TWINT}}" :
==> ERROR :
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f6c7452af60>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f6c7452af60>: Failed to establish a new connection: [Errno 111] Connection refused)

ES seems not launched /listening.
==> nothing on "http://localhost:9200/twinttweets"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.