Volt Download Manager
  1. الرئيسية
  2. تعليمات
  3. البنية الداخلية

البنية الداخلية

How Volt Download Manager's pieces fit together.

الصناديق (Crates)

المسار الصندوق (Crate) الدور
crates/engine vdm-engine ينزل ملفا واحدا عبر HTTP(S) أو FTP(S): فحص، مخطط تجزئة، عمال اتصال، حالة استئناف، قيود لكل مضيف، محدد سرعة، مجاميع اختبارية، نصوص وكيل
crates/app vdm-app تطبيق سطح المكتب (voltdownloadmanager.exe، egui): القائمة، الفئات، قوائم الانتظار، المجدول، مربعات الحوار، علبة النظام، الإعدادات.
crates/cli vdm-cli تنزيلات بدون واجهة مع التقدم (get، resume)، ومقاطع الفيديو، والتورنت، وأوامر واجهة برمجة التطبيقات للأتمتة: مكتبة يشغلها برنامج التطبيق (voltdownloadmanager --cli …)، وvoltdownloadmanager-cli، وهو مشغل صغير يبدأ تشغيلها بنفس الوسائط والطرفية ورمز الخروج
crates/mcp vdm-mcp خادم MCP (voltdownloadmanager-mcp): مساعدو الذكاء الاصطناعي يسردون ويضيفون ويتحكمون في تنزيلات التطبيق قيد التشغيل عبر واجهة برمجة تطبيقات الأتمتة.
crates/remote vdm-remote التحكم عن بعد (#141): خادم HTTPS الذي يستخدمه هاتف أو كمبيوتر مقترن على الشبكة المحلية (صفحته، رموز الاقتران، رموز الجهاز، الشهادة الموقعة ذاتيا)؛ يصبح كل طلب أمرا لواجهة برمجة تطبيقات الأتمتة يستجيب له التطبيق
crates/nmhost vdm-nmhost مضيف الرسائل الأصلية للمتصفح: يأخذ التنزيلات الملتقطة من الإضافة ويسلمها إلى التطبيق.
crates/ipc vdm-ipc قناة المثيل الفردي (مقبس محلي محمي برمز مميز)، ومجلد البيانات، وقواعد الالتقاط المشتركة بين التطبيق والمضيف، وقواعد الموقع (#1778: وكيل المستخدم، والرؤوس، والاتصالات، والاتصال الشبيه بالمتصفح، و#1960، وكيل بالنمط الخاص بالموقع) المشتركة بين التطبيق وسطر الأوامر
crates/debrid vdm-debrid حسابات Debrid (العدد 44): تحول واجهات برمجة التطبيقات الرسمية للخدمات (Real-Debrid وAllDebrid وPremiumize وTorBox وMega-Debrid) رابط موقع الاستضافة إلى رابط مباشر يقوم المحرك بتنزيله.
crates/cnl vdm-cnl Click'n'Load 2 (العدد 37): المستمع على 127.0.0.1:9666 الذي يقرأ منشورات موقع الروابط ويحولها إلى حزم لـ«ملتقط الروابط»، مع قيود على ما يأخذه.
crates/extract vdm-extract استخراج الأرشيفات (#37): zip وtar وgz وxz قيد المعالجة؛ 7z وRAR عبر 7-Zip مثبت، يعمل كبرنامج مستقل؛ في مكانه عبر HatchZip عند الطلب. اختبارات الأرشيف (check.rs، #1661): 7z t، ملف ZIP قيد المعالجة بدونه، وإدخالات ZIP تالفة توضع في الملف
crates/geo vdm-geo موقع خادم التنزيل (#140): جدول نطاق IP إلى بلد مبني من بيانات DB-IP Lite (tools/geo/build.py)، يتم البحث فيه على هذا الكمبيوتر فقط، وأعلام البلدان
crates/tools vdm-tools Video pages through yt-dlp and ffmpeg, image galleries through gallery-dl (run as separate programs); while a network adapter is chosen, their connections go through a proxy of VDM's on 127.0.0.1 that binds them to it (relay.rs); each runs in a folder it can write, also its TEMP (workdir.rs)
crates/crash vdm-crash تقارير الأعطال والتوقف: عملية المراقبة، تفريغات الذاكرة المصغرة خارج العملية، مكدسات الرموز، نص التقرير وسجلات الإصدار (crash-reports.md).
crates/torrent vdm-torrent روابط BitTorrent والروابط المغناطيسية عبر librqbit.
crates/labserver vdm-labserver خادم HTTP Range مع سجل طلبات وحقن أخطاء، وخادم FTP/FTPS بأخطائه الخاصة، للاختبارات والمعايير.
extension/ — إضافة Chromium (MV3) و Firefox.
docs/ — دليل المستخدم والبرامج التعليمية، هذا الملف، بيانات المقارنة؛ يجعل الموقع الدليل صفحات مساعدة له، والتي تفتحها التعليمات
website/ — vdm.mikaillab.com's own pages (home, download, features, themes, FAQ); tools/website/build.py adds the help from docs/ and the news from the CHANGELOG, in 22 languages, and GitHub Pages publishes it

تتجه التبعيات إلى الداخل: app، cli، mcp، nmhost، وremote تستخدم engine وipc؛ المحرك لا يعرف شيئا عن واجهة المستخدم. يرى التطبيق المحرك فقط من خلال أحداثه (التقدم، لقطات جدول الأجزاء، الانتهاء، الفشل).

المحرك

Download
 ├─ probe()              size, resumable?, validators (ETag / Last-Modified), file name
 ├─ Planner (pure)       segment table: when a connection is free, the largest remaining
 │                       part is split in half (planner.rs, tested by random simulation)
 ├─ Worker × N           one HTTP/1.1 connection each, reused across segments; slow ones
 │                       are dropped and their part re-split
 │    └─ writes at its offset into <name>.vdm.part (created sparse)
 ├─ HostLimits           learns how many connections each server accepts
 ├─ Limiter (shared)     per-download and global token buckets
 ├─ State                segment table saved atomically (craft-atomic) for crash-safe resume
 └─ events → channel     Progress, Done, Failed

عند الانتهاء من كل جزء، يتم فحص الملف الجزئي مقابل الحجم المتوقع وإعادة تسميته إلى مكانه؛ يمكن أن يتبع تاريخ الملف تاريخ الخادم.

الإجابة التي لا تحتوي على حجم ولا نطاقات تستمر في اتصال واحد، وتكتب بالترتيب (single_stream)، وقد لا تنتهي أبدا (راديو إنترنت، بث كاميرا: Snapshot::endless). Download::keep ينهيها حيث هي، وما وصل يعتبر منتهيا كما لو أن الخادم قد أنهاه هناك (#1780)؛ فقط زر «إيقاف والاحتفاظ» في نافذة التقدم هو من يستدعيها (App::keep_by_hand، Job::keep). كل إيقاف آخر يلغيها، كما هو الحال مع أي تنزيل لا يستطيع الخادم متابعته.

الملف المكتمل الذي وجد اختبار الأرشيف الخاص به تلفا يمكنه وضعه (إدخالات ZIP، #1661: archtest.rs الخاص بالتطبيق) يصبح ملفا جزئيا مرة أخرى (repair.rs): تتم إعادة كتابة آخر حالة متابعة له، والتي أعادها تنزيل طلب الاحتفاظ به (Options::keep_state، Snapshot::kept)، مع ترك النطاقات التالفة فقط لجلبها، يبدأ كل منها قبل بضعة بايتات مبكرا لفحص التداخل، ويتم إعادة تسمية الملف إلى ملفه الجزئي. متابعته هي متابعة عادية: If-Range بنفس أدوات التحقق، وفحص التداخل، والملخص؛ يفشل الملف الذي تغير على الخادم كـ FileChanged.

A download's first request (get) follows redirects and the pages that lead on to a file by themselves (a waiting page's refresh). Sites whose links aren't the file's address have a module in sites/ (Google Drive: sites/gdrive.rs, its shared folders' pages read there and listed by hub.rs; MediaFire: sites/mediafire.rs; Rapidgator: sites/rapidgator.rs; LuluStream: sites/lulustream.rs): it turns the link into the file's address, reads the site's own pages (a confirmation form, a download button, an error page), names its refusals (Error::Refused) and, where the file's addresses expire, the page that gives a fresh one (sites::origin, asked again when a connection meets an expired address, at most once per expiry and never again at once for an address it then refused; Rapidgator's page is the browser's tab the download came from, Options::page), with pure functions tested without a network. A page whose file comes only once its form is sent back (LuluStream's quality page) says so with PageSays::Form: get posts that form's fields (application/x-www-form-urlencoded) with its next request only and reads the answer as a page; a site that answers with its form again is posted again after a short, growing pause (FORM_REPOST_PAUSE), up to MAX_FORM_POSTS, and then refuses in the site's name (sites::form_refused). The lab server plays such a site on its real host names for the end-to-end tests (labserver/src/drive.rs, labserver/src/mediafire.rs, labserver/src/rapidgator.rs, labserver/src/lulustream.rs).

يمر FTP و FTPS (ftp.rs) عبر نفس المخطط والعمال والحالة: التجزئة هي REST + RETR على جلسة تحكم بدلا من GET ذات النطاق، SIZE و MDTM تحل محل الرؤوس، ويتم تجميع الجلسات لكل تنزيل وإعادة استخدامها بين التجزئات.

يتم قراءة المجلد المعطى لـ «ملتقط الروابط» (#1774، folder.rs) مع مجلداته الفرعية، بعمق أولا: مجلد FTP بواسطة MLSD، وإلا LIST (ftp::Lister، جلسة واحدة لكل مجلد)، صفحة قائمة خادم الويب ("Index of"، تعرف من عنوانها) كما يقرأ page_links صفحة. الإدخال هو اسم في المجلد، يتطابق بالاسم: الرابط في مكان آخر (مضيف آخر، المجلد الأعلى، استعلام، مسار أعمق) أو الاسم غير الواضح ليس إدخالا، ولا يتم اتباع الروابط الرمزية لـ FTP. يحدها العمق المطلوب (بحد أقصى MAX_DEPTH)، MAX_FOLDERS، MAX_FILES وحجم كل قائمة. يجعل التطبيق ملفات كل مجلد حزمة يكون مجلدها هو شجرة المجلد ضمن مجلد التنزيل (grabber.rs)؛ يقدم خادم المختبر أشجارا وهمية، واحدة معادية وواحدة ضخمة (labserver/src/tree.rs) عبر HTTP وFTP لاختبارات شاملة.

تدرج نماذج أو مجموعات بيانات Hugging Face (أو مجلد منها، في مراجعة) وإصدار أو وسم GitHub المعطى لـ «ملتقط الروابط» (#1772، hub.rs) عبر واجهات برمجة التطبيقات العامة للمواقع: تحول المراجعة أولا إلى التزامها، ثم تقرأ الشجرة صفحة بصفحة (Link: rel="next"، وهي واجهة برمجة التطبيقات الوحيدة نفسها)، ويؤخذ مسار كل إدخال فقط عندما يكون مسارا نسبيا لأسماء عادية داخل المجلد المطلوب (hub::relative_path: لا ..، مسار مطلق، اسم قرص أو جهاز)، ويطابق بالأسماء؛ يبنى عنوان الملف من المستودع والالتزام وتلك الأسماء، ولا يؤخذ أبدا من الإجابة. يحتفظ كل ملف بحجمه وبصمة SHA-256 التي ينشرها الموقع (ملف LFS، أصل إصدار digest)، والتي تصبح بصمة تنزيل الملف. ينشئ التطبيق حزمة واحدة يكون مجلدها هو مسار العنوان تحت مجلد التنزيل، وكل ملف في مجلداته الخاصة بداخله (Imported::within)، غير محدد؛ تستخدم كلمة مرور «تسجيلات دخول المواقع» لـ huggingface.co كرمز وصول (Authorization: Bearer) لمضيفي Hugging Face فقط. يشغل خادم المختبر كلتا واجهتي برمجة التطبيقات (labserver/src/hub.rs): الصفحات، مستودع محمي، مسارات معادية، بصمة خاطئة، وحدود معدل الطلبات.

تقرأ الملفات داخل ملف ZIP على الخادم (#1775، remotezip.rs) من جدول المحتويات الخاص به، في نهايته: نظرة واحدة من «معلومات ملف التنزيل» (look: آخر TAIL بايت، والتي تخبر ما إذا كان الخادم يرسل أجزاء، وتحتوي على جدول معظم الأرشيفات) تمكن «معاينة»، و«معاينة ZIP» (zippreview.rs) تسرد الجدول (list: سجل ZIP64 والجدول المطلوب حيث لا يكونان في النهاية). المحللات هي وظائف نقية على البايتات، مشوشة (fuzz/fuzz_targets/zip_directory.rs): الجدول بحد أقصى MAX_DIRECTORY بايت وMAX_ENTRIES إدخال، كل اسم بحد أقصى MAX_NAME، حقول ZIP64 تقرأ ضمن حقلها الإضافي، بيانات كل إدخال قبل الجدول وبصرف النظر عن بيانات كل إدخال آخر (الإدخالات المتداخلة ترفض الأرشيف)، الأسماء التي ليست مسارات نسبية واضحة تترك خارجا. الملفات المختارة هي تنزيل واحد (Item::zip، Job::Zip): Fetch يطلب الجدول مرة أخرى، ثم رأس كل ملف المحلي وبياناته في طلب نطاق واحد (If-Range مع مدقق الأرشيف)، ويفك ضغط البيانات المخزنة والمضغوطة، ويعدها ويتحقق من CRC-32 الخاص بها مقابل جدول المحتويات، ويسلم البايتات إلى كاتب الاستخراج (vdm_extract::put_file: نفس التحققات من المسار ومجلد التخزين المؤقت مثل كل إدخال مستخرج). يقدم خادم المختبر ملفات ZIP وهمية (labserver/src/zip.rs): ZIP64، واحد معاد، إدخالات متداخلة، جدول كبير جدا، وأي منها بدون نطاقات.

التطبيق

One egui window painted to fixed pixel coordinates, plus one immediate viewport per dialog. app.rs holds the state (downloads, queues, settings, the list's selection) and turns menu, toolbar, key and IPC commands into actions. Each dialog is its own module and returns an Outcome (open, closed, done with a value). Windows-only calls are confined to win32.rs and their Linux and macOS counterparts to unix.rs (starting with the session, the browsers' host, sounds, show in folder, the crash handler); every other file is safe, portable Rust. Fonts come from the system: Windows' Fonts folder, macOS's system fonts, fontconfig on Linux (theme.rs). The interface language's script fonts load at start; text in another script gets its font the first time it shows: from VDM's lists of the system's fonts for each script (the first file there that has the letter; on Windows one Han list in the interface language's order, theme::han_files, for the fonts loaded at start, those found later and DirectWrite's alike), then, on Windows and macOS, from the system's own fallback (DirectWrite's, CoreText's, through fontique: egui_system_font_provider) for what the lists don't name; Linux asks fontconfig for any letter. On Windows, Latin, Greek, Cyrillic and single-codepoint CJK text is drawn by DirectWrite (win32.rs, through egui's glyph rasterizer hook): View → Text → Smooth in its natural mode, anti-aliased at the size asked for and placed at quarter pixels with the font's own advances; Classic (the default) in GDI-classic mode, so each letter's hinted shape and whole-pixel width come together. CJK uses the interface language's system face; combining marks, multi-codepoint clusters and missing glyphs stay with egui, as do other scripts.

السمات

كل لون وحجم يتم رسم عنصر التحكم به يأتي من السمة النشطة (#45). السمة هي لوحة ألوان فاتحة وداكنة، ومقاييس، وأنماط عناصر التحكم، ونمط أيقونة (palette.rs):

  • أدوار لوحة الألوان. palette.rs يعلن عن كل دور بمفتاح ثابت ("button.hot"، "list.row"، "caption"...)، ووصف، وقيم المظهر الكلاسيكي الفاتحة والداكنة، مكتوبة بالكامل (المظهر الكلاسيكي غير مشتق). الرسامون المشتركون (winui.rs، chrome.rs، list.rs، scrollbar.rs) يقرؤونها عبر theme::colors() وtheme::metrics() ويحددون حالات كل عنصر تحكم منها؛ لا يحمل أي رمز رسم لونا خاصا به.
  • لوحات الألوان المشتقة. derive.rs ينشئ لوحة ألوان كاملة من بضع بذور (الخلفية، السطح، النص، التمييز...)، ويمزج كل دور آخر في OKLab ويحافظ على تباين WCAG (4.5:1 للنص، 3:1 للحواف)؛ يزيد التباين العالي من قوة كل حافة في الأعلى. native.rs يزرع السمة الأصلية من تمييز النظام وتباينه (إعدادات Windows، بوابة freedesktop على Linux، تمييز macOS).
  • Control styles. palette::Controls names each control's shape (text boxes, check boxes, buttons, progress bars, scroll bars, the focus mark, the title bar); the style themes (Metro, Adwaita, Breeze, Luna, Aero, Aqua, Emerald) pick theirs, and on Windows VDM then draws the title bar itself (the caption.* roles).
  • ملفات السمة. themefile.rs يقرأ TOML أو JSON من مجلد البيانات themes (ملف واحد، أو <id>/theme.toml مع أيقونات بجانبه). يسمي الملف ما يغيره فقط؛ يأتي الباقي من السمة التي inherits (معرف مدمج أو ملف آخر، المظهر الكلاسيكي افتراضيا)، عبر سلسلة يرفض فيها التدوير. المفاتيح غير المعروفة هي تحذيرات، وليست أخطاء. سمات النمط المدمجة هي أيضا مثل هذه الملفات، محمولة في البرنامج (crates/app/assets/themes).
  • مجموعات الأيقونات. themeicons.rs يرسم أيقونات السمة (المسماة حسب الغرض منها: tb-add-url، cat-music...، SVG أو PNG بحجم 16، 24، 32، و48 بكسل، أيقونات -symbolic ملونة بلون النص) حيث يرسم المظهر الكلاسيكي أيقوناته الخاصة؛ الحاجة التي تفتقر إليها المجموعة تحتفظ بالأيقونة الكلاسيكية.

يبقى موضع عناصر التحكم في النافذة كما هو. وكذلك الأيقونات قبل أسماء الملفات (fileicons.rs): قوائم صور نظام Windows shell، قوائم macOS Finder (NSWorkspace)، سمة أيقونات سطح مكتب Linux (xdgicons.rs، shared-mime-info ومواصفات سمة الأيقونات). يتم البحث عن كل نوع مرة واحدة لكل حجم بكسل، على خيط خلفي. أيقونات Tango (المضمنة) تحل محلها حتى تصبح أيقونة النظام جاهزة، وفي أي مكان لا يملك فيه النظام أيقونة.

الرسم

The windows are drawn with OpenGL (eframe's glow) or with the system's own graphics API through eframe's wgpu, with that one backend only: Direct3D 12 on Windows (the default there), Vulkan on Linux, Metal on macOS (choices there; OpenGL stays their default until real graphics cards have tried them, #206). View → Draw with picks one, from the next start. One code path does it on every system (crates/app/src/renderer.rs): when the chosen one can't start, the other one is tried, so the windows always open. A watched start with the system's API leaves a marker until its first frame is drawn: a start that ends before it (a crash inside the driver), one whose first frame doesn't come within 10 seconds (VDM then starts again with OpenGL), or a graphics card lost twice in 10 minutes is remembered with its reason, which the menu shows. A way that can't start within 10 minutes of a lost card isn't remembered: its driver may still be resetting (#1974: Direct3D 12 then finds only WARP), so the next start tries it again. With OpenGL, a window eframe can't paint (its context can't be made current on it, its frame can't be shown) is skipped and painted again 100 ms later; one whose paints keep failing for seconds is a lost device too (VDM starts again; twice in 10 minutes, OpenGL is remembered as failing on Windows). wgpu-core unwraps some of the driver's results instead of calling the device-lost callback (#2128: PendingWrites::activate on Direct3D 12's DXGI_ERROR_DEVICE_REMOVED): the panic hook (crash.rs) hands such a panic, from wgpu's own code, to the same loss handling (renderer::lost_panic), so it starts VDM again rather than end it with a report. On Windows, a freeze or a crash whose report shows the window's or the crashed thread inside OpenGL's driver is remembered too, by the crash report's window (crashui.rs), from the stack's modules (#847, #1659). The fork's eframe tells VDM through its viewport hooks (gl_paint_failed, #1448).

عرض → حجم الواجهة (scale.rs، #262) هو عامل تكبير egui على مقياس الشاشة الخاص: يتم ترتيب كل نافذة بالنقاط، لذا تفتح بهذا الحجم الأكبر؛ النافذة الأكبر من الشاشة يتم تمريرها.

«عرض» → «الخط» (theme.rs، #1489) منفصل: ملف الخط الذي يرسم به نص الواجهة (interface_font في settings.json؛ Segoe UI، خط النظام نفسه، ما لم يتم اختياره) وinterface_text_size، النسبة المئوية لأحجام السمة التي يرسم بها النص. theme::font_size هو المكان الوحيد الذي تأتي منه الأحجام، لأنماط نص egui ولعناصر تحكم Win32 المرسومة خصيصا على حد سواء (winui::tahoma)؛ قياسات التخطيط نفسها لا تتغير، لذلك يمكن أن يفيض النص حيث تكون النافذة ضيقة، ولكن لا شيء يتحرك. على Windows، يرسم DirectWrite rasterizer (win32::classic_text) الملف المختار أيضا، ويعاد بناء أطلس الرسوم البيانية عندما يتغير الخط.

البيانات

يتم حفظ قائمة التنزيلات والإعدادات بشكل ذري في مجلد البيانات (downloads.json): %APPDATA%\voltdownloadmanager\ على Windows، ~/.local/share/voltdownloadmanager على Linux، ~/Library/Application Support/voltdownloadmanager على macOS، مجلد data بجانب نسخة محمولة، أو VDM_DATA_DIR (vdm_ipc::data_dir). يقرأ مضيف المستعرض نفس الملف لقواعد الالتقاط، لذا فإن التغيير في الخيارات ينطبق على التنزيل الملتقط التالي.

Sign-in secrets (debrid accounts, Sites Logins' and the proxy's passwords) live in the system's keychain (secrets.rs, #44): Windows Credential Manager (win32.rs), the Secret Service on Linux or the macOS keychain (unix.rs). The settings keep a keychain:<service>/<scope>/<key> reference in their place, written only once the keychain has confirmed the secret; without a keychain (or with a locked one, never unlocked for VDM) the secret stays in the settings as before.

موقع خادم التنزيل (#140) هو بلد العنوان الذي اتصل به، ويتم البحث عنه في جدول vdm-geo على هذا الكمبيوتر (countries.rs يسميه بلغة الواجهة)؛ تعيد مهمة الإصدار بناء الجدول من بيانات الشهر (tools/geo/build.py --release).

تكامل المتصفح

page ──► extension ──native messaging──► vdm-nmhost ──ipc──► app

يطلب الملحق من المضيف أنواع الملفات التي يجب أخذها، ويتحقق من كل تنزيل مقابلها، ويلغي تنزيل المستعرض فقط بعد أن يقبله التطبيق؛ وإلا يحتفظ المستعرض به، ويذكر الملحق السبب.

الرسالة إلى المضيف لا تتجاوز 1 ميغابايت (vdm_ipc::MAX_MESSAGE؛ يرفض المضيف أكثر، ولا يسمح المستعرض للمضيف بالرد بأكثر من ذلك أيضا). تذهب روابط الصفحة التي تتجاوزها في أجزاء، يقاس كل جزء بأوسع ما يكتبه المستعرض (wireSize في background.js) ويحمل مرجع الصفحة وملفات تعريف الارتباط ومكانها (vdm_ipc::LinksPart)؛ يسلم المضيف كل جزء كما يأتي، ويحتفظ التطبيق بها (linkparts.rs) حتى يدخل آخر جزء، ثم يفتح ملتقط الروابط بالقائمة بأكملها.

The toolbar button's popup lists VDM's newest downloads (#1496). While it is open, background.js keeps one native port to the host (connectNative: one helper process, not one per question) and asks every second {"recent": …}; the host asks the running app (vdm_ipc::RecentAsk), which answers with vdm_ipc::api::RecentAnswer: the newest downloads that match the search and the filter, the counts of each filter, and the system's icons for the file types the popup lacks (fileicons.rs, PNG data: addresses, each type once per size), the whole within 512 KB. The popup's buttons send {"downloadAct": …} (vdm_ipc::RecentAct): the app opens the file or its folder, puts the file on the clipboard or opens the share sheet (fileclip.rs, each system's own calls in win32.rs and unix.rs). Neither question starts the app. The toolbar button's count of running downloads comes from the same answers, watched while any runs. With downloads sent to another VDM, the list is its remote control's (api/list), cut to the same view in background.js.

The host serves only VDM's own extension. Its IDs are in one place, vdm_ipc::extension (crates/ipc/src/extension.rs): the unpacked copy's (UNPACKED_ID, from the manifest's public key), the Chrome Web Store's (STORE_ID, signed with the store's own key: pack.ps1 leaves the manifest's key out of the store's copy), the Firefox add-on's (FIREFOX_ID) and its addons.mozilla.org page; the Edge and Opera stores' are placeholders, never served, until the extension is listed there. The host writes each browser's manifest with those IDs, and the app offers the store's copy (Add to Chrome, Add to Firefox) before the unpacked one.

التحكم عن بعد

phone ──HTTPS (paired token)──► vdm-remote ──ipc::Sink──► app (answer, remote_add)

--headless(headless.rs، #157) يشغل نفس App بدون eframe: حلقة تستدعي tick الخاص به (ما يشغله logic في كل إطار) على egui::Context مجرد، يتم إيقاظه بواسطة قناة الأوامر، ولا تستدعي ui الخاص به أبدا؛ تضاف الأوامر كما يضيفها جهاز التحكم عن بعد (لا توجد نافذة). يشغله Dockerfile وdocker/ (Compose، قالب Unraid) على خادم (server.md).

يعمل الخادم على وقت تشغيل Tokio الخاص بالتطبيق، مستمع واحد لكل عنوان شبكة محلية. يتم فحص كل طلب (Host، Origin، الرمز)، ويتم تحويله إلى vdm_ipc::Command معلما بـ remote (حقل لا يمكن لسطر الطلب تعيينه) ويتم تسليمه إلى التطبيق عبر نفس القناة مثل سطر الأوامر؛ يجيب التطبيق عليه في إطاره التالي، كما يجيب على واجهة برمجة تطبيقات الأتمتة. يتم بناء صفحته داخليا (crates/remote/web) وتأتي نصوصه من كتالوجات التطبيق (remote.rs).

الترجمات

يمر كل نص تعرضه واجهة المستخدم عبر crate::i18n (كتالوجات craft-i18n، i18n/<locale>.tsv). يعيد tools/i18n/extract.py بناء i18n/en.tsv من المصدر، مع ملاحظة للمترجمين على كل نص (ما هو، أين يظهر، عناصره النائبة). يملأ tools/i18n/translate.py ما تفتقر إليه الكتالوجات الأخرى (الصفوف المميزة بـ #, machine)، باتباع دليل أسلوب كل لغة (i18n/style/) والمسرد؛ لا يستبدل الصف الذي راجعه شخص أبدا، ويفشل CI (reviewed_guard.py) أي تغيير يسقط واحدا. يحتوي الموقع على كتالوجاته الخاصة (i18n/site/، tools/website/translate_site.py).

الصور

The help pages' pictures (docs/images/help/) come from one list, tools/shots/shots.toml: tools/shots/make.py opens each window through VDM's own /show <window> command line in a test instance off the screen, crops and annotates it from the window's accessibility tree, and writes lossless WebP; make.py check (CI) keeps the list, the pages and the files in step. The published ones are taken on GitHub's Windows runner (docs-shots.yml).

المساهمون

tools/contributors.pyيقرأ من فتح طلبات السحب والمشكلات، ومن علق، من واجهة برمجة تطبيقات GitHub العامة (مع استبعاد المشرف وكلود والروبوتات) لكل مكان يشكرهم: الصفحة الرئيسية للموقع، /contributors.html وكل إصدار في صفحة الأخبار (build.py، في كل بنية)، وملاحظات كل إصدار (release.yml، الأشخاص النشطون منذ الإصدار السابق) وملف README (python tools/contributors.py readme عند إعداد كل إصدار: يتم تضمين صوره الدائرية في art/contributors/، نظرا لأن GitHub لا يمكنه تقريب صورة في ملف README).

الاختبارات والمعايير

cargo testيشغل اختبارات الوحدات والتنزيلات الشاملة مقابل vdm-labserver مع أخطاء محقونة (اتصالات بطيئة، متقطعة ومرفوضة، خوادم بدون نطاقات، ملفات متغيرة). tools/bench يشغل مقارنة السرعة المنشورة؛ بياناتها الخام موجودة في docs/bench/.

مجاني، مفتوح المصدر، بدون إعلانات، بدون فترة تجريبية.

Download Volt Download Manager