An experimental PeerTube client in C++ and libtorrent.
- 37e7e1c7d4 save changes | hai 1 ano | |
---|---|---|
deps | %!s(int64=2) %!d(string=hai) anos | |
include | %!s(int64=2) %!d(string=hai) anos | |
src | hai 1 ano | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
.gitmodules | %!s(int64=2) %!d(string=hai) anos | |
Makefile | %!s(int64=2) %!d(string=hai) anos | |
README.md | %!s(int64=2) %!d(string=hai) anos | |
peertube.yaml | %!s(int64=2) %!d(string=hai) anos |
A peertube client in C++.
Why?
I wanted to be punny.
Does it work?
Yes, technically. As an early version, the best it can do is download and seed videos.
g++ make curlpp rapidjson ncurses
A build of libtorrent with WebTorrent support is required. (libtorrent is a submodule of this project.)
gnutls-devel openssl-devel ninja boost
Build libtorrent.
git submodule init --recursive
cd ./deps/libtorrent
mkdir build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -Dwebtorrent=ON -G Ninja ..
ninja
Build cppia.
make
cppia [video url]
cppia seed [list of torrent files in plain text]
The cppia seed
will still download files or missing pieces.