{"id":26459456,"url":"https://github.com/xacnio/tweetcapture","last_synced_at":"2025-04-10T02:24:13.864Z","repository":{"id":37453017,"uuid":"372614785","full_name":"xacnio/tweetcapture","owner":"xacnio","description":"A Tweet Screenshot Tool/Package (Python)","archived":false,"fork":false,"pushed_at":"2024-04-15T01:08:54.000Z","size":1120,"stargazers_count":96,"open_issues_count":4,"forks_count":17,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-08T09:08:02.320Z","etag":null,"topics":["python","screenshot","selenium","twitter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xacnio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-31T19:54:27.000Z","updated_at":"2024-12-07T15:15:24.000Z","dependencies_parsed_at":"2024-01-13T23:39:29.329Z","dependency_job_id":"ca49cca1-d7b8-4f53-aaaf-18b1466efc07","html_url":"https://github.com/xacnio/tweetcapture","commit_stats":{"total_commits":57,"total_committers":5,"mean_commits":11.4,"dds":0.2807017543859649,"last_synced_commit":"ccab81cb7f823fe5651b61b5fc9faca51fa9d50b"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xacnio%2Ftweetcapture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xacnio%2Ftweetcapture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xacnio%2Ftweetcapture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xacnio%2Ftweetcapture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xacnio","download_url":"https://codeload.github.com/xacnio/tweetcapture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248143485,"owners_count":21054790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","screenshot","selenium","twitter"],"created_at":"2025-03-19T01:16:11.361Z","updated_at":"2025-04-10T02:24:13.819Z","avatar_url":"https://github.com/xacnio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TweetCapture\n\nEasily take screenshots of tweets/mentions and save them as image.\n\n## Command-Line Usage\n\n```\n\u003e pip install tweet-capture\n\u003e tweetcapture https://twitter.com/jack/status/20\n\u003e tweetcapture -h\n```\n\n## Code Usage Examples\n\n- [Cli](tweetcapture/cli.py)\n- [Code Examples](tweetcapture/examples/)\n\n## Testing\n```\n\u003e pip3 install opencv-python numpy\n\u003e cd tweetcapture/tests/\n\u003e python -m unittest\n```\n\n## Docker Usage\n```\ndocker run --rm -v $(pwd):/app xacnio/tweetcapture -h\ndocker run --rm -v $(pwd):/app xacnio/tweetcapture https://twitter.com/jack/status/20\n```\n- *\u003cfont size=\"1\"\u003eOn Windows: Replace `$(pwd)` with `${PWD}`* (**Powershell**)\n- *On Windows: Replace `$(pwd)` with `%cd%`* (**Command Line**)\u003c/font\u003e\n\n## Modes\n\n| #   |                                                   |                                                      |\n| --- | ------------------------------------------------- | ---------------------------------------------------- |\n| 0   | Hide everything outside tweet content and author. | \u003cimg src=\"tweetcapture/assets/mode0.png\" width=\"300\"\u003e |\n| 1   | Show retweet/like counts.                         | \u003cimg src=\"tweetcapture/assets/mode1.png\" width=\"300\"\u003e |\n| 2   | Show retweet/like counts and timestamp.           | \u003cimg src=\"tweetcapture/assets/mode2.png\" width=\"300\"\u003e |\n| 3   | Show everything.                                  | \u003cimg src=\"tweetcapture/assets/mode3.png\" width=\"300\"\u003e |\n| 4   | Show timestamp.                                   | \u003cimg src=\"tweetcapture/assets/mode4.png\" width=\"300\"\u003e |\n\n## Night Modes\n\n| #   |            |                                                      |\n| --- | ---------- | ---------------------------------------------------- |\n| 0   | Light mode | \u003cimg src=\"tweetcapture/assets/mode4.png\" width=\"300\"\u003e |\n| 1   | Dark mode  | \u003cimg src=\"tweetcapture/assets/mode1.png\" width=\"300\"\u003e |\n| 2   | Black mode | \u003cimg src=\"tweetcapture/assets/mode3.png\" width=\"300\"\u003e |\n\n## Show Mentions Example\n_If the tweet have a very many mentions, there may be problems because \"show more\" option not supported. The tool can show only first loaded mentions. You can limit mention count on screenshot by using -sc \u003ccount\u003e argument_\n```\ntweetcapture -sm 3 https://twitter.com/Twitter/status/1445078208190291973\n```\n\u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n    \u003cimg src=\"https://i.imgur.com/IZ0GHl8.png\" /\u003e\n\u003c/details\u003e\n\n## Show Parent Tweets Example\n```\ntweetcapture -sp https://twitter.com/elonmusk/status/1587911540770222081\n```\n\u003cdetails\u003e\n    \u003csummary\u003eImage\u003c/summary\u003e\n    \u003cimg src=\"https://i.imgur.com/KrK9N8Y.png\" /\u003e\n\u003c/details\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxacnio%2Ftweetcapture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxacnio%2Ftweetcapture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxacnio%2Ftweetcapture/lists"}