Commit Graph

158 Commits

Author SHA1 Message Date
AuroraWright
7c8cf92745 Minor changes 2024-01-28 09:47:01 +01:00
AuroraWright
c4b2964b29 Minor changes 2024-01-27 09:01:14 +01:00
AuroraWright
40f4eea198 Fix detection of wrong window title 2024-01-27 08:57:37 +01:00
AuroraWright
39b98d5edd Implemented window screen capture mode (only tested on macOS so far) 2024-01-27 08:44:07 +01:00
AuroraWright
181cbececa Adjust timeout again 2024-01-26 14:43:12 +01:00
AuroraWright
b4c43680ec Final preparations 2024-01-26 05:23:18 +01:00
AuroraWright
5bd995fcf8 Also redundant now 2024-01-26 05:17:21 +01:00
AuroraWright
c781a1c9af Update readme 2024-01-26 05:07:18 +01:00
AuroraWright
ceda14aee9 Not needed anymore 2024-01-26 03:43:30 +01:00
AuroraWright
a4ac68ccde Improve config parsing 2024-01-26 03:38:23 +01:00
AuroraWright
52b07d2c2f Minor changes 2024-01-26 03:14:40 +01:00
AuroraWright
e61820ffff Fix stuff 2024-01-26 02:58:15 +01:00
AuroraWright
8b1d1bb10a Make user input less sluggish with large delays 2024-01-26 02:52:18 +01:00
AuroraWright
ea0878bef1 Implement reading from screen capture 2024-01-26 02:02:50 +01:00
AuroraWright
3d6b7a52db Init config if not already done 2024-01-26 00:35:00 +01:00
AuroraWright
5791387e46 Allow overriding of CLI arguments in the config 2024-01-26 00:29:57 +01:00
AuroraWright
4d4aaf882e Work around quality code from Microsoft 2024-01-24 19:08:48 +01:00
AuroraWright
a7282fc9b5 Update version 2024-01-24 17:33:59 +01:00
AuroraWright
fb6b55ae6d Increase Lens timeout 2024-01-24 17:23:33 +01:00
AuroraWright
2296ac0fee Hi, I'm stupid 2024-01-24 17:16:46 +01:00
AuroraWright
4e7d714297 Resize image to fit within Lens API limits 2024-01-24 14:26:59 +01:00
AuroraWright
a8790e106f Fix potential race condition in Windows, minor other changes 2024-01-24 06:43:37 +01:00
AuroraWright
b1ac3b6438 Switch to a pyperclip fork to fix issues with Linux 2024-01-23 10:35:33 +01:00
AuroraWright
9980a43bdb grabclipboard() can raise lots of different kinds of exceptions on Linux across X11 and Wayland, can't be bothered to handle all of them 2024-01-22 16:04:32 +01:00
AuroraWright
24b02b5fc9 Prepare for publishing 2024-01-22 06:12:58 +01:00
AuroraWright
7931f6d427 Allow OCRing the same image if we are sure it has been pasted multiple times 2024-01-22 04:41:27 +01:00
AuroraWright
53920af646 Minor style changes 2024-01-22 03:09:22 +01:00
AuroraWright
59c5a327a7 Allow websocket clients connecting from other machines 2024-01-22 01:05:38 +01:00
AuroraWright
7064c813b3 Add credit for Windows clipboard code 2024-01-22 00:13:20 +01:00
AuroraWright
6461ec80f7 Add Windows native clipboard polling and a note in the readme 2024-01-21 23:47:03 +01:00
AuroraWright
70687e6b01 Switch to pyjson5 as chompjs needs manual building (especially annoyin on Windows), detect Lens errors 2024-01-21 18:30:54 +01:00
AuroraWright
01d0a94a7c More Windows fixes (sigh++) 2024-01-20 23:54:34 +01:00
AuroraWright
d2f71a8129 A few Windows fixes (sigh) 2024-01-20 23:39:32 +01:00
AuroraWright
0c7d3f4045 Remove unused dependency 2024-01-20 20:46:55 +01:00
AuroraWright
7042d5344f Switch to notify-py due to issues with Windows 2024-01-20 19:50:55 +01:00
AuroraWright
11a2ead52a Lowercase some strings after parsing the config 2024-01-20 19:27:12 +01:00
AuroraWright
db9bc73c96 Add OS notifications 2024-01-20 19:20:52 +01:00
AuroraWright
3dc61c6d8e Oops this is a python builtin 2024-01-20 17:16:15 +01:00
AuroraWright
19773812a9 Lens: add request timeout, handle no text being detected 2024-01-20 04:35:16 +01:00
AuroraWright
9518272a5b Implement Google Lens (thanks Viola!) 2024-01-20 02:45:29 +01:00
AuroraWright
4a11dd1178 Improve temporary pause handler 2024-01-17 18:41:38 +01:00
AuroraWright
449a3198c4 When receiving an image, return to the websocket client whether it was processed 2024-01-17 18:05:31 +01:00
AuroraWright
cbbe1ded8f Fix reading images larger than 1 MB via websocket 2024-01-16 05:57:33 +01:00
AuroraWright
82837e4826 Fix readme, remove server connection warning 2024-01-15 04:24:14 +01:00
AuroraWright
475a14d218 Forgot to update part of the help page 2024-01-14 23:23:19 +01:00
AuroraWright
5905876acf Implement reading images via websocket too 2024-01-14 22:31:54 +01:00
AuroraWright
186447333e Fix websocket server termination, make websocket port configurable, move delay_secs to config, add -d parameter to delete files when reading from directory, ignore non-image files 2024-01-14 16:29:48 +01:00
AuroraWright
3b6c6d3f1f Add writing text to a websocket for the modern text hooking pages 2024-01-14 13:40:10 +01:00
AuroraWright
83a820e0ca Make output/colors configurable 2023-12-23 06:33:20 +01:00
AuroraWright
35ae78a5f6 Add missing keys in the readme 2023-12-16 05:01:42 +01:00