Skip to content

Commit 6fed6da

Browse files
authored
Create how_to_setup_podsync_on_synology_nas.md
This installation podsync on a Synology NAS with SSL and use a standard port 443
1 parent 5a8769f commit 6fed6da

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Podsync on Synology NAS Guide
2+
3+
*Written by [@lucasjanin](https://github.com/lucasjanin)*
4+
5+
This installation podsync on a Synology NAS with SSL and use a standard port 443
6+
It requiere to have a domaine with ddns and SSL Certificate
7+
I'm using a ddns from Synolgy with a SSL Certificate. By chance, my provider doesn't block ports 80 and 443.
8+
9+
10+
1. Open "Package Center" and install "Apache HTTP Server 2.4"
11+
2. In the "Web Station", select the default server, click edit and active "Enable personal website"
12+
3. Create a folder "podsync" in web share using "File Station", the path will be like "/volume1/web/podsync" (where the files will be saved)
13+
4. Create a folder "podsync" in another share using "File Station", the path will be like "/volume1/docker/podsync" (where the config will be saved)
14+
5. Create a `config.toml` file in Notepad or whatever editor you want to use and copy it into the above folder.
15+
Here you will configure your specific settings. Here's mine as an example:
16+
17+
```toml
18+
[server]
19+
port = 9090
20+
hostname = "https://xxxxxxxx.xxx"
21+
22+
[storage]
23+
[storage.local]
24+
data_dir = "/app/data"
25+
26+
[tokens]
27+
youtube = "xxxxxxx"
28+
29+
[feeds]
30+
[feeds.ID1]
31+
url = "https://www.youtube.com/channel/UCJldRgT_D7Am-ErRHQZ90uw"
32+
update_period = "1h"
33+
quality = "high" # "high" or "low"
34+
format = "audio" # "audio", "video" or "custom"
35+
filters = { title = "Yann Marguet" }
36+
opml = true
37+
clean = { keep_last = 20 }
38+
private_feed = true
39+
[feeds.ID1.custom]
40+
title = "Yann Marguet - Moi, ce que j'en dis..."
41+
description = "Yann Marguet sur France Inter"
42+
author = "Yann Marguet"
43+
cover_art = "https://www.radiofrance.fr/s3/cruiser-production/2023/01/834dd18e-a74c-4a65-afb0-519a5f7b11c1/1400x1400_moi-ce-que-j-en-dis-marguet.jpg"
44+
cover_art_quality = "high"
45+
category = "Comedy"
46+
subcategories = ["Stand-Up"]
47+
lang = "fr"
48+
ownerName = "xxxx xxxxx"
49+
ownerEmail = "[email protected]"
50+
```
51+
52+
Note that I'm not using port `8080` because I already have another app on my Synology using that port.
53+
Also, I'm using my own hostname so I can download the podcasts to my podcast app from outside my network,
54+
but you don't need to do this.
55+
56+
6. Now you need to SSH into Synology using an app like Putty (on Windows - just google for an app).
57+
58+
5. Copy and paste the following command:
59+
60+
```bash
61+
docker pull mxpv/podsync:latest
62+
```
63+
64+
Docker will download the latest version of Podsync.
65+
66+
6. Copy and paste the following command:
67+
68+
```bash
69+
docker run \
70+
-p 9090:9090 \
71+
-v /volume1/web/podsync:/app/data/ \
72+
-v /volume1/docker/podsync/podsync-config.toml:/app/config.toml \
73+
mxpv/podsync:latest
74+
```
75+
76+
This will install a container in Docker and run it. Podsync will load and read your config.toml file and start downloading episodes.
77+
78+
7. I recommend you go into the container's settings in Container Station and set it to Auto Start.
79+
80+
8. Once the downloads have finished for each of your feeds, you will then have an XML feed for each feed
81+
that you should be able to access at `https://xxxxxxxx.xxx/podsync/ID1.xml`. Paste them into your podcast app of choice,
82+
and you're good to go!
83+
84+
Note: you can validate your XML using this website:
85+
https://www.castfeedvalidator.com/validate.php

0 commit comments

Comments
 (0)