An experimental PeerTube client in C++ and libtorrent.
scuti 6192fc493a first early version (#1) | %!s(int64=2) %!d(string=hai) anos | |
---|---|---|
deps | %!s(int64=2) %!d(string=hai) anos | |
include | %!s(int64=2) %!d(string=hai) anos | |
.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 | |
main.cpp | %!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
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.