Code made sporadically, for geek music lovers,
Download (and compress) videos from a public playlist and then upload to Instagram.
New videos are published daily, with a curated selection of at least one old video per day.
__ ____ _ _
\ \ | __ ) ___ ___ ___| |__ (_)
\ \ | _ \ / _ \ / __/ __| '_ \| |
/ / | |_) | (_) | (_| (__| | | | |
/_/___|____/ \___/ \___\___|_| |_|_|
|_____|
$ make
Usage: make <target>
build Build application
run Run application
docker.build Build docker image
docker.run Run docker image
$ docker build -t raissageek/bocchi . && \
docker run -it --rm raissageek/bocchi bash
# Or
$ make build && make run
Running in background (in root)
$ ./systemd.sh # executable script ∴ set permission to execute
$ sqlite3 ./database/database.db < ./database/init.sql
Pass Args (in root)
$ ./bocchi -r # reload plt
$ ./bocchi -v <id_video> # post a single video, ex: RM4U148k5jA
$ ./bocchi -vr # random video of the playlist
$ mv .env.example .env # and put of data;
# It is necessary to configure the yt-dlp utility;
# You need to have ffmpeg on the machine;
# Paths must have write and read permission;
# If you are going to use systemd change the data to match your machine;
# ...
# and yes... Facebook has the feat of needing different tokens for publishing and media publishing
the climb to the server is like the Incas did...