i_delete_my_tweets 0.5.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/i_delete_my_tweets.gemspec +2 -2
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48774b4872bb71f9aaf27a68f8f6ef534ac1b9ed8c823e08bfd69a5cc1bb22f1
|
4
|
+
data.tar.gz: 33328c6299be2ef98cd8ad07f96765c8dd05f7d4782ac7964cd163465c88a2d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2586b153287ca7a789b9b0adced91b4bd7440eb04f95ab2ced0cdfb5fe0cd9436cc45417ce6544648493c30d6f6d7c6153b32e4fa9dbf11dbbdc0fa91e62f780
|
7
|
+
data.tar.gz: 5eac4d1dd0d5fc6c091217a6b526ecdc2f619d398e101ee5f1faddef575f81504ed7e9332cb3581185d969c497be3445d2d03fcc8367e93d09b61cfa03484f05
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<img width="800" alt="Screen Shot 2022-05-11 at 19 04 53" src="https://user-images.githubusercontent.com/12278/167955371-a24ec8e6-bd9a-4014-bc25-9fb9e3cb21ce.png">
|
6
6
|
|
7
|
-
A **CLI** (as in Command Line Interface) to delete your tweets based on faves, RTs, and time.
|
7
|
+
A **CLI** (as in Command Line Interface) to delete your tweets based on faves, RTs, words, hashtags, and time.
|
8
8
|
|
9
9
|
There are some services out there with a friendly web interface, but this is not one of them.
|
10
10
|
You must know the basics of working with a UNIX terminal and configuring a Twitter API app, as this
|
@@ -13,11 +13,13 @@ will only work if you have a Twitter Developer account.
|
|
13
13
|
Due to the irrevocable nature of tweet deletion, all delete commands are `dry-run` true, meaning
|
14
14
|
you must call all of them with a `--dry-run=false` flag if you want them to really do something.
|
15
15
|
|
16
|
-
Called with `--dry-run=false`, there is no way to revoke tweet deletion. They are just gone, disappeared into the ether (or
|
16
|
+
Called with `--dry-run=false`, there is no way to revoke tweet deletion. They are just gone, disappeared into the ether (or stashed in the Twitter-owned secret place you have no access to without a mandate since nothing gets _really_ deleted from the web these days, folks).
|
17
17
|
|
18
18
|
This tool won't delete all of your tweets in one fell swoop; it is more of a way to delete your old tweets from time to time. The [Twitter API rate limits](https://developer.twitter.com/en/docs/twitter-api/rate-limits) are relatively complicated, and I don't even wanna go there, but if you do intend on deleting all of your tweets, you can do it with this CLI and some perseverance. I did delete more than 100k of mine by using this script every day for a couple of weeks. The more tweets you delete, the fewer of them you have, and with time the rate limits won't be that much of a problem.
|
19
19
|
|
20
|
-
I Delete My Tweets (IDMT) can delete your tweets by fetching them via API using an APP you will have to set up yourself. Still, it can also delete tweets from
|
20
|
+
I Delete My Tweets (IDMT) can delete your tweets by fetching them via API using an APP you will have to set up yourself. Still, it can also delete tweets from a CSV (comma-separated file) that you can generate from the archive you can request from twitter.com by going to `Settings and privacy > Your Account > Download an archive of your data`.
|
21
|
+
|
22
|
+
Once you get your zipped archive from Twitter, unzip it, and find the `tweet.js` file.
|
21
23
|
|
22
24
|
IDMT can convert that into a CSV file with:
|
23
25
|
|
@@ -37,7 +39,7 @@ the values yourself or work with the <config store> commands (see Usage) to do t
|
|
37
39
|
| CONSUMER_SECRET | String | Your Twitter App secret |
|
38
40
|
| ACCESS_TOKEN | String | Account access token |
|
39
41
|
| ACCESS_TOKEN_SECRET | String | Access token secret |
|
40
|
-
| OLDER_THAN | "2022-04-28 21:20:47 -0300" | A timestamp (
|
42
|
+
| OLDER_THAN | "2022-04-28 21:20:47 -0300" | A timestamp (quote to avoid system parser problems) |
|
41
43
|
| PATH_TO_CSV | './tweets.csv' | A path to a CSV file |
|
42
44
|
| FAVE_THRESHOLD | 3 | Minimum number of faves to skip deletion |
|
43
45
|
| RT_THRESHOLD | 5 | Minimum number of RTs to skip deletion |
|
@@ -119,7 +121,7 @@ $ i_delete_my_tweets config check
|
|
119
121
|
$ i_delete_my_tweets delete start
|
120
122
|
```
|
121
123
|
|
122
|
-
Will start traversing the API for your tweets and applying the `OLDER_THAN`, `FAVE_THRESHOLD`, and `RT_THRESHOLD` rules (they are applied in this order).
|
124
|
+
Will start traversing the API for your tweets and applying the `OLDER_THAN`, `FAVE_THRESHOLD`, and `RT_THRESHOLD` rules (they are applied in this order). These rules are NOT COMBINED; the tweet is deleted if one of the rules matches. If you set up words or hashtags, then IDMT will use those to match tweets up to deletion; `OLDER_THAN` and presence in `WITH_WORDS` will be used as criteria instead.
|
123
125
|
|
124
126
|
Pass in `--dry-run=false` if you REALLY want to delete them otherwise this command will just output the tweets it would delete but doesn't because
|
125
127
|
the default flag for delete commands is `--dry-run=true`.
|
data/i_delete_my_tweets.gemspec
CHANGED
@@ -3,11 +3,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require 'i_delete_my_tweets/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.add_dependency 'activesupport', '~> 6.1.
|
6
|
+
spec.add_dependency 'activesupport', '~> 6.1.7.3'
|
7
7
|
spec.add_dependency 'csv', '~> 3.0.9'
|
8
8
|
spec.add_dependency 'dotenv', '~> 2.7.6'
|
9
9
|
spec.add_dependency 'oauth', '~> 0.5.5'
|
10
10
|
spec.add_dependency 'progress', '~> 3.6.0'
|
11
|
+
spec.add_dependency 'semver2', '~> 3.4.2'
|
11
12
|
spec.add_dependency 'terminal-table', '~> 3.0.2'
|
12
13
|
spec.add_dependency 'thor', '~> 1.2.1'
|
13
14
|
spec.add_dependency 'twitter', '~> 7.0.0'
|
@@ -15,7 +16,6 @@ Gem::Specification.new do |spec|
|
|
15
16
|
spec.add_development_dependency 'rubocop', '~> 1.29'
|
16
17
|
spec.add_development_dependency 'rubocop-performance', '~> 1.13.3'
|
17
18
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.10.0'
|
18
|
-
spec.add_development_dependency 'semver2', '~> 3.4.2'
|
19
19
|
spec.authors = %w('Fabio Mont Alegre')
|
20
20
|
spec.platform = Gem::Platform::RUBY
|
21
21
|
spec.description = IDeleteMyTweets::Description
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i_delete_my_tweets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "'Fabio"
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2023-05-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 6.1.
|
21
|
+
version: 6.1.7.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 6.1.
|
28
|
+
version: 6.1.7.3
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: csv
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,6 +82,20 @@ dependencies:
|
|
82
82
|
- - "~>"
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: 3.6.0
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: semver2
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - "~>"
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 3.4.2
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
requirements:
|
96
|
+
- - "~>"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: 3.4.2
|
85
99
|
- !ruby/object:Gem::Dependency
|
86
100
|
name: terminal-table
|
87
101
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,20 +200,6 @@ dependencies:
|
|
186
200
|
- - "~>"
|
187
201
|
- !ruby/object:Gem::Version
|
188
202
|
version: 2.10.0
|
189
|
-
- !ruby/object:Gem::Dependency
|
190
|
-
name: semver2
|
191
|
-
requirement: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - "~>"
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: 3.4.2
|
196
|
-
type: :development
|
197
|
-
prerelease: false
|
198
|
-
version_requirements: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - "~>"
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: 3.4.2
|
203
203
|
description: |
|
204
204
|
A CLI (as in Command Line Interface) to delete your tweets based on faves, RTs, and time.
|
205
205
|
|