An experimental PeerTube client in C++ and libtorrent.

scuti 6192fc493a first early version (#1) 2 роки тому
deps 6192fc493a first early version (#1) 2 роки тому
include 6192fc493a first early version (#1) 2 роки тому
.gitignore 5601dad753 Initial 2 роки тому
.gitmodules 6192fc493a first early version (#1) 2 роки тому
Makefile 6192fc493a first early version (#1) 2 роки тому
README.md 6192fc493a first early version (#1) 2 роки тому
main.cpp 6192fc493a first early version (#1) 2 роки тому
peertube.yaml 6192fc493a first early version (#1) 2 роки тому

README.md

cppia

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.

Dependencies

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

Building

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

Tested With

  • boost-1.72.0_8
  • boost-1.79.0.beta1

Usage

cppia [video url]
cppia seed [list of torrent files in plain text]

The cppia seed will still download files or missing pieces.