alist
alist copied to clipboard
feat(Teldrive): Add driver Teldrive
https://github.com/tgdrive/teldrive
implement:
- copy
- move
- link (302 share and local proxy)
- chunk upload
- rename
Not yet implement:
- login (scan qrcode or auth by password)
- refresh token
Walkthrough
This pull request introduces a new driver for Teldrive, integrating functionalities such as copy, move, link (302 share and local proxy), chunk upload, and rename. However, login and refresh token functionalities are not yet implemented.
Changes
| File | Summary |
|---|---|
| drivers/all.go | Added Teldrive driver to the list of available drivers. |
| drivers/teldrive/driver.go | Implemented core functionalities for Teldrive driver including initialization, file operations (copy, move, rename, etc.), and upload handling. |
| drivers/teldrive/meta.go | Defined configuration and additional settings for Teldrive driver. |
| drivers/teldrive/types.go | Defined data structures and types used by Teldrive driver. |
| drivers/teldrive/util.go | Implemented utility functions for handling requests and file operations in Teldrive driver. |