Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ https://github.com/user-attachments/assets/6182efdb-9862-47ee-9fa7-011a64ee87eb

| Layer | Technology |
|---|---|
| BitTorrent engine | [libtorrent-rasterbar](https://libtorrent.org) RC_2_0 (C++17, BSD-3-Clause) |
| BitTorrent engine | [libtorrent-rasterbar](https://libtorrent.org) RC_2_1 (C++17, BSD-3-Clause) |
| Native bridge | Android NDK r29, JNI (`torrent_jni.cpp`) |
| Build system | CMake 3.22, Gradle AGP 9.0.1 |
| Language | Kotlin 2.3.20 |
Expand Down Expand Up @@ -109,7 +109,7 @@ SimpleTorrent/
│ └── res/
│ ├── drawable/ # Adaptive icon (vector magnet)
│ └── xml/file_provider_paths.xml
├── libs/libtorrent/ # Git submodule (RC_2_0 branch)
├── libs/libtorrent/ # Git submodule (RC_2_1 branch)
├── .github/workflows/android.yml # CI pipeline
├── LICENSE # MIT (app) + BSD-3-Clause (libtorrent)
└── README.md
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ endif()

set(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE)
set(encryption OFF CACHE BOOL "" FORCE)
# WebTorrent (libtorrent 2.1+) needs libdatachannel + a TLS stack; staged for later
set(webtorrent OFF CACHE BOOL "" FORCE)
set(dht ON CACHE BOOL "" FORCE)
set(build_tests OFF CACHE BOOL "" FORCE)
set(build_examples OFF CACHE BOOL "" FORCE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ val SAMPLE_TORRENTS = listOf(
"Blender film, CC BY 3.0",
"magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=udp%3A%2F%2Fexplodie.org%3A6969&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.empire-js.us%3A1337&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=wss%3A%2F%2Ftracker.btorrent.xyz&tr=wss%3A%2F%2Ftracker.fastcast.nz&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent",
),
SampleTorrent(
"Sintel as WebTorrent",
"Same film with wss:// trackers — WebTorrent demo, browser-peer support coming",
"magnet:?xt=urn:btih:08ada5a7a6183aae1e09d831df6748d566095a10&dn=Sintel&tr=wss%3A%2F%2Ftracker.webtorrent.dev&tr=wss%3A%2F%2Ftracker.openwebtorrent.com&tr=wss%3A%2F%2Ftracker.btorrent.xyz&ws=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2F&xs=https%3A%2F%2Fwebtorrent.io%2Ftorrents%2Fsintel.torrent",
),
SampleTorrent(
"Tears of Steel",
"Blender film, CC BY 3.0, includes subtitles",
Expand Down
2 changes: 1 addition & 1 deletion libs/libtorrent
Submodule libtorrent updated 944 files
Loading