krau
8dd6265d55
chore: modenrize it
2025-12-27 16:01:41 +08:00
krau
0af049a507
feat: migrate S3 client implementation to a new package structure
2025-12-18 16:42:58 +08:00
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
51198a1e3d
fix: remove redundant cancellation in Done method
2025-12-15 11:15:17 +08:00
krau
651835c467
feat: refactor queue to remove unused methods and add comments
2025-12-15 10:49:40 +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
91814a83c7
fix: deprecate minio and introduce s3 storage backend
2025-12-04 22:59:23 +08:00
krau
685047e463
fix: compatibility between tdlib and bot api style chatID
2025-12-04 22:43:22 +08:00
krau
acd16a91a3
chore: re gen enum code using new version go-enum
2025-11-28 10:27:40 +08:00
krau
3f40acff55
feat: add directory management functionality and update handlers to utilize default directory
2025-11-16 21:09:55 +08:00
krau
f80ecae3cc
feat: add Playwright support for browser automation in plugins
...
- Updated .dockerignore and .gitignore to exclude Playwright-related files.
- Added Playwright-Go dependency in go.mod and updated go.sum.
- Implemented jsPlaywright function in js_api.go for browser-based requests.
- Enhanced README.md to document the new Playwright functionality for plugins.
2025-11-07 11:07:47 +08:00
krau
f947ee6fc7
fix: implement filename strategy in userbot listen mode
2025-09-28 16:49:32 +08:00
Krau
eef051de3b
feat: custom filename template ( #110 )
2025-09-13 10:25:45 +08:00
krau
46c21b77e9
feat: enhance Save method to validate chat ID and adjust ForceFile logic for image uploads
2025-08-24 12:02:27 +08:00
krau
68e5a51300
feat: file name staregy
2025-08-23 17:16:51 +08:00
krau
7300e54c40
refactor: rule package
2025-08-23 16:14:12 +08:00
krau
94f796d0e8
refactor: move version to config package
2025-08-23 16:10:02 +08:00
krau
e5d1e143e0
feat: configurable parser and refactor config
2025-08-23 14:29:32 +08:00
krau
03eb4f8a18
feat: update parser interface to include context in Parse method
2025-08-23 14:01:00 +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
b9d14f79c8
refactor: simplify dler client interface
2025-08-02 10:01:59 +08:00
krau
6423fb25a7
fix: update max upload part size to use uploader's maximum value and adjust document upload options
2025-07-28 14:58:01 +08:00
krau
d703f11ea0
feat: implement album handling rules and refactor related logic
2025-07-04 16:01:29 +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
4df2c5a06d
refactor: replace key package with ctxkey for context keys
2025-06-17 22:19:06 +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