vk_badapple_cpp

Badapple bot for VKontakte

Dependencies

  • OpenCV For prepare_video.sh:
  • yt-dlp // youtube-dl

Building

git submodule init
git submodule update
cmake .
cmake --build ./ -j$(nproc)
# Now binary is in ./build

Prepairing to start

# Get badapple video => ./build/badapple.webm
# yt-dlp // youtube-dl require
./prepare-video.sh

# Get a config sample file
cp ./modules/cpp_vk_lib/json_schema/sample_config.json ./build/config.json
# Enter token in config (group token tested only) and path to logs.txt

Finally

cd build
./vk_baddapple_cpp <config.json>

Known issues

  • VK limits the number of message edits Workaround: After an error occurs, send frames with a new message

Based on cpp_vk_lib