This is a basic, but functional, Free-way.me file hosting module for Synology Download Station. It was tested with premium user and Diskstation 5.1. (Download Station 3.5). MIT license: Use this software at your own risk!
Thanks for these two souces that helped developing this plugin:
- official developer guide
- synology-realdebrid (basic but working example for real-debrid.com)
- Sensible error handling (if that's even possible with the provided API)
- The
INFOfile does not contain all the hosts RealDebrid can handle: update to suit your needs - Bugs: see github issues.
To test from command line:
php test.php
If the download fails, try using the website. Usually this means that specific file host is down, or there's something wrong with your login.
tar zcf free-way.host INFO free-way.php
=> And add free-way.host as a file hosting module in the Download Station settings.