krau
|
a6f194aedd
|
feat: add global proxy config
|
2025-12-02 10:11:58 +08:00 |
|
krau
|
4a6f63e58f
|
test: add tests for string utility functions
|
2025-11-09 11:48:29 +08:00 |
|
krau
|
16c71e6384
|
fix: enhance ParseArgsRespectQuotes to handle escaped quotes and backslashes
|
2025-11-09 11:48:15 +08:00 |
|
krau
|
0c2d116708
|
feat: parse rule command with quotes respecting
|
2025-11-09 11:43:28 +08:00 |
|
krau
|
f0853536d9
|
fix: use same ctx to get grouped message
|
2025-11-06 16:59:51 +08:00 |
|
krau
|
ae48bd52bf
|
fix: handle chat ID parsing correctly by removing unnecessary prefix trimming, close #130
|
2025-11-06 15:01:18 +08:00 |
|
krau
|
257c292679
|
fix: correct chat ID parsing by handling negative chat IDs properly
|
2025-10-12 22:23:08 +08:00 |
|
krau
|
a7854afb2a
|
refactor: improve client initialization logic and ensure thread safety
|
2025-10-06 23:32:20 +08:00 |
|
krau
|
0e989cc1a6
|
fix: add logging for fetching telegraph page and handle image URLs from telegra.ph
|
2025-10-06 22:13:41 +08:00 |
|
krau
|
4d837e946c
|
feat: add .chatid variable in file name template
|
2025-09-30 21:34:35 +08:00 |
|
krau
|
40ad12a892
|
fix: update SOCKS5 proxy dialer implementation for consistency
|
2025-09-18 22:28:25 +08:00 |
|
Krau
|
f05dd883e3
|
feat: enhance URL handling by adding utility functions and filters for message entities (#105)
|
2025-09-09 20:16:56 +08:00 |
|
krau
|
215e082028
|
feat: implement internationalization support and update help commands
|
2025-08-27 11:09:38 +08:00 |
|
krau
|
e824b210d1
|
feat: improve telegram storage chat ID parsing logic
|
2025-08-24 11:29:19 +08:00 |
|
krau
|
226c15ef08
|
feat: add NormalizePathname function and update task handling for parsed items
|
2025-08-24 10:28:50 +08:00 |
|
krau
|
b87dd68880
|
feat: proxy client for parser
|
2025-08-23 20:17:24 +08:00 |
|
krau
|
e5d1e143e0
|
feat: configurable parser and refactor config
|
2025-08-23 14:29:32 +08:00 |
|
krau
|
8f9ef07d1c
|
refactor: replace functions.GetMediaFileNameWithId with tgutil.GetMediaFileName for better media file name handling
|
2025-08-02 16:55:12 +08:00 |
|
krau
|
fc4a112f08
|
fix: enhance filename generation by using media file name if available
|
2025-07-07 14:12:33 +08:00 |
|
krau
|
f693bd6103
|
refactor: update file handling to use new downloader interface; remove unused tdler package
|
2025-06-29 23:00:40 +08:00 |
|
krau
|
c795f957a9
|
refactor: user client and proxy handling; remove unused auth code
|
2025-06-29 22:25:05 +08:00 |
|
krau
|
3b85911e3d
|
fix: mimetype nil pointer
|
2025-06-20 22:42:57 +08:00 |
|
krau
|
40cb3dad9d
|
feat: handle grouped msgs, close #72
|
2025-06-20 22:07:21 +08:00 |
|
krau
|
88128ecac2
|
fix: cache init after config
|
2025-06-20 21:27:45 +08:00 |
|
krau
|
758564d436
|
feat(config): add cache configuration options for TTL, num counters, and max cost
|
2025-06-18 10:51:03 +08:00 |
|
krau
|
f5e33472eb
|
feat: add IterMessages function for message iteration with error handling
|
2025-06-18 10:50:54 +08:00 |
|
Krau
|
900823cdb9
|
refactor: refactor task logic for better scalability (#76)
* refactor: a big refactor. wip
* refactor: port handle file
* refactor: place all handlers
* fix: task info nil pointer
* feat: enhance task progress tracking and context management
* feat: cancel task
* feat: stream mode
* feat: silent mode
* feat: dir cmd
* refactor: remove unused old file
* feat: rule cmd
* feat: handle silent mode
* feat: batch task
* fix: batch task progress and temp file cleanup
* refactor: update file creation and cleanup methods for better resource management
* feat: add save command with silent mode handling
* feat: message link
* feat: update message prompts to include file count in storage selection
* feat: slient save links
* refactor: reduce dup code
* feat: rule type
* feat: chose dir
* feat: refactor file handling and storage rules, improve error handling and logging
* feat: rule mode
* feat: telegraph pics
* fix: tphpics nil pointer and inaccurate dirpath
* feat: silent save telegraph
* feat: add suffix to avoid file overwrite
* feat: new storage telegram
* chore: tidy go mod
|
2025-06-15 23:57:49 +08:00 |
|
krau
|
481427683e
|
chore: translate config package
|
2025-06-08 13:37:51 +08:00 |
|
krau
|
0422c1ac3e
|
refactor: improve log format
|
2025-06-08 11:00:29 +08:00 |
|
krau
|
729e688748
|
fix: cleaning up the cache folder caused permission issues
|
2025-05-19 09:23:10 +08:00 |
|
krau
|
66454b082a
|
fix: improve logger initialization and reduce cache TTL
|
2025-05-08 21:03:48 +08:00 |
|
krau
|
725acd0199
|
feat: refactor caching logic to use gocache for better compatibility
|
2025-04-12 15:07:43 +08:00 |
|
krau
|
8d44b43c82
|
fix: remove caching logic for Telegram messages in GetTGMessage function, close #40
|
2025-03-22 15:41:20 +08:00 |
|
krau
|
3e3a320672
|
feat: download telegraph images , close #5
|
2025-03-22 11:52:43 +08:00 |
|
krau
|
19efab0665
|
feat: implement GenFileNameFromMessage function for improved file naming
|
2025-03-22 09:33:50 +08:00 |
|
krau
|
ed0837a89b
|
refactor: replace logger usage with common.Log for consistent logging
|
2025-03-21 21:07:53 +08:00 |
|
krau
|
692e970772
|
feat!: (WIP) switched back to using config files config storages because the conversation handling is shit
|
2025-02-19 11:05:30 +08:00 |
|
krau
|
45974917f2
|
feat: support media photo download
|
2025-01-20 11:03:01 +08:00 |
|
krau
|
454d69c9d4
|
refactor: update logging levels and remove unused code
|
2024-11-09 11:00:49 +08:00 |
|
krau
|
20e06fbf46
|
refactor: complete core features
|
2024-11-09 09:07:00 +08:00 |
|
krau
|
fbdfc04ad8
|
refactor: migrate to gotd (wip)
|
2024-11-08 23:00:57 +08:00 |
|
krau
|
0bd9b77856
|
fix: mk cache dir
|
2024-10-12 13:27:39 +08:00 |
|
krau
|
5d6b1003e9
|
refactor: use MTP API
|
2024-10-12 12:47:33 +08:00 |
|
krau
|
03c833acbf
|
refactor: optimize timeout setting in initClient function
|
2024-10-11 16:38:43 +08:00 |
|
krau
|
1cbcebc148
|
feat: init commit
|
2024-10-10 23:31:01 +08:00 |
|