From 6762df279ef04deb03abc6977ec976e5197a71d0 Mon Sep 17 00:00:00 2001 From: mevon Date: Fri, 25 Mar 2022 09:27:56 -0400 Subject: [PATCH] Upload files to '' --- README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c20a808..91f3159 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,55 @@ -# Yamabiko +# Yamabiko - A yt-dlp comment viewer -Yamabiko - A yt-dlp comment viewer. JSON files that have the comments in it can be turned into a viewable HTML page. \ No newline at end of file +### General info + +Yamabiko turns the comments from the JSON file, downloaded with yt-dlp into a viewable, human-readable HTML page. The downloaded video file can also be shown on the page. + +### Requirements + +* [Python 3](https://www.python.org/downloads/) + +* [yt-dlp](https://github.com/yt-dlp/yt-dlp) + +### How to use + +Download the Youtube video with the comments file (JSON) + +``` +yt-dlp --write-comments https://youtubeVideo.url +``` + +After that run Yamabiko with Python and declare the JSON file + +(for ease of use drag and drop the JSON file into the terminal when you have to enter the name (◠‿◠✿)) + +``` +python3 -i filename.json +``` + +or if you also want to have the video on the page enter + +``` +python3 -i filename.json -v filename.json +``` + +After you should have a HTML file called **'index.html'** + +Open it and HEYYYヽ(o^▽^o)ノ it's working (hopefully). + +![](doc/page.png) + +**NOTICE: When drag and dropping the JSON and video file the whole path gets entered, meaning you can move the index.html around.** + +### TODO / Fixing + +* It's sorted after date posted / Add sorting after likes, etc. +* Reply of comments are just shown under each other +* Other stuff which I do not care about ❤(っ^▿^) + +### Commits + +Help is very much appreciated since I don't really want to work on this too much. + +Just create an Issue, fork it send a PR and I'll check it or even change everything completely! + +I don't really care that much ┐(︶▽︶)┌ \ No newline at end of file