krau
0ca3d97711
feat: add task command to client and Title method to Task for tasks queue managing, #157
2025-12-15 11:29:55 +08:00
krau
c21ff7e499
feat: add direct links download functionality
...
- Implemented a new task type for handling direct links downloads.
- Added command handler for downloading multiple links via /dl command.
- Introduced progress tracking for direct link downloads.
- Enhanced filename parsing to support various encoding scenarios.
- Updated enums to include direct links as a task type.
- Refactored existing task structures to accommodate new functionality.
- Improved error handling and logging throughout the download process.
2025-12-08 17:10:41 +08:00
krau
450d32b2b7
feat: add parser manage command
2025-11-07 12:01:54 +08:00
krau
0e2a9cacf2
feat: add lswatch cmd to list all user's watching chats
2025-10-12 21:54:43 +08:00
krau
4d837e946c
feat: add .chatid variable in file name template
2025-09-30 21:34:35 +08:00
krau
f947ee6fc7
fix: implement filename strategy in userbot listen mode
2025-09-28 16:49:32 +08:00
krau
697e419643
feat: refactor command registration to use a centralized handler list
2025-09-13 10:37:43 +08:00
Krau
eef051de3b
feat: custom filename template ( #110 )
2025-09-13 10:25:45 +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
492900bbef
feat: add update command and callback for version checking and upgrading
2025-08-24 14:16:26 +08:00
krau
ae0aa7db3f
fix: skip overwrite dirpath and storage when rule miss match
2025-08-24 11:28:37 +08:00
krau
68e5a51300
feat: file name staregy
2025-08-23 17:16:51 +08:00
krau
e5d1e143e0
feat: configurable parser and refactor config
2025-08-23 14:29:32 +08:00
Krau
302db2fe75
feat: parse url with js plugins support ( #96 )
...
* feat: WIP. add parser functionality and text message handling
* fix: use json to marshal js result
* feat: add metadata handling and version validation for jsParser
* refactor: rename parser package to parsers and restructure parser handling
* refactor: core code struct and impl parse task handle
* feat: impl parsed download
* fix: seek cache file when processing tph picture
* feat: implement parsed task handling and progress tracking
* feat: enhance task processing with concurrency control and progress tracking
* feat: add resource ID generation and improve resource processing handling
* feat: improve message formatting in parsed text and progress completion
* feat: add example js plugin
* feat: implement Twitter parser
* fix: twitter parse video json decode error
* feat: impl stream mode for parse task
2025-08-21 23:48:17 +08:00
krau
b2bfc96a8f
fix: get user client panic
2025-08-03 22:25:56 +08:00
krau
0c5bb2ba77
docs(zh): update watch feat
2025-08-03 17:35:47 +08:00
krau
0c16650ea5
fix: watch chat check
2025-08-03 17:04:26 +08:00
krau
133453b5d4
feat: implement watch for monitoring chat messages
...
- Added a new command handler for /watch that allows users to listen to messages from a specified chat and save them according to storage rules.
- Introduced filtering options for messages using regular expressions.
- Implemented functionality to start and stop watching chats, including error handling for invalid inputs and user settings.
- Created a new utility package for message element handling related to the watch feature.
- Updated the user model to manage watched chats, including methods to add, remove, and check if a chat is being watched.
2025-08-03 16:55:56 +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