gropple/README.md

91 lines
3.3 KiB
Markdown
Raw Normal View History

2021-09-21 08:31:51 +09:30
# gropple
2021-09-21 08:32:50 +09:30
2021-10-01 10:13:29 +09:30
A frontend to youtube-dl (and forks) to download videos with a single click, straight from your web browser.
2021-09-22 11:45:48 +09:30
2021-09-22 23:15:02 +09:30
![Screencast](/screencast.gif)
2021-09-22 23:01:19 +09:30
2021-09-21 08:32:50 +09:30
## Pre-requisites
2021-10-01 10:13:29 +09:30
* some familiarity with the command line
2021-09-21 18:10:52 +09:30
* youtube-dl (plus any of its required dependencies, like ffmpeg)
2021-10-01 10:13:29 +09:30
* golang compiler (only if you'd like to build from source)
2021-09-21 08:32:50 +09:30
## Build
2021-09-21 18:10:52 +09:30
go build
2021-09-21 08:32:50 +09:30
2021-09-21 19:57:36 +09:30
## Binaries
2021-09-22 11:45:48 +09:30
Binaries are available at https://github.com/tardisx/gropple/releases
2021-09-21 19:57:36 +09:30
2021-10-01 10:13:29 +09:30
Gropple will automatically check for available updates and prompt you to upgrade.
2021-09-21 08:32:50 +09:30
## Running
2021-10-01 10:13:29 +09:30
./gropple
2021-09-21 18:10:52 +09:30
2021-10-01 10:13:29 +09:30
There are no command line arguments. All configuration is done via the web
interface. The address will be printed after startup:
2021-09-21 18:10:52 +09:30
2021-10-01 10:13:29 +09:30
2021/09/30 23:53:00 starting gropple v0.5.0 - https://github.com/tardisx/gropple
2021/09/30 23:53:00 go to http://localhost:6123 for details on installing the bookmarklet and to check status
2021-09-21 18:10:52 +09:30
## Using
2021-10-01 10:13:29 +09:30
Bring up `http://localhost:6283` (or your configured address) in your browser. You
should see a link to the bookmarklet at the top of the screen, and the list of
downloads (currently empty).
2021-09-21 19:57:36 +09:30
Drag the bookmarklet to your favourites bar, or otherwise bookmark it as you
2021-10-01 10:13:29 +09:30
see fit. Any kind of browser bookmark should work. The bookmarklet contains
embedded javascript to pass the URL of whatever page you are currently on back
to gropple.
2021-09-21 19:57:36 +09:30
2021-10-01 10:13:29 +09:30
So, whenever you are on a page with a video you would like to download just
click the bookmarklet.
2021-09-21 19:57:36 +09:30
2021-10-01 10:13:29 +09:30
A popup window will appear. Choose a download profile and the download will start.
The status will be shown in the window, updating in real time.
2021-09-21 19:57:36 +09:30
You may close this window at any time without stopping the download, the status
of all downloads is available on the index page.
2021-10-01 10:13:29 +09:30
## Configuration
2021-10-01 10:13:29 +09:30
Click the "config" link on the index page to configure gropple. The default options
are fine if you are running on your local machine. If you are running it remotely
you will need to set the "server address" to ensure the bookmarklet has the correct
URL in it.
2021-10-01 10:13:29 +09:30
### Configuring Downloaders
2021-10-01 10:13:29 +09:30
Gropple's default configuration uses the original youtube-dl and has two profiles set
up, one for downloading video, the other for downloading audio (mp3).
2021-10-01 10:13:29 +09:30
Note that gropple does not include any downloaders, you have to install them separately.
2021-10-01 10:13:29 +09:30
If you would like to use a youtube-dl fork (like [yt-dlp](https://github.com/yt-dlp/yt-dlp))
or change the options, you can do so on the right hand side. Create as many profiles as you
wish, whenever you start a download you can choose the appropriate profile.
2021-10-01 10:13:29 +09:30
Note that the command arguments must each be specified separately - see the default configuration
for an example.
2021-10-01 10:13:29 +09:30
While gropple will use your `PATH` to find the executable, you can also specify a full path
instead. Note that any tools that the downloader calls itself (for instance, ffmpeg) will
probably need to be available on your path.
2021-10-01 10:13:29 +09:30
## Problems
2021-10-01 10:13:29 +09:30
Most download problems are probably diagnosable via the log - check in the popup window and scroll
the log down to the bottom. The most common problem is that youtube-dl cannot be found, or its
dependency (like ffmpeg) cannot be found on your path.
2021-10-01 10:13:29 +09:30
For other problems, please file an issue on github.
2021-09-21 19:57:36 +09:30
## TODO
2021-09-22 12:03:59 +09:30
Many things. Please raise an issue after checking the [currently open issues](https://github.com/tardisx/gropple/issues).
2021-09-21 19:57:36 +09:30
2021-09-21 18:10:52 +09:30