imsg-grep 0.1.7-darwin → 0.1.8-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/bin/img2png +0 -0
- data/bin/imsg-grep +5 -0
- data/lib/imsg-grep/VERSION +1 -1
- data/lib/imsg-grep/images/imaginator.rb +4 -8
- data/lib/imsg-grep/images/img2png.dylib +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f76e2f8bd190242f5894404a9a7e06d27a326f9c9ac53a554b0737de814368de
|
|
4
|
+
data.tar.gz: 0e132c730b11b689ea2c49dc54d169e6cdd8e04224069ead6ef76c1bb047e08e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 195e09aba5f3dff9d9ccf557a76daf28052cc3960762cf9f31455b853363df0ce889be7a1b3f3e109b2e7b34a51ad9a4499bccc598f6b43b15676b08feceee7d
|
|
7
|
+
data.tar.gz: 0c0fd316926a265389611ea3aee83c867829a22059117534b7a949395d0ef81d15295ea09d8fc885d4d03ba215845c4556d3d3f804dcfbfd1f5bfb0684abb66e
|
data/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
# imsg-grep
|
|
1
|
+
# imsg-grep
|
|
2
2
|
|
|
3
3
|
Search and filter iMessage history from command line.
|
|
4
4
|
|
|
5
|
+
<img width="721" height="406" alt="preview" src="https://github.com/user-attachments/assets/c935e32f-4373-4205-97e2-3fc44b2e6f82" />
|
|
6
|
+
|
|
5
7
|
## Features
|
|
6
8
|
|
|
7
9
|
Search iMessage history with regex patterns, date ranges, and participant filters. Extract links and media files. Output text or JSON.
|
data/bin/img2png
ADDED
|
Binary file
|
data/bin/imsg-grep
CHANGED
|
@@ -340,6 +340,11 @@ begin
|
|
|
340
340
|
end
|
|
341
341
|
end
|
|
342
342
|
|
|
343
|
+
if preview? && !$stdout.tty?
|
|
344
|
+
warn! "previews disabled: stdout not a tty"
|
|
345
|
+
@preview = nil
|
|
346
|
+
end
|
|
347
|
+
|
|
343
348
|
################################################################################
|
|
344
349
|
### build sql query ############################################################
|
|
345
350
|
################################################################################
|
data/lib/imsg-grep/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.8
|
|
@@ -60,20 +60,16 @@ module Imaginator
|
|
|
60
60
|
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
-
|
|
64
63
|
def term_seq(seq, end_marker)
|
|
65
|
-
|
|
66
|
-
buf = ""
|
|
64
|
+
buf = +""
|
|
67
65
|
IO.console.raw do |tty|
|
|
68
66
|
tty << seq
|
|
69
67
|
tty.flush
|
|
70
|
-
timeout = t.() + 0.1
|
|
71
68
|
loop do
|
|
72
|
-
buf << tty.read_nonblock(1)
|
|
73
69
|
break if buf.end_with? end_marker
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
break unless tty.wait_readable(0.05)
|
|
71
|
+
buf << tty.read_nonblock(4096)
|
|
72
|
+
rescue IO::WaitReadable, EOFError
|
|
77
73
|
end
|
|
78
74
|
end
|
|
79
75
|
buf
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imsg-grep
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: darwin
|
|
6
6
|
authors:
|
|
7
7
|
- Caio Chassot
|
|
@@ -173,6 +173,7 @@ extra_rdoc_files: []
|
|
|
173
173
|
files:
|
|
174
174
|
- LICENSE
|
|
175
175
|
- README.md
|
|
176
|
+
- bin/img2png
|
|
176
177
|
- bin/imsg-grep
|
|
177
178
|
- bin/msg-info
|
|
178
179
|
- bin/sql-shell
|
|
@@ -210,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
210
211
|
- !ruby/object:Gem::Version
|
|
211
212
|
version: '0'
|
|
212
213
|
requirements: []
|
|
213
|
-
rubygems_version: 4.0.
|
|
214
|
+
rubygems_version: 4.0.3
|
|
214
215
|
specification_version: 4
|
|
215
216
|
summary: iMessage database search
|
|
216
217
|
test_files: []
|