Add shortcut, update docker
This commit is contained in:
parent
cc0d07bc90
commit
a6e50510d8
4 changed files with 28 additions and 0 deletions
|
|
@ -85,6 +85,8 @@ RUN go build -x -o media-roller ./src
|
|||
# youtube-dl needs python
|
||||
FROM python:3.8.1-alpine3.11
|
||||
|
||||
# This is where the downloaded files will be saved in the container.
|
||||
ENV MR_DOWNLOAD_DIR="/download"
|
||||
ENV PATH=/opt/ffmpeg/bin:$PATH
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
|
|
@ -108,6 +110,7 @@ COPY --from=builder /app/media-roller /app/media-roller
|
|||
COPY --from=builder /opt/ffmpeg /opt/ffmpeg
|
||||
COPY --from=builder /usr/lib/libfdk-aac.so.2 /usr/lib/libfdk-aac.so.2
|
||||
COPY templates /app/templates
|
||||
COPY static /app/static
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
|
|
|||
25
README.md
Normal file
25
README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Media Roller
|
||||
A mobile friendly tool for downloading videos from social media.
|
||||
The backend is is a Golang server that will take a URL (YouTube, Reddit, Twitter, etc),
|
||||
download the video file, and return a URL to download the video. The video will be transcoced as needed to produce a single mp4 file.
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
# Running
|
||||
Pull the repo then run
|
||||
```bash
|
||||
./run.sh
|
||||
```
|
||||
|
||||
With Docker: `ronnieroller/media-roller:latest`.
|
||||
See https://hub.docker.com/repository/docker/ronnieroller/media-roller
|
||||
The files will be saved to the /download directory which you can mount as needed.
|
||||
|
||||
|
||||
With Unraid: TODO: This works with Unraid, I'm working on a template and will publish it soon.
|
||||
|
||||
# Integrating with mobile
|
||||
I'm working on an iOS shortcut will download the video to the camera roll for a supplied URL.
|
||||
BIN
static/images/screenshot1.png
Normal file
BIN
static/images/screenshot1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 57 KiB |
BIN
static/images/screenshot2.png
Normal file
BIN
static/images/screenshot2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Loading…
Reference in a new issue