Giter Site home page Giter Site logo

w-ke / pinchflat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kieraneglin/pinchflat

0.0 0.0 0.0 6.84 MB

Your next YouTube media manager

License: GNU Affero General Public License v3.0

Shell 0.23% JavaScript 2.47% Elixir 87.45% CSS 0.60% HTML 8.28% Dockerfile 0.98%

pinchflat's Introduction

Pinchflat Logo by @hernandito

logo by @hernandito

Your next YouTube media manager

Table of contents:

What it does

Pinchflat is a self-hosted app for downloading YouTube content built using yt-dlp. It's designed to be lightweight, self-contained, and easy to use. You set up rules for how to download content from YouTube channels or playlists and it'll do the rest, checking periodically for new content. It's perfect for people who want to download content for use in with a media center app (Plex, Jellyfin, Kodi) or for those who want to archive media!

It's not great for downloading one-off videos - it's built to download large amounts of content and keep it up to date. It's also not meant for consuming content in-app - Pinchflat downloads content to disk where you can then watch it with a media center app or VLC.

If it doesn't work for your use case, please make a feature request! You can also check out these great alternatives: Tube Archivist, ytdl-sub, and TubeSync

Features

  • Self-contained - just one Docker container with no external dependencies
  • Powerful naming system so content is stored where and how you want it
  • Easy-to-use web interface with presets to get you started right away
  • First-class support for media center apps like Plex, Jellyfin, and Kodi
  • Supports serving RSS feeds to your favourite podcast app (beta - docs)
  • Automatically downloads new content from channels and playlists
    • Uses a novel approach to download new content more quickly than other apps
  • Supports downloading audio content
  • Custom rules for handling YouTube Shorts and livestreams
  • Advanced options like setting cutoff dates and filtering by title
  • Reliable hands-off operation
  • Can pass cookies to YouTube to download your private playlists (docs)

Screenshots

Pinchflat screenshot

Pinchflat screenshot

Installation

Unraid

Simply search for Pinchflat in the Community Apps store!

Portainer

Docker Compose file:

version: '3'
services:
  pinchflat:
    image: keglin/pinchflat:latest
    ports:
      - '8945:8945'
    volumes:
      - /host/path/to/config:/config
      - /host/path/to/downloads:/downloads

Docker

  1. Create two directories on your host machine: one for storing config and one for storing downloaded media. Make sure they're both writable by the user running the Docker container.
  2. Prepare the docker image in one of the two ways below:
    • From GHCR: docker pull ghcr.io/kieraneglin/pinchflat:latest
      • NOTE: also available on Docker Hub at keglin/pinchflat:latest
    • Building locally: docker build . --file selfhosted.Dockerfile -t ghcr.io/kieraneglin/pinchflat:latest
  3. Run the container:
# Be sure to replace /host/path/to/config and /host/path/to/downloads below with
# the paths to the directories you created in step 1
docker run \
  -p 8945:8945 \
  -v /host/path/to/config:/config \
  -v /host/path/to/downloads:/downloads \
  ghcr.io/kieraneglin/pinchflat:latest

IMPORTANT: File permissions

You must ensure the host directories you've mounted are writable by the user running the Docker container. If you get a permission error follow the steps it suggests. See #106 for more.

It's recommended to not run the container as root. Doing so can create permission issues if other apps need to work with the downloaded media. If you need to run any command as root, you can run su from the container's shell as there is no password set for the root user.

EFF donations

A portion of all donations to Pinchflat will be donated to the Electronic Frontier Foundation. The EFF defends your online liberties and backed youtube-dl when Google took them down. See here for a list of donation receipts.

Pre-release disclaimer

This is pre-release software and anything can break at any time. I make not guarantees about the stability of this software, forward-compatibility of updates, or integrity (both related to and independent of Pinchflat). Essentially, use at your own risk and expect there will be rough edges for now.

License

See LICENSE file

pinchflat's People

Contributors

kieraneglin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.