Open
Description
What happened?
I installed the web interface and the results of any patterns involving Youtube videos provide the same results independently from the link provided. If I run the command via CLI the result is the one expected. Everything is running into a Docker container.
Docker instructions and docker file:
-
- I modified the Docker file adding yt-dlp
-
Instructions copy the https://github.com/coolmast/docker-fabric-web and change the Docker file inside the fabric folder
-
open CLI in the fabric folder and run
docker build -t coolmast/fabric .
docker-compose up -d
-----Docker file------
ROM golang:latest
# Install system dependencies and yt-dlp in one layer
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y --no-install-recommends ffmpeg python3 python3-pip npm git curl && \
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && \
chmod a+rx /usr/local/bin/yt-dlp && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# Install Go tool
RUN go install github.com/danielmiessler/fabric@latest
# Clone the repo
RUN git clone https://github.com/danielmiessler/fabric.git /web
# Set working directory for npm
WORKDIR /web/web
# Install npm dependencies
RUN npm install
# Copy start script and set permissions
COPY start.sh /start.sh
RUN chmod +x /start.sh
# Fix vite dev command
RUN sed -i -se 's/vite dev/vite dev --host/g' /web/web/package.json
CMD ["/start.sh"]
Version check
- Yes I was.
Relevant log output
Relevant screenshots (optional)
Example: https://www.youtube.com/watch?v=RfhXV166WHc
fabric -y "https://www.youtube.com/watch?v=RfhXV166WHc" --stream --pattern extract_wisdom


