Volt Download Manager
  1. होम
  2. सहायता
  3. कमांड लाइन और ऑटोमेशन

कमांड लाइन और ऑटोमेशन

VDM can be driven without its window in three ways:

  • ऐप की अपनी कमांड लाइन, जिसमें IDM जैसे ही स्विच हैं: किसी स्क्रिप्ट, बैच फ़ाइल या दूसरे प्रोग्राम से चल रहे ऐप को डाउनलोड सौंपें।
  • voltdownloadmanager-cli, एक अलग कमांड-लाइन टूल: ऐप के बिना टर्मिनल में प्रगति देखते हुए फ़ाइलें, वीडियो और टॉरेंट डाउनलोड करें।
  • The automation API: other programs list the running app's downloads (as JSON) and pause, start, remove or delete them, over a local, token-protected channel. AI assistants use it through VDM's MCP server: see AI assistants.

To run the whole app without a window, on a home server or a NAS, see Run VDM on a server (voltdownloadmanager --headless); to control it from a phone, Control VDM from your phone.

उदाहरणों में Windows के पाथ इस्तेमाल किए गए हैं; macOS और Linux पर प्रोग्राम के नाम वही रहते हैं, बस .exe नहीं होता।

ऐप की कमांड लाइन

voltdownloadmanager.exe /d URL [/p folder] [/f name] [/a] [/n] [/s]
स्विच काम
/d URL डाउनलोड करने का पता।
/p folder इसे इस फ़ोल्डर में सहेजें (वरना विकल्प → इसमें सहेजें में चुनी गई श्रेणी का फ़ोल्डर इस्तेमाल होगा)।
/f name इसे इस नाम से सहेजें।
/a इसे शुरू किए बिना मुख्य डाउनलोड कतार में जोड़ें।
/n बिना सूचना: फ़ाइल जानकारी डाउनलोड करें विंडो नहीं खुलेगी; डाउनलोड तुरंत शुरू होगा (या /a के साथ कतार में जुड़ जाएगा)।
/s मुख्य डाउनलोड कतार शुरू करें।
/exit चल रहे ऐप की सेटिंग्स सहेजें और उसे बंद करें (इंस्टॉलर अपग्रेड से पहले ऐसा करता है)।
/startup Start in the notification area, the window hidden: what Launch Volt Download Manager on startup starts VDM with when you sign in. Where no notification area shows VDM's icon (some Linux desktops), VDM starts minimized. A running VDM stays as it is.
एक .torrent फ़ाइल या magnet: लिंक Open it in Add torrent (what Windows passes when VDM opens torrents).

Switches can start with / or -, in any case. If VDM is running, the command goes to it; if not, VDM starts and carries it out. For example:

voltdownloadmanager.exe /d https://example.com/files/report.pdf /p D:\Reports /n
voltdownloadmanager.exe /d https://example.com/big.iso /a
voltdownloadmanager.exe /s

voltdownloadmanager-cli

It comes with every download of VDM, next to the app (the installer puts it in VDM's folder). It works on its own: the app needn't run, except for status and api.

Its downloads leave the way the app's do: through Options → Proxy / Socks (no proxy, Use system settings with its HTTPS_PROXY / HTTP_PROXY / ALL_PROXY variables and the system's automatic configuration script, an automatic configuration script, fetched before the command starts, or a manual proxy with its login) and its Network adapter, with the DNS of Options → Connection. That covers get, resume, the video, playlist and gallery commands (yt-dlp and gallery-dl too), the install-* commands, and torrents when Torrent settings' Use the proxy is on. For one run, --proxy takes the place of Options' proxy: none (direct, yt-dlp and gallery-dl too, whatever the system's proxy), system, or a proxy's address, http://127.0.0.1:7890, https://…, socks5://…, socks5h://… (the proxy looks the sites' names up), socks4://…, socks4a://…. A password is never taken on the command line, where other programs can read it: write the user name in the address (socks5://ann@127.0.0.1:1080) and put the password in the VDM_PROXY_PASSWORD environment variable. get and resume also have --dns and --adapter, and video-get and gallery-get --adapter (any for none), for the same.

कमांड काम
get URL [-o folder\|file] [-c connections] [-H "Header: value"]... [-r referer] [--user-agent agent] [--cookie cookie] [--checksum hash] [--dns choice] [--adapter name] [--proxy proxy] Download a file with up to 8 connections (-c, 1 to 128), showing progress. Ctrl+C pauses it; resume continues. -r sets the referring page address (Referer header), --user-agent sets the request's User-Agent (then the only one sent; without it, VDM speaks as your default browser, and, when a site's bot check refuses that and the way a browser connects too, once more under its own name), --cookie sets the Cookie header (a cookie on the command line ends up in the shell's history; - reads it from standard input instead). --checksum checks the finished file: hex MD5, SHA-1, SHA-256, SHA-512 or CRC32, optionally named (sha256:…); a file that doesn't match fails. Without it, a checksum the server sends is checked, and a file that doesn't match it is kept with a warning: line (see Verify checksum). --dns picks the DNS instead of Options': system; a service and how to ask it, cloudflare-https, quad9-tls, google-plain, adguard-https, nextdns-tls; DNS servers' addresses, 9.9.9.9,149.112.112.112; or a DNS-over-HTTPS address. It never falls back to the system's DNS. --adapter sends every connection through one network adapter instead of Options' (any for none), by its name (Ethernet, wg0) or one of its addresses; when it isn't connected, nothing is sent and the download fails. --proxy takes the place of Options' proxy for this run (see above). The app's site rules for the address apply too (their headers, User-Agent, browser-like connection, number of connections and proxy), where the command line gives none of the same: --proxy goes before every rule's proxy. A link from a file host that one of your debrid accounts (Options → Accounts) supports goes through that account, as in the app, and get says through Real-Debrid; --direct downloads the address itself (Debrid service accounts).
resume file.vdm.json [-c connections] [-H ...] [-r referer] [--user-agent agent] [--cookie cookie] [--checksum hash] [--dns choice] [--adapter name] [--proxy proxy] [--direct] इसके बगल में .vdm.json फ़ाइल से रुके हुए या टूटे हुए डाउनलोड को जारी रखें। -r, --user-agent और --cookie अतिरिक्त हेडर सेट करते हैं (- मानक इनपुट से कुकी पढ़ता है)। --checksum उस रन के लिए समाप्त फ़ाइल को सत्यापित करता है। --dns, --adapter और --proxy कनेक्शन के DNS, नेटवर्क एडाप्टर और प्रॉक्सी को सेट करते हैं, जैसा कि get के लिए है, और ऐप के साइट नियम get के लिए लागू होते हैं। एक डीब्रिड खाते के माध्यम से, जैसा कि get: सेवा एक नया लिंक देती है जब पुराना समाप्त हो गया हो; --direct पते से ही जारी रहता है।
install-gallery-dl इमेज गैलरी के लिए gallery-dl इंस्टॉल या अपडेट करें: इसकी चेकसम सूची को लेखक की साइनिंग कुंजी से और प्रोग्राम को उस सूची से जाँचा जाता है (Windows और Linux x86-64 पर; अन्य सिस्टम पर इसे खुद इंस्टॉल करें)।
gallery-get URL [-o folder] [--limit N] [--adapter name] Download a gallery's pictures (a Wikimedia Commons category, a Flickr album, ...) into a folder named after it inside -o; --limit takes at most that many, the first the site lists. Started again, it fetches only the new ones. VDM's own downloader brings the pictures gallery-dl lists, 4 at a time. --adapter sends the connections, VDM's and gallery-dl's, through one network adapter, as for get.
video-info URL किसी पेज पर कौन-सा वीडियो है (YouTube, Vimeo, ...), और चुनने के लिए उसकी क्वालिटी।
playlist-info URL [--from N] [--count N] प्लेलिस्ट या चैनल के वीडियो, सूची में दिए क्रम में हर वीडियो की जानकारी एक अलग पंक्ति में: उसका स्थान, अवधि, शीर्षक और पता।
playlist-get URL [-f selector] [-o folder] [-c pieces] [--split-chapters] [--from N] [--count N] एक प्लेलिस्ट या चैनल के वीडियो को एक के बाद एक, -o के अंदर सूची के नाम पर एक फ़ोल्डर में डाउनलोड करें। -f सभी के लिए एक गुणवत्ता है, जैसा कि video-get के लिए है (डिफ़ॉल्ट रूप से प्रत्येक वीडियो का सबसे अच्छा; bv*[height<=720]+ba/b[height<=720] = 720p तक; bv[vcodec^=avc]+ba[acodec^=mp4a]/b[vcodec^=avc][acodec^=mp4a] = सबसे संगत, AAC के साथ H.264; ba = मूल ध्वनि; mp3:320, opus:, flac: जैसा कि video-get के लिए है)। -c और --split-chapters जैसा कि video-get के लिए है।
video-get URL [-f selector \| -q height\|compatible] [-o folder] [-c pieces] [--subs langs] [--auto-subs] [--embed-subs] [--split-chapters] [--adapter name] Download a video. Without -f or -q, the best quality, the one the Download video window starts on: with ffmpeg the best picture with the best sound joined to it (a site whose pictures and sounds come apart, such as Bilibili, needs ffmpeg for a video), else the best file with both. -q 1080 (or 720p) takes that height, or the nearest below it the page offers (else the nearest above), and says so. -q compatible takes the most compatible quality, as the window's Most compatible (H.264 + AAC): the best H.264 picture with AAC sound, in an MP4 that plays in every editor, TV and phone; a page without one says so (nothing is converted). -f takes a quality's selector from video-info (b = the best single file; ba = the sound alone as the site has it, not converted; mp3:320, mp3:256, mp3:192 or mp3:128 = the sound as an MP3 at that bitrate, mp3:0 at its best variable one; opus: = as Opus; flac: = as FLAC, lossless but no better than the site's sound; conversions need ffmpeg). -c: VDM's own downloader brings each stream yt-dlp finds over this many connections (8 by default, 1 to 128), a stream in pieces (HLS, DASH) this many pieces at once. --subs saves subtitles beside it: language codes from video-info (en,fr), or all for every one the uploader gave; --auto-subs takes the site's automatic captions instead; --embed-subs puts them into the video (needs ffmpeg, MP4 or MKV). With ffmpeg, the video's chapters go into the file too, as Download video's Embed chapters does. --split-chapters splits the video into numbered chapter files without re-encoding, beside the main video. --adapter sends the downloads' connections, and yt-dlp's (and ffmpeg's), through one network adapter, as for get; when it isn't connected, nothing starts. When no format of the page matches, the error lists the ones it offers, as video-info does.
update-helpers Check VDM's own helpers (yt-dlp, ffmpeg, gallery-dl, Node.js) for newer versions now, install them (each checked as its first install was), and print their versions. A helper a download is using switches to its new version once that download ends. Programs you chose in Helpers, and your system's, are yours to update.
install-ytdlp, install-ffmpeg,install-js-runtime Install or update the helpers videos need: yt-dlp (checked against its signing key), ffmpeg (x64 and ARM64 Windows, a build in VDM's signed list of checked builds; on macOS and Linux VDM uses the system's, and on 32-bit Windows one you choose in Helpers) and VDM's own JavaScript runtime, which yt-dlp needs for YouTube's qualities: Node.js's newest LTS build (its checksum list checked against Node.js's releasers' keys; Windows, Linux and macOS). A runtime already on your computer, or one chosen in Helpers, is still used first, and the command says so. install-deno, its earlier name, does the same.
torrent-info SOURCE एक टॉरेंट का नाम, फ़ाइलें (क्रमांकित) और आकार; SOURCE एक मैग्नेट लिंक या एक .torrent फ़ाइल है।
torrent-get SOURCE [-o folder] [--files 0,2] [--use-existing] एक टॉरेंट डाउनलोड करें, या केवल उसकी कुछ फ़ाइलें। यदि उसकी कुछ फ़ाइलें पहले से फ़ोल्डर में हैं, तो यह रुक जाता है और उनका नाम बताता है; --use-existing इसके बजाय उनका उपयोग करता है (जो मेल खाता है उसे रखा जाता है, बाकी डाउनलोड किया जाता है)। “टॉरेंट सेटिंग्स” की इस सार्वजनिक सूची के ट्रैकर्स को सार्वजनिक टॉरेंट में जोड़ें चालू होने पर, एक सार्वजनिक टॉरेंट को सूची के ट्रैकर्स भी मिलते हैं, जैसा कि ऐप में है।
torrent-create PATH -o file.torrent किसी फ़ाइल या फ़ोल्डर का .torrent बनाएँ, किसी फ़ोल्डर की फ़ाइलें नाम से सूचीबद्ध करें (सहकर्मी इसे DHT के माध्यम से ढूँढते हैं)।
status [--id N] [-s status] [--search text] [-c category] [-q queue] [-l limit](या list) चल रहे ऐप के डाउनलोड, JSON के रूप में, उनकी आईडी के साथ (स्वचालन API चालू होना चाहिए)। वैकल्पिक फ़्लैग आईडी, स्थिति, खोज स्ट्रिंग, श्रेणी या कतार द्वारा फ़िल्टर करते हैं, या गिनती को सीमित करते हैं।
pause ID..., start ID... चल रहे ऐप में चल रहे डाउनलोड को रोकें, या रुके हुए, कतार में लगे या विफल हुए डाउनलोड को शुरू (फिर से शुरू) करें।
remove ID..., delete ID... चल रहे ऐप की सूची से डाउनलोड हटाएँ: remove उनकी फ़ाइलें रखता है, delete उन्हें भी हटा देता है। चल रहे डाउनलोड को पहले रोका जाता है (pause)।
add URL [-o folder] [-f name] [-c category] [-q queue] [--checksum hash] [-r referer] [--user-agent agent] [--cookie cookie] [--private] [-l] [-s] चल रहे ऐप को एक डाउनलोड सौंपें। -o फ़ोल्डर सेट करता है, -f फ़ाइल नाम, -c श्रेणी, -q कतार, --checksum आवश्यक हैश सेट करता है, -r संदर्भित पृष्ठ का पता (Referer हेडर), --user-agent अनुरोध का User-Agent सेट करता है, --cookie कुकी हेडर सेट करता है (कमांड लाइन पर एक कुकी शेल के इतिहास में समाप्त होती है; - इसके बजाय मानक इनपुट से इसे पढ़ता है), --private इसे एक निजी विंडो के डाउनलोड के रूप में चिह्नित करता है (सामान्य विंडोज़ के डाउनलोड से अलग रखा जाता है, सूची में केवल तभी सहेजा जाता है जब विकल्प → सामान्य → निजी-विंडो डाउनलोड को सूची में रखें चालू हो, जैसा कि यह डिफ़ॉल्ट रूप से होता है), -l इसे शुरू किए बिना कतारबद्ध करता है, और -s डाउनलोड फ़ाइल जानकारी संवाद को छोड़ देता है। सफलता पर {"id": N} प्रिंट करता है।
start-queue [name] [-q name], stop-queue [name] [-q name] चल रहे ऐप में एक डाउनलोड कतार शुरू या बंद करें (स्वचालन API)। यदि छोड़ा जाता है तो मुख्य कतार शुरू या बंद करता है।
pair चल रहे ऐप के रिमोट कंट्रोल के साथ एक फ़ोन या रिमोट ब्राउज़र को युग्मित करने के लिए एक नया कोड दिखाएँ: इसके वेब पते, युग्मन कोड और एक QR कोड।
api on, api off चल रहे ऐप के ऑटोमेशन API को चालू या बंद करें।

voltdownloadmanager-cli help <command>हर विकल्प दिखाता है। विफल होने वाला कमांड (ऐप नहीं चल रहा है, यह त्रुटि के साथ जवाब देता है, डाउनलोड टूट जाता है) कोड 1 के साथ बाहर निकलता है। उदाहरण के लिए:

voltdownloadmanager-cli get https://example.com/big.iso -o D:\Downloads -c 16 --checksum sha256:9f86d0…
voltdownloadmanager-cli video-get "https://www.youtube.com/watch?v=aqz-KE-bpKQ" -q 720
voltdownloadmanager-cli torrent-get "magnet:?xt=urn:btih:…" --files 0

स्क्रिप्ट और प्रोग्राम के लिए JSON

--json (कमांड से पहले या बाद में) के साथ, हर कमांड टेक्स्ट के बजाय JSON प्रिंट करता है, प्रति पंक्ति एक ऑब्जेक्ट, स्क्रिप्ट और AI एजेंटों के पढ़ने के लिए:

कमांड प्रिंट करता है
get, resume {"event": "through", "service"}पहले जब डाउनलोड डीब्रिड खाते के माध्यम से होता है, फिर हर आधे सेकंड में एक {"event": "progress", "downloaded", "size", "speed", "connections", "segments"} लाइन, फिर {"event": "done", "path", "size", "seconds"} (जब फ़ाइल उसके सर्वर द्वारा भेजे गए चेकसम से मेल नहीं खाती थी, और उसे रखा गया था, तो "warning" के साथ), या {"event": "paused", "state"} के बाद Ctrl+C (state वह फ़ाइल है जिसे resume लेता है)।
video-get -f के बिना, {"event": "quality", "label", "format", "height", "asked", "nearest"} पहले: ली गई गुणवत्ता, asked -q की ऊँचाई ("compatible" -q compatible के लिए, अन्यथा null) और nearest कि क्या वह ऊँचाई प्रदान नहीं की गई थी। फिर {"event": "progress", "downloaded", "size", "speed"} लाइनें, {"event": "note", "text"} के लिए जो डाउनलोड का लॉग कहता है (एक गुणवत्ता जो सर्वर नहीं देते हैं, सबसे नज़दीकी नीचे ली गई), फिर {"event": "done", "path", "subtitles", "subtitle_problems"}: इसके बगल में सहेजी गई उपशीर्षक फ़ाइलें, और वे भाषाएँ जिन्हें साइट ने अस्वीकार कर दिया ({"code", "name", "reason", "beside"}; beside: वे दूसरे प्रयास में आईं, वीडियो के बजाय उसके बगल में)।
torrent-get {"event": "progress", "phase", "downloaded", "size", "speed", "peers", "peers_seen"}लाइनें, फिर {"event": "done", "path", "size"}, या {"event": "stopped", "downloaded", "seconds"} के साथ --seconds।
video-info {"title", "choices": [{"label", "format", "size", "approx", "height", "fps", "codec", "range"}], "subtitles": [{"code", "name", "automatic"}], "declared"}; declared उस वीडियो का पता है जिसके बारे में पृष्ठ कहता है कि यह है, जब HTML में पहले प्लेयर के बजाय उसे देखा गया था (एक ऐसी साइट पर जिसके लिए yt-dlp का अपना कोई रीडर नहीं है), अन्यथा null; एक विकल्प का format वह है जो video-get -f लेता है (वही प्रारूप जिससे इसे आकार दिया गया था, जैसा कि 401+251, फिर उसी कोडेक और ऊंचाई का सबसे निकटतम यदि वे चले गए हों, फिर किसी भी कोडेक का), approx कहता है कि इसका size एक अनुमान है, codec है AV1, VP9, H.264…, range है HDR (या HDR विकल्प के बगल में SDR); एक उपशीर्षक का code वह है जो --subs लेता है।
torrent-info {"name", "info_hash", "size", "files": [{"index", "size", "path"}]}.
torrent-create {"info_hash", "path"}.
install-ytdlp, install-ffmpeg,install-js-runtime {"tool", "version", "path"}; install-js-runtime used जोड़ता है, रनटाइम जिसका yt-dlp उपयोग करता है ({"runtime", "version", "path"})।
update-helpers प्रति सहायक एक {"tool", "status", "version"}; status है up-to-date, updated, ready (एक बार इसके डाउनलोड समाप्त होने के बाद उपयोग में), skipped (आप नवीनतम से वापस चले गए), not-ours, busy या failed (error के साथ)।
status, pause, start, remove, delete, start-queue, stop-queue, add, pair,api ऐप का जवाब, जो पहले से ही JSON है (नीचे देखें)।

आकार बाइट्स में हैं (null जब तक अज्ञात), गति बाइट्स प्रति सेकंड में। एक विफलता {"error": "…"} प्रिंट करती है और कोड 1 के साथ बाहर निकलती है; जब video-get डाउनलोड करने के लिए पृष्ठ का कोई प्रारूप नहीं पाता है, तो त्रुटि "choices" (जैसा कि video-info का) और "formats" (yt-dlp का अपना: {"id", "ext", "height", "video", "audio"}) के साथ आती है। उदाहरण के लिए:

voltdownloadmanager-cli --json get https://example.com/big.iso -o D:\Downloads
{"event":"progress","downloaded":4194304,"size":1073741824,"speed":52428800,"connections":8,"segments":8}
…
{"event":"done","path":"D:\\Downloads\\big.iso","size":1073741824,"seconds":20.4}

ऑटोमेशन API

अन्य प्रोग्राम चल रहे ऐप से पूछ सकते हैं कि वह क्या डाउनलोड कर रहा है, और डाउनलोड को रोक सकते हैं, शुरू कर सकते हैं, हटा सकते हैं या हटा सकते हैं। API डिफ़ॉल्ट रूप से बंद है; इसे voltdownloadmanager-cli api on से चालू करें (और api off से बंद करें)।

How a program talks to VDM

  1. While it runs, VDM listens on a port of 127.0.0.1 (this computer only) and writes the port and a secret token to ipc.json in its data folder: - Windows: %APPDATA%\voltdownloadmanager\ipc.json - macOS: ~/Library/Application Support/voltdownloadmanager/ipc.json - Linux: ~/.local/share/voltdownloadmanager/ipc.json - A portable copy: data\ipc.json next to the program.

The token changes at every start; only programs that can read your data folder (yours) can use it. 2. Connect to that port and send one line of JSON: the token and the command's fields, e.g. {"token": "<token>", "query": "list"}. 3. VDM answers with one line: ok for a command, or a JSON object for a question.

यह क्या समझता है

फ़ील्ड (token के अलावा) जवाब
{"query": "list"} हर डाउनलोड और कुल गति: {"downloads": [{"id", "file", "url", "path", "status", "size", "downloaded", "speed", "added", "category", "error"}], "speed": bytes per second, "queues": [{"name", "running", "ids"}], "categories": [{"key", "name"}], "free": bytes}। status Queued, Downloading, Stopped, Complete या Error है; size अज्ञात होने पर null है; error (यह क्यों विफल हुआ) केवल Error में डाउनलोड के लिए है; category एक श्रेणी का key है; free वह खाली स्थान है जहाँ डाउनलोड जाते हैं (null जब अज्ञात हो)। केवल जब API चालू हो।
{"action": "pause", "ids": [3, 4]} आईडी द्वारा डाउनलोड पर कार्य करता है: "pause", "start", "remove" (फ़ाइल रखी गई) या "delete" (फ़ाइल भी हटाई गई)। {"done": [3], "skipped": [{"id": 4, "why": "not running"}]} का जवाब देता है; एक चल रहे डाउनलोड को हटाने या हटाने से पहले रोका जाना चाहिए। केवल जब API चालू हो।
{"action": "start_queue", "queue": "Main download queue"} उस नाम की कतार शुरू करता है (या "stop_queue" के साथ, बंद करता है) (सूची के queues से एक नाम; डिफ़ॉल्ट: मुख्य डाउनलोड कतार)। {"done": [], "skipped": []}, या {"error": …, "code": "unknown-queue"} का उत्तर देता है। केवल जब API चालू हो।
{"api": true} / {"api": false} API को चालू या बंद करता है: {"api": true}।
{"url": "https://…", "dir": "D:\\Files", "name": "a.zip", "silent": true} एक डाउनलोड जोड़ता है, जैसा कि कमांड लाइन का /d /p /f /n करता है ("later": true /a है); ok। "category" (सूची के categories से एक कुंजी) इसे उस श्रेणी के फ़ोल्डर में डालता है, बजाय उस फ़ोल्डर के जिसे उसका प्रकार चुनता है; "queue" (एक कतार का नाम) वह कतार है जिसमें यह "later" के साथ प्रतीक्षा करता है। API बंद होने पर भी, कमांड लाइन की तरह।
{"start_queue": true} मुख्य डाउनलोड कतार शुरू करता है; ok।

An unknown question or action is answered {"error": "…"}, as is a question while the API is off (then with "code": "api-off", for programs to check: the error text may change). A wrong token is answered denied. When VDM is already handling as many requests as it takes at once, it answers busy: nothing was done, and the line can be sent again a moment later.

A command (answered ok) may carry an "id" of your own: letters, digits and -, at most 64, different for each command. If its answer doesn't come back (the line closed, or a wait ran out), send the same line again with the same id: VDM does it once, however many of those lines reach it, and answers ok to each. Without an id, each line is a new command. A second launch of the program (voltdownloadmanager.exe /d …, /exit) does this by itself.

हर अनुरोध और जवाब का वर्णन, फ़ील्ड दर फ़ील्ड, एक JSON Schema में किया गया है: automation-api.schema.json (जो https://vdm.mikaillab.com/automation-api.schema.json पर भी है)। यह उस कोड से बना है जिसका ऐप जवाब देता है, इसलिए यह सटीक रहता है; प्रोग्राम इसके खिलाफ जो भेजते और पढ़ते हैं उसकी जाँच कर सकते हैं, या इससे अपने प्रकार उत्पन्न कर सकते हैं।

उदाहरण

PowerShell (Windows):

$ep = Get-Content "$env:APPDATA\voltdownloadmanager\ipc.json" | ConvertFrom-Json
$client = New-Object Net.Sockets.TcpClient("127.0.0.1", $ep.port)
$stream = $client.GetStream()
$writer = New-Object IO.StreamWriter($stream); $reader = New-Object IO.StreamReader($stream)
$writer.WriteLine((@{ token = $ep.token; query = "list" } | ConvertTo-Json -Compress))
$writer.Flush()
$reader.ReadLine() | ConvertFrom-Json | Select-Object -ExpandProperty downloads | Format-Table file, status, downloaded, size
$client.Close()

पायथन:

import json, os, socket

ipc = os.path.join(os.environ["APPDATA"], "voltdownloadmanager", "ipc.json")  # see above elsewhere
ep = json.load(open(ipc))
with socket.create_connection(("127.0.0.1", ep["port"])) as s:
    s.sendall((json.dumps({"token": ep["token"], "query": "list"}) + "\n").encode())
    answer = json.loads(s.makefile().readline())
for d in answer["downloads"]:
    print(d["file"], d["status"], d["downloaded"], d["size"])

इसके बजाय डाउनलोड जोड़ने के लिए, {"token": "…", "url": "https://example.com/a.zip", "silent": true} भेजें।

मुफ़्त, ओपन सोर्स, कोई विज्ञापन नहीं, कोई ट्रायल नहीं।

Download Volt Download Manager