1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
Maksym Pavlenko a2ec2885c6 Add LICENSE #45
2019-11-17 17:30:03 -08:00
2019-11-15 23:16:59 -08:00
2019-11-15 23:16:59 -08:00
2019-07-25 18:02:25 -07:00
2019-11-15 23:16:59 -08:00
2019-06-02 18:02:28 -07:00
2019-11-13 19:12:33 -08:00
2019-10-26 23:01:09 -07:00
2019-11-13 20:43:47 -08:00
2019-07-25 17:30:15 -07:00
2019-11-15 11:45:33 -08:00
2019-10-29 15:07:59 -07:00
2019-10-29 15:07:59 -07:00
2019-11-17 17:30:03 -08:00
2019-11-15 11:35:34 -08:00
2019-11-16 00:36:38 -08:00

Podsync

Podsync

GitHub release (latest SemVer) Go Report Card Patreon Twitter Follow

Podsync - is a simple, free service that lets you listen to any YouTube / Vimeo channels, playlists or user videos in podcast format.

Podcast applications have a rich functionality for content delivery - automatic download of new episodes, remembering last played position, sync between devices and offline listening. This functionality is not available on YouTube and Vimeo. So the aim of Podsync is to make your life easier and enable you to view/listen to content on any device in podcast client.

Dependencies

If you're running the CLI as binary (e.g. not via Docker), you need to make sure that dependencies are available on your system. Currently Podsync depends on youtube-dl and ffmpeg.

On Mac you can install those with brew:

brew install youtube-dl ffmpeg

Access tokens

In order to query YouTube or Vimeo API you have to obtain an API token first.

Configuration example

[server]
port = 8080
data_dir = "/path/to/data/directory"
hostname = "hostname"

[tokens]
youtube = "{YOUTUBE_API_TOKEN}"
vimeo = "{VIMEO_API_TOKEN}"

[feeds]
  [feeds.ID1]
  url = "{FEED_URL}" # URL address of a channel, group, user, or playlist. 
  page_size = 50 # The number of episodes to query each update (keep in mind, that this might drain API token)
  update_period = "12h" # How often query for updates, examples: "60m", "4h", "2h45m"
  quality = "high" # or "low"
  format = "video" # or "audio"

Episodes files will be kept at: /path/to/data/directory/ID1

Feed will be accessible from: http://hostname:8080/ID1.xml

How to run

Run as binary:

$ ./podsync --config config.toml

Run via Docker:

$ docker pull mxpv/podsync:latest
$ docker run \
    -p 8080:8080 \
    -v $(pwd)/data:/app/data/ \
    -v $(pwd)/config.toml:/app/config.toml \
    mxpv/podsync:latest

Run via Docker Compose:

$ docker-compose up

How to make a release

  • Add and push version tag
    $ git tag -a v0.1.0 -m "First release"
    $ git push origin --tags
    
  • Run GoReleaser at the root of your repository:
    $ goreleaser --rm-dist
    
Description
No description provided
Readme 9.8 MiB
Languages
Go 99%
Makefile 0.6%
Dockerfile 0.4%