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 |
|