Run GolinksPRO Download Manager on a home server or a NAS (Docker, Unraid, any Linux machine) without a window, and send it downloads from your phone or your browser: the server downloads them into its own folders, such as a network share.
It is the same GDM as on a desktop: its list, categories, queues, Scheduler, speed limits and torrents. You control it with the remote control's page (from any phone or computer on your network), the browser extension pointed at it, or its command line.
جدید: حالت سرور در این نسخه جدید است. لطفا به ما بگویید چگونه پیش میرود.
با Docker
Build the image from GDM's source (a published image comes later):
git clone https://golinkspro-download-manager.web.app
cd misterdownloadmanager
docker build -t misterdownloadmanager .
The first build is long (up to an hour on a small server: the whole program is optimised as one). The image is small, about 175 MB: Debian's slim base, GDM's two programs and the certificates downloads are checked against. It needs no desktop libraries: GDM loads those only to open a window, which a server never does.
Then run it, with a folder for its settings and one for the downloads. Make both folders first,
as the user GDM will run as: a folder Docker makes for you belongs to root, and GDM can't use it.
mkdir -p /srv/mdm-config /srv/downloads
docker run -d --name mdm --restart unless-stopped \
-p 8463:8463 \
-v /srv/mdm-config:/config \
-v /srv/downloads:/downloads \
--user "$(id -u):$(id -g)" \
misterdownloadmanager
/configلیست، تنظیمات، گواهی و دستگاههای جفت شده را نگه میدارد./downloadsجایی است که فایلها فرود میآیند: هر دسته پوشه خود را در داخل دارد (Music،Video،Torrents…). یک اشتراک شبکه را در آنجا نصب کنید تا مستقیما روی آن دانلود شود.--user: the user that owns those folders (GDM runs as no particular user).
docker/compose.yml همین کار را با Docker Compose انجام میدهد.
جفت کردن تلفن شما
docker logs mdmآدرس را برای باز کردن و، تا زمانی که هیچ دستگاهی جفت نشده است، یک کد جفتسازی با کد QR نشان میدهد:
The remote control listens at: https://172.17.0.2:8463/
Its certificate's SHA-256 fingerprint: DE:26:7F:…
No device is paired yet. Open the address (or scan this) and enter the code 1037 1606 …
Inside a container, the address GDM finds is the container's own: give it the one you open, the
server's address with the port you published, as -e MDM_REMOTE_URL=https://192.168.1.10:8463/,
and the log and the QR code show that one. Then pair as
Control GDM from your phone says. For another code, at any
time:
docker exec mdm misterdownloadmanager-cli pair
To open the page by the server's name (https://nas.local:8463/), give GDM that name:
-e MDM_REMOTE_HOSTS=nas.local (several: separated by commas). Other names are refused, so that
no web page can reach GDM through a name of its own.
در Unraid
docker/unraid.xml یک الگو است: آن را در /boot/config/plugins/dockerMan/templates-user/ روی فلش درایو کپی کنید، سپس Docker → Add Container را انتخاب کرده و misterdownloadmanager را برگزینید. این الگو /config را به appdata، /downloads را به یک اشتراک، پورت 8463 را نگاشت میکند و به عنوان nobody:users (99:100) اجرا میشود، همانطور که اشتراکهای Unraid انتظار دارند. تصویر باید ابتدا (بالا) روی سرور ساخته شود یا به یک رجیستری که استفاده میکنید، ارسال شود. اگر لاگ کانتینر میگوید یک پوشه متعلق به کاربر دیگری است، یک بار آن را به nobody:users بدهید: chown -R 99:100 /mnt/user/appdata/misterdownloadmanager.
بدون Docker
On any Linux machine with GDM installed (the .deb, .rpm, AppImage or tar.gz):
misterdownloadmanager --headless --data ~/mdm-server --downloads /srv/downloads
| پرچم | یا متغیر | چه چیزی را تنظیم میکند |
|---|---|---|
--data <folder> |
MDM_DATA_DIR |
لیست، تنظیمات، گواهی و دستگاههای جفت شده |
--downloads <folder> |
MDM_DOWNLOADS |
جایی که دانلودها میروند (پوشه هر دسته در داخل) |
--port <number> |
MDM_REMOTE_PORT |
پورت کنترل از راه دور (8463) |
--listen <address> |
MDM_REMOTE_LISTEN |
جایی که گوش میدهد: هر آدرس شبکه محلی مگر اینکه داده شود |
--hosts <names> |
MDM_REMOTE_HOSTS |
نامهایی علاوه بر آدرسهای آن که صفحه ممکن است با آنها باز شود |
MDM_REMOTE_URL |
آدرس صفحه همانطور که آن را باز میکنید، همراه با کد جفتسازی نشان داده میشود |
کنترل از راه دور در این حالت روشن است (MDM_REMOTE=off آن را خاموش میکند). هنگامی که سیستم آن را متوقف میکند (docker stop، systemd، Ctrl+C)، به طور تمیز متوقف میشود و لیست خود را ذخیره میکند. به همین ترتیب روی Windows و macOS نیز کار میکند.
The command line talks to it as to a desktop GDM, with the same data folder:
MDM_DATA_DIR=~/mdm-server misterdownloadmanager-cli status (once api on), pair, and adding
an address: misterdownloadmanager /d https://example.com/file.zip.
ارسال دانلودها از مرورگر شما
In the browser extension's menu, Send downloads to → Another GolinksPRO Download Manager (a server): type the server's address,
open it once in that browser to accept its certificate, then enter a pairing code (pair
above). Downloads the extension catches, and Download with GolinksPRO Download Manager on a link,
then go to the server instead of this computer. The browser's cookies are not sent to the server:
a download that needs you to be signed in to a site stays with this computer.
آنچه سرور انجام نمیدهد
- صفحات ویدئو (yt-dlp) و گالریهای تصویر به کمککنندههای خود نیاز دارند که تصویر شامل آنها نمیشود.
- هیچ پنجرهای باز نمیشود: دانلودی که سؤالی میپرسد (یک کپی، فایلهای از قبل موجود) انتخابی را که در تنظیمات تعیین شده است، میگیرد یا اضافه نمیشود.
- پورت را در اینترنت منتشر نکنید؛ در عوض از طریق VPN به شبکه خانگی خود دسترسی پیدا کنید.
رایگان، متنباز، بدون تبلیغات، بدون دوره آزمایشی.
Download GolinksPRO Download Manager