Skip to content

Commit

Permalink
New Features Preview
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanliang committed Dec 16, 2020
1 parent 90869cd commit c20bac6
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 27 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
config.json
temp.torrent
.goreleaser.yml
dist
dist
.idea
29 changes: 18 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@

# DownloadBot

(Currently) 🤖 A Telegram Bot that controls your Aria2 server.
(Currently) 🤖 A Telegram Bot that can control your Aria2 server, control server files and also upload to OneDrive.

## Project significance
This project is mainly to use small hard disk server for offline downloading, for large bt files to be downloaded in sections according to the size of the hard disk, each time downloading a part, then uploading the network disk, delete and then download the other parts, until all the files are downloaded.
This project is mainly to use small hard disk server for offline downloading, for large BitTorrent files to be downloaded in sections according to the size of the hard disk, each time downloading a part, then uploading the network disk, delete and then download the other parts, until all the files are downloaded.

At the same time, communication via the bot protocol facilitates use on machines that cannot intranet penetration, and simplifies the usual use of download programs for added convenience.

## Functions realized

#### Download method
- [x] Aria2 control
- [ ] [SimpleTorrent](https://github.com/boypt/simple-torrent) control
- [ ] qbittorrent control
- [ ] Multi download server control at the same time
- [ ] WebSocket communication between multiple servers via a server with a public IP
- [ ] Allow users to create public WebSocket relays for users who are not comfortable establishing WebSocket communication
- [ ] Deploy a separate WebSocket relay in heroku for relaying
- [ ] [SimpleBitTorrent](https://github.com/boypt/simple-BitTorrent) control
- [ ] qbitBitTorrent control


#### The Bot protocol supports
- [x] Telegram Bot
Expand All @@ -30,13 +34,16 @@ At the same time, communication via the bot protocol facilitates use on machines
- [x] Download files
- [x] Download HTTP/FTP link
- [x] Download Magnet link
- [x] Download the files in the BT file
- [x] Custom Torrent/Magnet download
- [x] Download the files in the BitTorrent file
- [x] Custom BitTorrent/Magnet download
- [x] Select only the largest file to download
- [x] Intelligent file selection based on file size, do not select small files in Torrent/Magnet.
- [ ] Download Torrent/Magnet according to the size of storage space
- [x] Intelligent file selection based on file size, do not select small files in BitTorrent/Magnet.
- [ ] Download BitTorrent/Magnet according to the size of storage space
- [ ] Do not download files that exceed storage space
- [ ] Download the files in Torrent/Magnet several times according to the storage space
- [ ] Download the files in BitTorrent/Magnet several times according to the storage space
- [ ] Senseless seeding functions
- [ ] After each BitTorrent/Magnet file download, keep the last downloaded file for seeding until the next download starts.
- [ ] Can be set to force seeding for a period of time at the end of each download
- [x] Upload a file
- [x] Upload the file to OneDrive when the download is complete
- [ ] Upload the file to Google Drive when the download is complete
Expand All @@ -48,13 +55,13 @@ At the same time, communication via the bot protocol facilitates use on machines
- [x] English
- [x] Traditional Chinese
- [ ] Japanese
- [ ] No human intervention, fully automatic downloads of BT site
- [ ] No human intervention, fully automatic downloads of BitTorrent site
- [ ] Nyaa
- [ ] ThePirateBay
- [ ] Other functions
- [x] File tree output system
- [x] File tree output for simple folders
- [x] Use images instead of text output for complex folder structures
- [ ] Use images instead of text output for complex folder structures
- [ ] Get all CIDs used in DMM via actor ID
- [ ] Query the movie parameters in "ikoa" (using mahuateng).
- [ ] Get the numbers of all actors via the javlibary actors' website.
Expand Down
21 changes: 14 additions & 7 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@
#### 下载方式

- [x] Aria2 控制
- [ ] [SimpleTorrent](https://github.com/boypt/simple-torrent) 控制
- [ ] qbittorrent 控制
- [ ] 多下载服务器同时控制
- [ ] 多服务器之间通过有公网的服务器进行WebSocket通信
- [ ] 允许用户建立公共WebSocket中继端,供不方便建立WebSocket通信的用户进行通信
- [ ] 在heroku单独部署WebSocket中继端进行中继
- [ ] [SimpleBitTorrent](https://github.com/boypt/simple-BitTorrent) 控制
- [ ] qbitBitTorrent 控制


#### 机器人协议支持

Expand All @@ -31,13 +35,16 @@
- [x] 下载文件
- [x] 下载 HTTP/FTP 链接
- [x] 下载 Magnet 链接
- [x] 下载 BT 文件内的文件
- [x] 智能 Torrent/Magnet 下载方式
- [x] 下载 BitTorrent 文件内的文件
- [x] 智能 BitTorrent/Magnet 下载方式
- [x] 只选择下载最大的文件
- [x] 根据文件大小智能选择文件,不选择小文件
- [ ] 自适应环境存储空间的 Torrent/Magnet 下载
- [ ] 自适应环境存储空间的 BitTorrent/Magnet 下载
- [ ] 不下载超过存储空间的文件
- [ ] 根据存储空间分块多次下载 Torrent/Magnet 内的文件
- [ ] 根据存储空间分块多次下载 BitTorrent/Magnet 内的文件
- [ ] 无感觉化的做种功能
- [ ] 每次下载BitTorrent/Magnet文件后,保留最后一次下载的文件进行做种,直到下一次下载开始。
- [ ] 可设置每次下载结束后强制做种一段时间
- [x] 上传文件
- [x] 下载完成后,向 OneDrive 上传文件
- [ ] 下载完成后,向 Google Drive 上传文件
Expand All @@ -55,7 +62,7 @@
- [ ] 其他功能
- [x] 文件树输出系统
- [x] 对于简单文件夹的文件树输出
- [x] 对于复杂文件夹结构使用图片代替文字输出
- [ ] 对于复杂文件夹结构使用图片代替文字输出
- [ ] 通过演员ID获取在DMM中使用的所有CID
- [ ] 查询 "ikoa"中的影片参数(利用mahuateng)
- [ ] 通过javlibary演员网址获得所有演员的编号。
Expand Down
22 changes: 14 additions & 8 deletions README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,19 @@
#### 下載方式

- [x] Aria2 控制
- [ ] [SimpleTorrent](https://github.com/boypt/simple-torrent) 控制
- [ ] qbittorrent 控制
- [ ] 多下載伺服器同時控制
- [ ] 多伺服器之間通過有公網的伺服器進行WebSocket通信
- [ ] 允許用戶建立公共WebSocket中繼端,供不方便建立WebSocket通信的用戶進行通信
- [ ] 在heroku單獨部署WebSocket中繼端進行中繼
- [ ] [SimpleBitTorrent](https://github.com/boypt/simple-BitTorrent) 控制
- [ ] qbitBitTorrent 控制

#### 機器人協定支援

- [x] Telegram Bot
- [ ] 騰訊QQ(使用普通QQ用戶來進行交互)
- [ ] 釘釘機器人


#### 功能

- [x] 控制伺服器檔
Expand All @@ -31,13 +33,16 @@
- [x] 下載檔案
- [x] 下載 HTTP/FTP 連結
- [x] 下載 Magnet 連結
- [x] 下載 BT 文件內的文件
- [x] 智慧 Torrent/Magnet 下載方式
- [x] 下載 BitTorrent 文件內的文件
- [x] 智慧 BitTorrent/Magnet 下載方式
- [x] 只選擇下載最大的文件
- [x] 根據檔大小智慧選擇檔,不選擇小文件
- [ ] 自我調整環境存儲空間的 Torrent/Magnet 下載
- [ ] 自我調整環境存儲空間的 BitTorrent/Magnet 下載
- [ ] 不下載超過存儲空間的檔
- [ ] 根據存儲空間分塊多次下載 Torrent/Magnet 內的檔
- [ ] 根據存儲空間分塊多次下載 BitTorrent/Magnet 內的檔
- [ ] 無感覺化的做種功能
- [ ] 每次下載BitTorrent/Magnet檔後,保留最後一次下載的檔進行做種,直到下一次下載開始。
- [ ] 可設置每次下載結束後強制做種一段時間
- [x] 上傳文件
- [x] 下載完成後,向 OneDrive 上傳檔
- [ ] 下載完成後,向 Google Drive 上傳檔
Expand All @@ -55,7 +60,7 @@
- [ ] 其他功能
- [x] 檔樹輸出系統
- [x] 對於簡單資料夾的文件樹輸出
- [x] 對於複雜資料夾結構使用圖片代替文字輸出
- [ ] 對於複雜資料夾結構使用圖片代替文字輸出
- [ ] 通過演員ID獲取在DMM中使用的所有CID
- [ ] 查詢 "ikoa"中的影片參數(利用mahuateng)
- [ ] 通過javlibary演員網址獲得所有演員的編號。
Expand Down Expand Up @@ -120,3 +125,4 @@

如果您不知道您的 `user-id` ,可以將此項留空,在運行這個機器人後輸入`/myid`,此機器人就會返回您的`user-id`.


0 comments on commit c20bac6

Please sign in to comment.