diff --git a/apps/transmission/4.0.3/.env.sample b/apps/transmission/4.0.3/.env.sample new file mode 100644 index 00000000..a603f9f8 --- /dev/null +++ b/apps/transmission/4.0.3/.env.sample @@ -0,0 +1,8 @@ +CONTAINER_NAME="transmission" +DOWNLOAD_PATH="./data/downloads" +PANEL_APP_PORT_HTTP="40154" +PEER_PORT_VALUE="40152" +WATCH_PATH="./data/Watch" +WEBUI_USER="" +WEBUI_PWD="" + diff --git a/apps/transmission/4.0.3/data.yml b/apps/transmission/4.0.3/data.yml new file mode 100644 index 00000000..01ae4d36 --- /dev/null +++ b/apps/transmission/4.0.3/data.yml @@ -0,0 +1,48 @@ +additionalProperties: + formFields: + - default: 40154 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: WebUI Port + labelZh: 网页端口 + required: true + rule: paramPort + type: number + - default: 40152 + edit: true + envKey: PEER_PORT_VALUE + labelEn: Peer Port + labelZh: BT端口 + required: true + rule: paramPort + type: number + - default: ./data/Watch + edit: true + envKey: WATCH_PATH + labelEn: Watch folder for torrent files + labelZh: 监视种子文件的文件夹 + required: true + type: text + - default: ./data/downloads + edit: true + envKey: DOWNLOAD_PATH + labelEn: Download folder path + labelZh: 下载文件夹路径 + required: true + type: text + - default: "" + edit: true + envKey: WEBUI_USER + labelEn: Webui user + labelZh: 网页用户 + required: false + type: text + - default: "" + edit: true + envKey: WEBUI_PWD + labelEn: Webui password + labelZh: 网页密码 + random: false + required: false + rule: paramComplexity + type: password diff --git a/apps/transmission/4.0.3/docker-compose.yml b/apps/transmission/4.0.3/docker-compose.yml new file mode 100644 index 00000000..b6daa703 --- /dev/null +++ b/apps/transmission/4.0.3/docker-compose.yml @@ -0,0 +1,32 @@ +version: '3' +services: + transmission: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:9091" + - "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}" + - "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}/udp" + volumes: + - "./data/config:/config" + - "${DOWNLOAD_PATH}:/downloads" + - "${WATCH_PATH}:/watch" + environment: + - PUID=1000 + - PGID=1000 + - TZ=Asia/Shanghai + - TRANSMISSION_WEB_HOME= #optional + - USER=${WEBUI_USER} + - PASS=${WEBUI_PWD} + - WHITELIST= #optional + - PEERPORT=${PEER_PORT_VALUE} + - HOST_WHITELIST= #optional + image: linuxserver/transmission:4.0.3 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/transmission/README.md b/apps/transmission/README.md new file mode 100644 index 00000000..473eceff --- /dev/null +++ b/apps/transmission/README.md @@ -0,0 +1,101 @@ +## About + +Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors: + * A native macOS GUI application + * GTK+ and Qt GUI applications for Linux, BSD, etc. + * A Qt-based Windows-compatible GUI application + * A headless daemon for servers and routers + * A web UI for remote controlling any of the above + +Visit https://transmissionbt.com/ for more information. + +## Documentation + +[Transmission's documentation](https://github.com/transmission/transmission/blob/main/docs/README.md) is currently out-of-date, but the team has recently begun a new project to update it and is looking for volunteers. If you're interested, please feel free to submit pull requests! + +## Command line interface notes + +Transmission is fully supported in transmission-remote, the preferred cli client. + +Three standalone tools to examine, create, and edit .torrent files exist: transmission-show, transmission-create, and transmission-edit, respectively. + +Prior to development of transmission-remote, the standalone client transmission-cli was created. Limited to a single torrent at a time, transmission-cli is deprecated and exists primarily to support older hardware dependent upon it. In almost all instances, transmission-remote should be used instead. + +Different distributions may choose to package any or all of these tools in one or more separate packages. + +## Building + +Transmission has an Xcode project file (Transmission.xcodeproj) for building in Xcode. + +For a more detailed description, and dependencies, visit [How to Build Transmission](https://github.com/transmission/transmission/blob/main/docs/Building-Transmission.md) in docs + +### Building a Transmission release from the command line + + $ tar xf transmission-3.00.tar.xz + $ cd transmission-3.00 + $ mkdir build + $ cd build + # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred) + # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. + $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + $ make + $ sudo make install + +### Building Transmission from the nightly builds + +Download a tarball from https://build.transmissionbt.com/job/trunk-linux/ and follow the steps from the previous section. + +If you're new to building programs from source code, this is typically easier than building from Git. + +### Building Transmission from Git (first time) + + $ git clone https://github.com/transmission/transmission Transmission + $ cd Transmission + $ git submodule update --init --recursive + $ mkdir build + $ cd build + # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred) + # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. + $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + $ make + $ sudo make install + +### Building Transmission from Git (updating) + + $ cd Transmission/build + $ make clean + $ git submodule foreach --recursive git clean -xfd + $ git pull --rebase --prune + $ git submodule update --init --recursive + # Use -DCMAKE_BUILD_TYPE=RelWithDebInfo to build optimzed binary with debug information. (preferred) + # Use -DCMAKE_BUILD_TYPE=Release to build full optimized binary. + $ cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. + $ make + $ sudo make install + +## Contributing + +### Code Style + +You would want to setup your editor to make use of the .clang-format file located in the root of this repository and the eslint/prettier rules in web/package.json. + +If for some reason you are unwilling or unable to do so, there is a shell script which you can use: `./code_style.sh` + +### Translations + +See [language translations](https://github.com/transmission/transmission/blob/main/docs/Translating.md). + +## Sponsors + + + + + + + + + + + + +
[MacStadium]macOS CI builds are running on a M1 Mac Mini provided by MacStadium
[SignPath]Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation
diff --git a/apps/transmission/data.yml b/apps/transmission/data.yml new file mode 100644 index 00000000..8f50a7ae --- /dev/null +++ b/apps/transmission/data.yml @@ -0,0 +1,20 @@ +name: Transmission +tags: + - 工具 +title: 一个快速,简单,免费的BitTorrent客户端 +type: 工具 +description: 一个快速,简单,免费的BitTorrent客户端 +additionalProperties: + key: transmission + name: Transmission + tags: + - Tool + shortDescZh: 一个快速,简单,免费的BitTorrent客户端 + shortDescEn: A fast, easy, and free BitTorrent client + type: tool + crossVersionUpdate: true + limit: 0 + recommend: 0 + website: https://transmissionbt.com/ + github: https://github.com/transmission/transmission + document: https://github.com/transmission/transmission \ No newline at end of file diff --git a/apps/transmission/latest/.env.sample b/apps/transmission/latest/.env.sample new file mode 100644 index 00000000..a603f9f8 --- /dev/null +++ b/apps/transmission/latest/.env.sample @@ -0,0 +1,8 @@ +CONTAINER_NAME="transmission" +DOWNLOAD_PATH="./data/downloads" +PANEL_APP_PORT_HTTP="40154" +PEER_PORT_VALUE="40152" +WATCH_PATH="./data/Watch" +WEBUI_USER="" +WEBUI_PWD="" + diff --git a/apps/transmission/latest/data.yml b/apps/transmission/latest/data.yml new file mode 100644 index 00000000..01ae4d36 --- /dev/null +++ b/apps/transmission/latest/data.yml @@ -0,0 +1,48 @@ +additionalProperties: + formFields: + - default: 40154 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: WebUI Port + labelZh: 网页端口 + required: true + rule: paramPort + type: number + - default: 40152 + edit: true + envKey: PEER_PORT_VALUE + labelEn: Peer Port + labelZh: BT端口 + required: true + rule: paramPort + type: number + - default: ./data/Watch + edit: true + envKey: WATCH_PATH + labelEn: Watch folder for torrent files + labelZh: 监视种子文件的文件夹 + required: true + type: text + - default: ./data/downloads + edit: true + envKey: DOWNLOAD_PATH + labelEn: Download folder path + labelZh: 下载文件夹路径 + required: true + type: text + - default: "" + edit: true + envKey: WEBUI_USER + labelEn: Webui user + labelZh: 网页用户 + required: false + type: text + - default: "" + edit: true + envKey: WEBUI_PWD + labelEn: Webui password + labelZh: 网页密码 + random: false + required: false + rule: paramComplexity + type: password diff --git a/apps/transmission/latest/docker-compose.yml b/apps/transmission/latest/docker-compose.yml new file mode 100644 index 00000000..5c80faf3 --- /dev/null +++ b/apps/transmission/latest/docker-compose.yml @@ -0,0 +1,32 @@ +version: '3' +services: + transmission: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:9091" + - "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}" + - "${PEER_PORT_VALUE}:${PEER_PORT_VALUE}/udp" + volumes: + - "./data/config:/config" + - "${DOWNLOAD_PATH}:/downloads" + - "${WATCH_PATH}:/watch" + environment: + - PUID=1000 + - PGID=1000 + - TZ=Asia/Shanghai + - TRANSMISSION_WEB_HOME= #optional + - USER=${WEBUI_USER} + - PASS=${WEBUI_PWD} + - WHITELIST= #optional + - PEERPORT=${PEER_PORT_VALUE} + - HOST_WHITELIST= #optional + image: linuxserver/transmission:latest + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/transmission/logo.png b/apps/transmission/logo.png new file mode 100644 index 00000000..b9f52ba4 Binary files /dev/null and b/apps/transmission/logo.png differ