misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux
Rust bittorrent-clientdebriddownload-acceleratordownload-managerdownloadmanagereguifile-downloadergallery-dlidmidm-alternativeinternet-download-managerm3u8-downloadermagnetplaylist-downloaderreal-debridrusttorrent-clientvideo-downloaderyoutube-downloaderyt-dlp
Website: a page for every feature, tiles of them all on the home page, and a Themes page (#260) (#261)
Ahmed Nefzaouic592a1df191c
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 795d179c..1923ad09 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -22,6 +22,12 @@ Each release's notes on GitHub come from its section here (`## [X.Y.Z]`, see### Added+- **The website: a page for every feature, and a Themes page**+ ([#260](https://github.com/anefzaoui/misterdownloadmanager/issues/260)): each feature has a page+ of its own, with the real window, where to find it in the app, since which version, and what it+ can't do yet; the home page lists them all, by group. The Themes page shows every built-in theme+ in its light and dark side, and how to make your own theme file, try it without building MDM,+ and share it, with a prompt to give an AI assistant. What isn't in a release yet says so.- **Run MDM on a server** ([#157](https://github.com/anefzaoui/misterdownloadmanager/issues/157)):`misterdownloadmanager --headless` runs MDM without a window (a home server, a NAS, Docker,Unraid), its folders and port set by flags or the environment; a `Dockerfile`, a Compose filediff --git a/DESIGN.md b/DESIGN.mdindex 2eacb97a..ad03c03b 100644--- a/DESIGN.md+++ b/DESIGN.md@@ -322,6 +322,18 @@ Stamp Ink caps at width 70%, 900 weight, a 2.5px rule plus a 1.5px outline offse### Language DialogA Lift sheet, 12px corners, with an ink title band; a grid of flag, native name (isolated with `bdi`) and English name; the current language ringed in ink on Paper Grey. It slides up 14px over .28s on a navy backdrop.+### Coming Sticker (in transit)+What is in the source but not in a download yet: a paper sticker, ink text, a 1.5px **dashed** ink rule just inside its edge (in transit, like the race's dashed lane before the file moves), a clock icon, "Coming with version 0.5" and a fine line naming the current release. Three sizes from one builder (`build.py coming_banner`): on a page (Sheet shadow, on the board), on a section (Paper Grey, inside prose), on a tile (a 12px tag). Never green: nothing is delivered yet. One setting (`UPCOMING`) shows or removes them all.++### Contents (the packing list)+Every feature in one labelled sheet: an ink band ("Contents", the count in fine print), then one row per group, the group's field name in the start column and its features in a ruled grid (1px hairlines between cells, no card per item, no icons). Each cell is a link: the name at 17.5px/750 width 86%, its one line in ink-2, an arrow that moves 3px on hover, the coming tag when it applies. The home page and /features/ show the same sheet.++### Feature Parcel+A feature page's first view repeats the home's memorable moment at a smaller scale: the real window on the board (Lift, natural size, never upscaled) with a small waybill stuck across its lower end corner, tilted 1.6deg (mirrored in RTL), carrying the facts as fields (In the app, Since, Postage: Free, Full guide). Without a screenshot the label stands alone. Under 980px the label sits under the window's foot, overlapping it by 18px.++### Theme Tiles+Paper tiles two to a row, each its screenshot (light or dark: the switch above the grid chooses, the site's theme by default) over a 1.5px ink rule, then the name and its feel. Rows share their heights (subgrid). The last tile is empty: no paper, a 2px dashed outline on the board, a dashed plus, "Make your own theme". The three make-your-own steps are numbered at poster scale (900, width 68%), because their order is the instruction.+## Do's and Don'ts### Do:diff --git a/ROADMAP.md b/ROADMAP.mdindex ae48b993..4b3346bd 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -331,6 +331,11 @@ Everything below ships together, in one release, as version 0.3.0.inside the page ([#169](https://github.com/anefzaoui/misterdownloadmanager/issues/169))- ✅ Help opens the website's help pages, in the interface language when the website has it([#227](https://github.com/anefzaoui/misterdownloadmanager/issues/227))+- ✅ Website: a page for every feature, old and new, with its real window, where it is in the app+ and what it can't do yet; tiles of them all on the home page; and a+ [Themes](https://misterdownloadmanager.com/themes.html) page with every built-in theme, light and+ dark, and how to make, try and share your own+ ([#260](https://github.com/anefzaoui/misterdownloadmanager/issues/260))### Being builtdiff --git a/docs/images/help/site-gallery-dark.webp b/docs/images/help/site-gallery-dark.webpnew file mode 100644index 00000000..ab7af82aBinary files /dev/null and b/docs/images/help/site-gallery-dark.webp differdiff --git a/docs/images/help/site-gallery.webp b/docs/images/help/site-gallery.webpnew file mode 100644index 00000000..b47a337fBinary files /dev/null and b/docs/images/help/site-gallery.webp differdiff --git a/docs/images/help/site-theme-adwaita-dark.webp b/docs/images/help/site-theme-adwaita-dark.webpnew file mode 100644index 00000000..af4d4d53Binary files /dev/null and b/docs/images/help/site-theme-adwaita-dark.webp differdiff --git a/docs/images/help/site-theme-adwaita.webp b/docs/images/help/site-theme-adwaita.webpnew file mode 100644index 00000000..12155f48Binary files /dev/null and b/docs/images/help/site-theme-adwaita.webp differdiff --git a/docs/images/help/site-theme-aero-dark.webp b/docs/images/help/site-theme-aero-dark.webpnew file mode 100644index 00000000..7d3610d3Binary files /dev/null and b/docs/images/help/site-theme-aero-dark.webp differdiff --git a/docs/images/help/site-theme-aero.webp b/docs/images/help/site-theme-aero.webpnew file mode 100644index 00000000..e3a69598Binary files /dev/null and b/docs/images/help/site-theme-aero.webp differdiff --git a/docs/images/help/site-theme-aqua-dark.webp b/docs/images/help/site-theme-aqua-dark.webpnew file mode 100644index 00000000..a960fb0aBinary files /dev/null and b/docs/images/help/site-theme-aqua-dark.webp differdiff --git a/docs/images/help/site-theme-aqua.webp b/docs/images/help/site-theme-aqua.webpnew file mode 100644index 00000000..c0475be6Binary files /dev/null and b/docs/images/help/site-theme-aqua.webp differdiff --git a/docs/images/help/site-theme-breeze-dark.webp b/docs/images/help/site-theme-breeze-dark.webpnew file mode 100644index 00000000..9f8b2f61Binary files /dev/null and b/docs/images/help/site-theme-breeze-dark.webp differdiff --git a/docs/images/help/site-theme-breeze.webp b/docs/images/help/site-theme-breeze.webpnew file mode 100644index 00000000..f604e2aeBinary files /dev/null and b/docs/images/help/site-theme-breeze.webp differdiff --git a/docs/images/help/site-theme-classic-dark.webp b/docs/images/help/site-theme-classic-dark.webpnew file mode 100644index 00000000..9375c6beBinary files /dev/null and b/docs/images/help/site-theme-classic-dark.webp differdiff --git a/docs/images/help/site-theme-classic.webp b/docs/images/help/site-theme-classic.webpnew file mode 100644index 00000000..6e051e0cBinary files /dev/null and b/docs/images/help/site-theme-classic.webp differdiff --git a/docs/images/help/site-theme-high-contrast-dark.webp b/docs/images/help/site-theme-high-contrast-dark.webpnew file mode 100644index 00000000..d498823dBinary files /dev/null and b/docs/images/help/site-theme-high-contrast-dark.webp differdiff --git a/docs/images/help/site-theme-high-contrast.webp b/docs/images/help/site-theme-high-contrast.webpnew file mode 100644index 00000000..aa2037c6Binary files /dev/null and b/docs/images/help/site-theme-high-contrast.webp differdiff --git a/docs/images/help/site-theme-luna-dark.webp b/docs/images/help/site-theme-luna-dark.webpnew file mode 100644index 00000000..962ec80cBinary files /dev/null and b/docs/images/help/site-theme-luna-dark.webp differdiff --git a/docs/images/help/site-theme-luna.webp b/docs/images/help/site-theme-luna.webpnew file mode 100644index 00000000..2efa99a7Binary files /dev/null and b/docs/images/help/site-theme-luna.webp differdiff --git a/docs/images/help/site-theme-metro-dark.webp b/docs/images/help/site-theme-metro-dark.webpnew file mode 100644index 00000000..e74fbfe8Binary files /dev/null and b/docs/images/help/site-theme-metro-dark.webp differdiff --git a/docs/images/help/site-theme-metro.webp b/docs/images/help/site-theme-metro.webpnew file mode 100644index 00000000..092a372fBinary files /dev/null and b/docs/images/help/site-theme-metro.webp differdiff --git a/docs/images/help/site-theme-native-dark.webp b/docs/images/help/site-theme-native-dark.webpnew file mode 100644index 00000000..d5cbff31Binary files /dev/null and b/docs/images/help/site-theme-native-dark.webp differdiff --git a/docs/images/help/site-theme-native.webp b/docs/images/help/site-theme-native.webpnew file mode 100644index 00000000..62c543ccBinary files /dev/null and b/docs/images/help/site-theme-native.webp differdiff --git a/tools/shots/make.py b/tools/shots/make.pyindex 499fa1cf..2cb05bca 100644--- a/tools/shots/make.py+++ b/tools/shots/make.py@@ -290,6 +290,17 @@ def check(shots: list[dict]) -> int:bad = []ids = {s["id"] for s in shots}for s in shots:+ # A picture of the website's own (its Themes page, its feature pages): the file that+ # lists it, which the site builds its alt text and caption from.+ if s["page"].startswith("website/"):+ site = ROOT / s["page"]+ if not site.is_file():+ bad.append(f"{s['id']}: no {s['page']}")+ elif f"images/help/{s['id']}.webp" not in site.read_text("utf-8"):+ bad.append(f"{s['id']}: not in {s['page']}")+ if not (OUT / f"{s['id']}.webp").is_file():+ bad.append(f"{s['id']}: {(OUT / (s['id'] + '.webp')).relative_to(ROOT)} missing")+ continuepage = DOCS / s["page"]if not page.is_file():bad.append(f"{s['id']}: no page {s['page']}")diff --git a/tools/shots/shots.toml b/tools/shots/shots.tomlindex 9b19129f..94658a5d 100644--- a/tools/shots/shots.toml+++ b/tools/shots/shots.toml@@ -3,7 +3,8 @@# in step. See tools/shots/README.md.## id the file: docs/images/help/<id>.webp (light) and <id>-dark.webp-# page the docs page it is on, and `under` the heading it sits under+# page the docs page it is on, and `under` the heading it sits under; or a website file+# (website/...) that lists it for the site's own pages# take what to open, as tools/lab/docs-shots.ps1 -Show takes it: a /show argument# ("options:connection"), "@main", "@menu:<show argument>" (a menu, over the main# window), "@download:<lab server path>" (Download File Info, as a browser hands a@@ -621,3 +622,95 @@ crop = [18, 172, 380, 208]ring = ["Test browser integration..."]alt = "Options, General with Test browser integration..."caption = "Test browser integration... says whether the browser reaches MDM."++# ---- The website (misterdownloadmanager.com) ------------------------------------------------------+# Pictures the site's own pages show (tools/website/build.py), not a help page: `page` names the+# website file that lists them, where `make.py check` looks for "images/help/<id>.webp".++[[shot]]+id = "site-theme-classic"+page = "website/content/themes.toml"+take = "theme:classic+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Classic theme"+caption = "Classic"++[[shot]]+id = "site-theme-native"+page = "website/content/themes.toml"+take = "theme:native+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Native theme"+caption = "Native"++[[shot]]+id = "site-theme-high-contrast"+page = "website/content/themes.toml"+take = "theme:high-contrast+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the High contrast theme"+caption = "High contrast"++[[shot]]+id = "site-theme-metro"+page = "website/content/themes.toml"+take = "theme:metro+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Metro theme"+caption = "Metro"++[[shot]]+id = "site-theme-adwaita"+page = "website/content/themes.toml"+take = "theme:adwaita+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Adwaita theme"+caption = "Adwaita"++[[shot]]+id = "site-theme-breeze"+page = "website/content/themes.toml"+take = "theme:breeze+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Breeze theme"+caption = "Breeze"++[[shot]]+id = "site-theme-luna"+page = "website/content/themes.toml"+take = "theme:luna+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Luna theme"+caption = "Luna"++[[shot]]+id = "site-theme-aero"+page = "website/content/themes.toml"+take = "theme:aero+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Aero theme"+caption = "Aero"++[[shot]]+id = "site-theme-aqua"+page = "website/content/themes.toml"+take = "theme:aqua+@main"+# The title bar, the menus, the toolbar, the categories and the list's rows: the theme's look.+crop = [0, 0, 930, 300]+alt = "The main window in the Aqua theme"+caption = "Aqua"++[[shot]]+id = "site-gallery"+page = "website/content/features/galleries.md"+take = "gallery"+alt = "Download a gallery: a gallery's address, gallery-dl offered for install, the folder its files go to and how many at most"+caption = "Download a gallery"diff --git a/tools/website/build.py b/tools/website/build.pyindex dd030a4b..7aeba9cd 100644--- a/tools/website/build.py+++ b/tools/website/build.py@@ -52,6 +52,11 @@ CWS = "https://chromewebstore.google.com/detail/mister-download-manager/ejoleppd# (the app's Help menu and About, the extension's popup and .github/FUNDING.yml point there too).SPONSORS = "https://github.com/sponsors/anefzaoui"NAME = "Mister Download Manager"+# The next release, as the site announces it. What is in the source but not in a download yet+# says "Coming with version <this>" (coming_banner(): the feature pages, the Themes page, the+# features' tiles), shown for a feature whose `since` is this version or later. At that release+# set it to "" and every banner goes at once; a published release at or past it hides them too.+UPCOMING = "0.5"CARGO_VERSION = re.search(r'(?m)^version\s*=\s*"([^"]+)"', (ROOT / "Cargo.toml").read_text("utf-8")).group(1)@@ -233,6 +238,10 @@ ICONS = """<svg width="0" height="0" class="defs" aria-hidden="true"><symbol id="i-heart" viewBox="0 0 24 24"><path d="M12 20.5s-8.5-5-8.5-11A4.5 4.5 0 0 1 12 6.6a4.5 4.5 0 0 1 8.5 2.9c0 6-8.5 11-8.5 11z"/></symbol><symbol id="i-tag" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round" d="M3 12V4h8l10 10-8 8z"/><circle cx="7.5" cy="8.5" r="1.5"/></symbol><symbol id="i-moon" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" d="M20 14.5A8 8 0 0 1 9.5 4a8 8 0 1 0 10.5 10.5z"/></symbol>+ <symbol id="i-clock" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/></g></symbol>+ <symbol id="i-plus" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" d="M12 5v14M5 12h14"/></symbol>+ <symbol id="i-copy" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="2" stroke-linejoin="round"><rect x="8" y="8" width="12" height="12" rx="2"/><path d="M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3"/></g></symbol>+ <symbol id="i-arrow" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M5 12h14M13 6l6 6-6 6"/></symbol><symbol id="i-sun" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"><circle cx="12" cy="12" r="4"/><path d="M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4"/></g></symbol><symbol id="p-https" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="10.5" width="14" height="10" rx="2"/><path d="M8 10.5V8a4 4 0 0 1 8 0v2.5M12 14.5v2.5"/></g></symbol><symbol id="p-ftp" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7h6l2 2h10v10H3z"/><path d="M12 16v-5m-2.5 2.5L12 11l2.5 2.5"/></g></symbol>@@ -244,7 +253,8 @@ ICONS = """<svg width="0" height="0" class="defs" aria-hidden="true"></svg>"""NAV = [- ("Features", "/#features", "home"),+ ("Features", "/features/", "features"),+ ("Themes", "/themes.html", "themes"),("Download", "/download.html", "download"),("Help", "/help/", "help"),("FAQ", "/faq/", "faq"),@@ -401,7 +411,8 @@ def footer() -> str:<li><a href="/download.html#macos">macOS</a></li><li><a href="/download.html#linux">Linux</a></li><li><a href="/download.html#extension">Browser extension</a></li>- <li><a href="/#features">Features</a></li>+ <li><a href="/features/">Features</a></li>+ <li><a href="/themes.html">Themes</a></li><li><a href="/benchmark.html">Benchmark</a></li><li><a href="/idm-alternative.html">Free IDM alternative</a></li></ul>@@ -1088,6 +1099,9 @@ def fill(text: str) -> str:text = text.replace("<!--@stores-->", store_buttons()).replace("<!--@amo-->", amo_button())text = text.replace("<!--@cws-->", cws_button())text = text.replace("{{AMO}}", AMO).replace("{{CWS}}", CWS)+ if "<!--@features-->" in text:+ text = text.replace("<!--@features-->", manifest(feature_list()))+ text = coming_marks(text.replace("<!--@coming-->", coming_banner()))text = text.replace("<!--@fields-->", waybill_fields()).replace("<!--@barcode-->", barcode.svg(f"MDM {VERSION}"))return (text.replace("{{VERSION}}", VERSION).replace("{{REPO}}", REPO).replace("{{SITE}}", SITE).replace("{{SPONSORS}}", SPONSORS).replace("{{SOFTWARE_LD}}", json.dumps(SOFTWARE_LD, ensure_ascii=False, separators=(",", ":"))))@@ -1107,6 +1121,331 @@ def build_templated(name: str, path: str, section: str, priority: str) -> None:PAGES.append((path, priority))+# ---- Features: website/content/features/*.md, and the Themes page --------------------------------++FEATURES_DIR = CONTENT / "features"+# The features' groups, in the order the tiles and the index show them.+GROUPS = [("downloading", "Downloading"), ("organising", "Organising"), ("network", "Network"),+ ("app", "The app")]+# docs/images files the feature and theme pages show (copied to /help/images/ as the help's are).+FEATURE_IMAGES: set[str] = set()+++def vparts(v: str) -> tuple[int, ...]:+ return tuple(int(x) for x in re.findall(r"\d+", v or "")) or (0,)+++def upcoming() -> str:+ """UPCOMING while it is still to come: "" once it is unset or a release at or past it is out."""+ return UPCOMING if UPCOMING and vparts(VERSION) < vparts(UPCOMING) else ""+++def is_coming(since: str) -> bool:+ """First in UPCOMING (or later): in the source, not in the download yet."""+ up = upcoming()+ return bool(up) and vparts(since) >= vparts(up)+++def coming_banner(kind: str = "page") -> str:+ """The one "Coming with version 0.5" mark, wherever something isn't in the download yet: on+ a page ("page"), on a part of one ("section"), on a tile ("tag"). Empty once UPCOMING is out+ (see UPCOMING), so every one goes at once."""+ up = upcoming()+ if not up:+ return ""+ if kind == "tag":+ return f'<span class="coming coming-tag"><svg aria-hidden="true"><use href="#i-clock"/></svg>Coming with version {up}</span>'+ note = (f"It's in the source code now, not yet in the download (version {VERSION})." if kind == "page"+ else f"This part isn't in the download (version {VERSION}) yet.")+ return (f'<p class="coming coming-{kind}"><svg aria-hidden="true"><use href="#i-clock"/></svg>'+ f'<span><b>Coming with version {up}</b> <small>{note}</small></span></p>')+++def coming_marks(text: str) -> str:+ """<!--@coming 0.5--> in a page: the section's banner while that version is to come."""+ return re.sub(r"(?:<p>\s*)?<!--@coming ([\d.]+)-->(?:\s*</p>)?",+ lambda m: coming_banner("section") if is_coming(m.group(1)) else "", text)+++def feature_list() -> list[dict]:+ """Every feature file's front matter (and its body), by group, then `order`."""+ out = []+ for f in sorted(FEATURES_DIR.glob("*.md")):+ meta, body = front(f.read_text("utf-8"))+ meta = {k.strip(): v.strip() for k, v in meta.items()}+ for key in ("name", "line", "group", "order", "since"):+ if not meta.get(key):+ sys.exit(f"{f.relative_to(ROOT)}: no {key}")+ if meta["group"] not in dict(GROUPS):+ sys.exit(f"{f.relative_to(ROOT)}: group {meta['group']!r} isn't one of {[g for g, _ in GROUPS]}")+ meta.update(slug=f.stem, body=body, file=f, href=meta.get("href") or f"/features/{f.stem}.html")+ out.append(meta)+ rank = {g: i for i, (g, _) in enumerate(GROUPS)}+ return sorted(out, key=lambda m: (rank[m["group"]], int(m["order"])))+++def picture(src: str, alt: str, lazy: bool = False) -> str:+ """A screenshot and its night version, the site's theme choosing which shows: `images/...`+ (docs/images, as the help pages have them) or `/assets/screens/<x>-light.webp` (the home+ page's)."""+ load = ' loading="lazy" decoding="async"' if lazy else ' decoding="async"'+ if src.startswith("/assets/"):+ dark = src.replace("-light.", "-dark.")+ size = image_size(WEB / src.lstrip("/"))+ dsize = image_size(WEB / dark.lstrip("/")) if dark != src else None+ url, durl = src, dark+ else:+ name = src.removeprefix("images/")+ size = image_size(ROOT / "docs" / "images" / name)+ d = dark_of(name)+ dsize = image_size(ROOT / "docs" / "images" / d) if d else None+ url, durl = f"/help/images/{name}", f"/help/images/{d}"+ FEATURE_IMAGES.update({name} | ({d} if d else set()))+ if not size:+ sys.exit(f"picture {src}: no such picture")+ dims = f' width="{size[0]}" height="{size[1]}"'+ if not dsize:+ return f'<img src="{url}"{dims} alt="{esc(alt)}"{load}>'+ return (f'<img class="for-light" src="{url}"{dims} alt="{esc(alt)}"{load}>'+ f'<img class="for-dark" src="{durl}" width="{dsize[0]}" height="{dsize[1]}" alt="{esc(alt)}" loading="lazy" decoding="async">')+++def manifest(feats: list[dict], heading: str = "h3") -> str:+ """Every feature in one ruled packing list, by group, each a link to its page: the home+ page's contents and /features/."""+ rows = []+ for g, label in GROUPS:+ items = "".join(+ f'<li><a href="{m["href"]}"><b>{esc(m["name"])}</b><span>{esc(m["line"])}</span>'+ f'{coming_banner("tag") if is_coming(m["since"]) else ""}'+ f'<svg class="mf-arrow" aria-hidden="true"><use href="#i-arrow"/></svg></a></li>'+ for m in feats if m["group"] == g)+ rows.append(f'<div class="mf-group"><{heading} class="mf-name">{label}</{heading}>'+ f'<ul class="mf-list" role="list">{items}</ul></div>')+ soon = sum(is_coming(m["since"]) for m in feats)+ fine = f"{len(feats)} features, every one free" + (f" · {soon} coming with version {upcoming()}" if soon else "")+ return (f'<div class="sheet sheet-labelled manifest"><p class="sheet-band"><b>Contents</b>'+ f'<span>{fine}</span></p>{"".join(rows)}</div>')+++def site_md(text: str) -> str:+ """A feature page's Markdown, written as docs/ pages are (their links and pictures), as HTML."""+ here = ROOT / "docs" / "x.md"+ text = re.sub(r"(!?\[[^\]]*\])\(([^)\s]+)\)", lambda m: f"{m.group(1)}({doc_link(m.group(2), here)})", text)+ used = set(re.findall(r"/help/images/([\w./-]+)", text))+ FEATURE_IMAGES.update(used | {d for d in map(dark_of, used) if d})+ return coming_marks(help_figures(md(text)))+++def help_href(ref: str) -> str:+ page, _, frag = ref.partition("#")+ return doc_link(page, ROOT / "docs" / "x.md") + (f"#{frag}" if frag else "")+++def feature_label(m: dict) -> str:+ """A feature's facts in the waybill's field grammar, stuck on its picture."""+ if is_coming(m["since"]):+ since = f'<dd>Version {esc(upcoming())} <small>coming</small></dd>'+ else:+ since = f'<dd><a href="/news.html#v{esc(m["since"])}">Version {esc(m["since"])}</a> <small>and later</small></dd>'+ rows = []+ if m.get("where"):+ where = re.sub(r"`([^`]+)`", r'<code translate="no">\1</code>', esc(m["where"]))+ rows.append(f'<div class="wide"><dt>In the app</dt><dd>{where}</dd></div>')+ rows.append(f"<div><dt>Since</dt>{since}</div>")+ rows.append('<div class="pair"><dt>Postage</dt><dd>Free</dd></div>')+ if m.get("help"):+ rows.append(f'<div class="wide"><dt>Full guide</dt><dd><a href="{help_href(m["help"])}">Step by step in the help</a></dd></div>')+ return (f'<aside class="waybill feature-label" aria-label="At a glance"><div class="wb-band">'+ f'<img src="/assets/logo-64.png" width="32" height="32" alt=""><span class="wb-from"><b>{esc(m["name"])}</b>'+ f'<small>Mister Download Manager</small></span></div><dl class="fields">{"".join(rows)}</dl></aside>')+++def build_features() -> None:+ feats = feature_list()+ index_trail = [("Home", "/"), ("Features", "/features/")]+ for m in feats:+ if m["href"] != f"/features/{m['slug']}.html":+ continue # a feature with a page of its own elsewhere (Themes)+ for key in ("title", "headline", "lede", "description"):+ if not m.get(key):+ sys.exit(f"{m['file'].relative_to(ROOT)}: no {key}")+ path = m["href"]+ trail = index_trail + [(m["name"], path)]+ shot = (f'<figure class="feature-shot" data-lightbox>{picture(m["shot"], m.get("shot_alt") or m["name"])}</figure>'+ if m.get("shot") else "")+ others = [x for x in feats if x["group"] == m["group"] and x is not m]+ more = "".join(f'<li><a href="{x["href"]}">{esc(x["name"])}</a></li>' for x in others)+ group = dict(GROUPS)[m["group"]]+ body = f"""{page_head(esc(m["headline"]), esc(m["lede"]), trail)}+ <div class="wrap feature-top">+ {coming_banner() if is_coming(m["since"]) else ""}+ <div class="feature-parcel{"" if shot else " no-shot"}">{shot}{feature_label(m)}</div>+ </div>+ <div class="wrap narrow page-body prose feature-body">+ {site_md(m["body"])}+ <aside class="related more-features"><h2>More in {esc(group)}</h2><ul>{more}<li><a href="/features/">Every feature</a></li></ul></aside>+ {page_tools(f"website/content/features/{m['slug']}.md", path, m["name"])}+ {cta_band()}+ </div>"""+ ld = [crumbs_ld(trail), {"@context": "https://schema.org", "@type": "WebPage", "name": m["title"],+ "description": m["description"], "inLanguage": "en",+ "about": {"@type": "SoftwareApplication", "name": NAME}}]+ write(path, f'{m["title"]} — {NAME}', m["description"], body, section="features", jsonld=ld, priority="0.7")+ body = f"""{page_head("Everything it does", "Every feature has a page of its own: what it does, where it is in the app, and the real window. All of it is free, in every copy.", index_trail)}+ <div class="wrap features-index">+ {manifest(feats, "h2")}+ </div>"""+ write("/features/", f"Features — {NAME}",+ f"Every feature of {NAME}: acceleration and resume, the browser extension, video, torrents, the scheduler, the link grabber, themes and more.",+ body, section="features", jsonld=[crumbs_ld(index_trail)], priority="0.8")+++# ---- Themes: website/content/themes.toml, and the theme file format from the app's own code -----++THEME_SAMPLE = '''name = "Harbour"+inherits = "classic"+icons = "color"++[seeds.light]+background = "#eef3f6"+surface = "#ffffff"+text = "#11202b"+accent = "#0f6c8c"++[seeds.dark]+background = "#14212a"+surface = "#0e171d"+text = "#e8f0f4"+accent = "#5cc3e6"++[sizes]+radius = 6++[controls]+focus = "ring"'''+++def theme_keys() -> dict[str, list[tuple[str, str]]]:+ """The keys a theme file can set, read from crates/app/src/palette.rs (the colour roles and+ the sizes with their descriptions, the control styles), so the page never drifts from what+ the app reads (themefile.rs)."""+ src = (ROOT / "crates" / "app" / "src" / "palette.rs").read_text("utf-8")+ keys = re.findall(r'(?m)^\s+[a-z_0-9]+: "([a-z0-9.-]+)", "([^"]+)" =', src)+ sizes = [k for k in keys if k[0] in ("border", "focus-line") or k[0].startswith(("radius", "chevron.width", "font.", "list.row", "list.header", "tooltip."))]+ colors = [k for k in keys if k not in sizes]+ styles: dict[str, list[str]] = {}+ for k, v in re.findall(r'\("([a-z-]+)", "([a-z-]+)"\) =>', src):+ styles.setdefault(k, []).append(v)+ if len(colors) < 50 or len(sizes) < 5 or len(styles) < 4:+ sys.exit("crates/app/src/palette.rs: the theme keys couldn't be read (build.py theme_keys)")+ return {"colors": colors, "sizes": sizes, "controls": [(k, ", ".join(v)) for k, v in styles.items()]}+++def keys_table(rows: list[tuple[str, str]], head: str) -> str:+ body = "".join(f'<tr><td><code translate="no">{esc(k)}</code></td><td>{esc(d)}</td></tr>' for k, d in rows)+ return f'<div class="table-wrap"><table class="keys"><thead><tr><th>Key</th><th>{head}</th></tr></thead><tbody>{body}</tbody></table></div>'+++def build_themes() -> None:+ import tomllib+ data = tomllib.loads((CONTENT / "themes.toml").read_text("utf-8"))+ themes = data["theme"]+ keys = theme_keys()+ since = next(m["since"] for m in feature_list() if m["href"] == "/themes.html")+ tiles = []+ for i, th in enumerate(themes):+ tag = coming_banner("tag") if th.get("tag") and is_coming(since) else ""+ note = f'<p class="theme-note">{esc(th["note"])}</p>' if th.get("note") else ""+ tiles.append(f"""<li class="theme-tile">+ <figure class="theme-shot" data-lightbox>{picture(th["shot"], f"The main window in the {th['name']} theme", lazy=i > 3)}{note}</figure>+ <div class="theme-text"><h3>{esc(th["name"])}</h3><p>{esc(th["feel"])}</p>{tag}</div>+ </li>""")+ tiles.append("""<li class="theme-tile theme-own"><a href="#make-your-own">+ <span class="theme-plus"><svg aria-hidden="true"><use href="#i-plus"/></svg></span>+ <span class="theme-text"><b>Make your own theme</b><span>A text file of colours and sizes, tried in seconds. Three steps.</span></span></a></li>""")+ prompt = (CONTENT / "theme-prompt.txt").read_text("utf-8").strip()+ builtin = ", ".join(f"<code>{esc(t['id'])}</code>" for t in themes if t["id"] != "native"+ and (ROOT / "crates" / "app" / "assets" / "themes" / f"{t['id']}.toml").is_file())+ trail = [("Home", "/"), ("Themes", "/themes.html")]+ themes_dir = f"{REPO}/tree/main/crates/app/assets/themes"+ body = f"""{page_head("The same window, your way", "View → Theme changes how MDM looks at once and keeps everything where it was. Pick one of the built-in looks, each with a light and a dark side, or make your own in a text file.", trail)}+ <div class="wrap themes">+ {coming_banner()}+ <div class="themes-bar">+ <p>{len(themes)} built-in themes · light and dark</p>+ <div class="variant-seg" role="group" aria-label="Show the themes" data-variant-switch hidden>+ <button type="button" aria-pressed="true" data-variant="light">Light</button><button type="button" aria-pressed="false" data-variant="dark">Dark</button>+ </div>+ </div>+ <ul class="theme-grid" role="list" data-variant-grid>+ {"".join(tiles)}+ </ul>+ </div>+ <div class="wrap narrow page-body prose make-own" id="make-your-own">+ <h2>Make your own theme</h2>+ <p>A theme is one small text file, in <a href="https://toml.io/">TOML</a> (or JSON). It names only what it changes; everything else comes from the theme it builds on. You don't need to build MDM or know how to program.</p>+ <ol class="make-steps">+ <li id="make-it"><h3>Make it</h3>+ <p>Start with a few colours, then add more as you go:</p>+ <pre><code translate="no">{esc(THEME_SAMPLE)}</code></pre>+ <ul>+ <li><code>inherits</code> is the theme yours starts from: <code>classic</code> (the default), {builtin}, or another theme file in the same folder.</li>+ <li><code>[seeds]</code> are a handful of colours (<code>background</code>, <code>surface</code>, <code>header</code>, <code>text</code>, <code>accent</code>, <code>selection</code>, <code>error</code>, <code>warning</code>, <code>success</code>) that MDM spreads over every control. <code>[seeds.light]</code> and <code>[seeds.dark]</code> give each side its own.</li>+ <li><code>[colors]</code> sets single colour roles on both sides, <code>[light]</code> and <code>[dark]</code> on one side only: <code>#rrggbb</code>, or <code>#rrggbbaa</code> with transparency.</li>+ <li><code>[sizes]</code> are corner radii, border widths, font sizes and row heights, in pixels. <code>[controls]</code> chooses the shape of text boxes, check boxes, buttons, progress bars, scroll bars, the focus mark and the title bar.</li>+ <li><code>icons</code> is <code>color</code>, <code>mono</code> or <code>accent</code>. A theme in a folder of its own (<code>my-theme/theme.toml</code>) can bring its icons in <code>icons/16</code> and <code>icons/24</code>, each named for what it shows (<code>tb-add-url.svg</code>, <code>cat-music.png</code>); <code>-symbolic</code> ones take the theme's text colour.</li>+ <li><code>contrast = "high"</code> strengthens every edge and text colour on top.</li>+ </ul>+ <p>A key MDM doesn't know, or a value it can't read, is skipped and written to MDM's log (the <code>logs</code> folder beside the themes folder), so a file made for a newer MDM still loads. The built-in themes are written the same way: <a href="{themes_dir}">read them on GitHub</a>.</p>+ <details class="keys-ref"><summary>Every colour role ({len(keys["colors"])})</summary>{keys_table(keys["colors"], "What it colours")}</details>+ <details class="keys-ref"><summary>Every size ({len(keys["sizes"])})</summary>{keys_table(keys["sizes"], "What it sets")}</details>+ <details class="keys-ref"><summary>Every control style ({len(keys["controls"])})</summary>{keys_table(keys["controls"], "Its styles")}</details>+ <h4 id="ai-prompt">Or let an AI assistant write it</h4>+ <p>Copy this prompt into your AI assistant and describe the look you want at its end. It gives the assistant the format, the keys and the rules: readable text and a visible focus in both sides, and nothing copied from anyone else's artwork. Look at both sides yourself before you share the result.</p>+ <div class="prompt-box">+ <button class="btn btn-line copy-btn" type="button" data-copy="theme-prompt" hidden><svg class="os-ico" aria-hidden="true"><use href="#i-copy"/></svg><span data-copy-label>Copy the prompt</span></button>+ <pre id="theme-prompt"><code translate="no">{esc(prompt)}</code></pre>+ </div>+ </li>+ <li id="try-it"><h3>Try it, without building MDM</h3>+ <p>Put the file in MDM's themes folder. <b>View → Theme → Open themes folder</b> opens it, and makes it the first time. It is in MDM's data folder:</p>+ <dl class="fields os-paths">+ <div><dt>Windows</dt><dd><code translate="no">%APPDATA%\\misterdownloadmanager\\themes</code></dd></div>+ <div><dt>Linux</dt><dd><code translate="no">~/.local/share/misterdownloadmanager/themes</code></dd></div>+ <div><dt>macOS</dt><dd><code translate="no">~/Library/Application Support/misterdownloadmanager/themes</code></dd></div>+ <div><dt>Portable copy</dt><dd><code translate="no">data\\themes</code> beside the program</dd></div>+ </dl>+ <p>Within two seconds it shows in <b>View → Theme</b>, under the built-in themes, by the <code>name</code> it gives itself. Pick it and the whole window changes at once. After you edit the file, pick it again in <b>View → Theme</b> to see the change. <b>View → Dark Mode support</b> and <b>Always dark</b> switch between its light and dark side.</p>+ </li>+ <li id="share-it"><h3>Share it</h3>+ <p>Made something others would like? Open a <a href="{REPO}/pulls">pull request on GitHub</a> that adds it to <a href="{themes_dir}"><code>crates/app/assets/themes</code></a>, with:</p>+ <ul>+ <li>the <code>.toml</code> file, and its folder of icons if it has one;</li>+ <li>screenshots of the main window in its light and its dark side;</li>+ <li>a <code>SOURCES.txt</code> beside any icons, saying who drew them and under which licence. Icons must be your own or under a licence that lets MDM share them (GPL-3.0), never copied from another program.</li>+ </ul>+ <p>Not sure yet? <a href="{REPO}/discussions">Show it in the discussions</a> first. The <a href="/contributing.html">contributing guide</a> explains how pull requests work here.</p>+ </li>+ </ol>+ {page_tools("website/content/themes.toml", "/themes.html", "Themes")}+ {cta_band()}+ </div>"""+ write("/themes.html", f"Themes — {NAME}",+ f"{len(themes)} built-in looks for {NAME}, each light and dark: "+ + ", ".join(t["name"] for t in themes) + ". Or make your own in a text file.",+ body, section="themes", jsonld=[crumbs_ld(trail)], priority="0.7")+++def copy_feature_images() -> None:+ dst = OUT / "help" / "images"+ for name in FEATURE_IMAGES:+ src = ROOT / "docs" / "images" / name+ if src.is_file():+ (dst / name).parent.mkdir(parents=True, exist_ok=True)+ shutil.copy2(src, dst / name)++# ---- For AI assistants and search: llms.txt, llms-full.txt (llmstxt.org) ----------------------def build_llms() -> None:@@ -1203,6 +1542,9 @@ def main() -> None:build_languages()build_repo_pages()build_content_pages()+ build_features()+ build_themes()+ copy_feature_images()build_llms()# The same pages in every language with a catalog (i18n/site/<lang>.json), under /<lang>/.# MDM_SITE_ENGLISH_ONLY=1 (translate_site.py's own build): English pages only.diff --git a/website/content/features/acceleration.md b/website/content/features/acceleration.mdnew file mode 100644index 00000000..5d536cf0--- /dev/null+++ b/website/content/features/acceleration.md@@ -0,0 +1,62 @@+---+name: Acceleration and resume+title: Download acceleration and crash-safe resume+headline: Every connection at once. Picked up where it stopped.+line: A file split over up to 32 connections, re-split until the last byte, and resumed after any crash.+lede: MDM splits a file into parts and downloads them side by side, then keeps every connection busy until the last byte. If the line drops or the computer restarts, the download carries on from where it was.+description: How Mister Download Manager speeds up downloads: up to 32 connections per file, dynamic re-splitting, per-server limits it learns, and crash-safe resume.+group: downloading+order: 10+since: 0.1.0+shot: /assets/screens/progress-light.webp+shot_alt: The progress window: one file over eight connections, each one's share of the file drawn as it fills+where: Options → Connection+help: connections-and-speed.md+---++## No connection sits idle++MDM opens 8 connections by default, and you can set anything from 1 to 32 in **Options →+Connection**. When a connection finishes its part, it takes over half of the largest part still+left, so the work is shared out again and again until the file is done. A connection that falls+far behind the others is dropped and opened again.++The progress window draws it as it happens: a bar of the whole file with each connection's+start and progress, and a table with what every connection is doing right now.++## Measured, not claimed++On the same PC and the same test server, MDM fetched a 1 GiB file in 1.0 s against IDM 6.42's+5.5 s, and a 256 KiB file in 0.03 s against 3.1 s: the medians of alternating runs. The+[benchmark page](/benchmark.html) has every run, the method and the raw data.++More connections help only where a server sends each one at a limited speed. Most servers allow+a few connections per address, and MDM notices when one says no: it stops asking that server+for more and lists what it learned under **Exceptions** in **Options → Connection**. You can set+a number for a server yourself there too.++## More than 32, if you want them++<!--@coming 0.5-->++**Allow more than 32 connections** in **Options → Connection** raises the limit to 128 per+download, for server exceptions too. The command line's `-c` takes 1 to 128.++## Resume that survives a crash++MDM saves how far each part has got as it goes. A download picks up where it stopped after you+pause it, after the connection drops, or after Windows or MDM itself crashes. A connection that+fails is retried on its own, and the table shows **Retrying** with the reason.++Before it continues, MDM checks that the file on the server is still the same one, so a changed+file never gets stitched onto an old half. When a server can't send a file in parts, the+progress window says **Resume capability: No** before you rely on it.++## Straight to disk++Each connection writes directly into the file's place on disk, in a part file next to the+final one. There is no temporary folder and no joining step at the end: when the last part+arrives, MDM checks the size and renames the file.++[Resume a broken download](guide-resume-broken-download.md) shows what to do when a link has+expired.diff --git a/website/content/features/accessibility.md b/website/content/features/accessibility.mdnew file mode 100644index 00000000..bbb698e8--- /dev/null+++ b/website/content/features/accessibility.md@@ -0,0 +1,59 @@+---+name: Accessibility+title: Accessible download manager: screen readers and full keyboard use+headline: Every window, from the keyboard. Read aloud.+line: Works with Narrator and NVDA, and everything can be done from the keyboard, menus and dialogs included.+lede: MDM works with screen readers such as Narrator and NVDA, which hear what each control is and its state. Everything can be done from the keyboard, with the keys most Windows programs use.+description: Mister Download Manager works with screen readers (Narrator, NVDA) and from the keyboard alone: menus, dialogs, the download list and the Categories tree.+group: app+order: 350+since: 0.2.2+shot: images/help/main-window.webp+shot_alt: The main window: the menu bar, the toolbar, the categories on the left and the download list on the right+where: Help → Keyboard shortcuts+help: keyboard-shortcuts.md+---++## Screen readers know what is on screen++Every window of MDM, its dialogs and menus included, tells a screen reader what each control is,+its name and its state. The download list reads each download's name, status and size, so you+know what is running and how far it has got without looking.++The help names Windows' screen readers, Narrator and NVDA. If you use a screen reader on Linux+or macOS, please [tell us how it goes](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose).++## No mouse needed++The keys are the ones Windows users already know. **Ctrl+N** adds a download, **Ctrl+F** finds+one, **Enter** opens it and **Alt+Enter** shows its **Properties**. **F10** or **Alt** opens the+menus, and the underlined letters run their items. **Shift+F10** or the **Menu** key opens the+selected download's menu. **Tab** moves between the **Categories** tree and the list, and the+tree answers the arrow keys.++In dialogs, **Tab** moves between controls, the arrows go through radio groups and tab strips,+**Ctrl+Tab** changes tabs, and typing a name jumps to it in any list or drop-down. **Add URL**'s+address and **Save As** keep a history you can walk with **Up** and **Down**, and the Scheduler's+calendar works from the keyboard. On a Mac, **⌘** takes the place of **Ctrl**.++## The keys are written down++Every menu shows each command's keys beside it, and **Help → Keyboard shortcuts** lists them+all. The [keyboard shortcuts](keyboard-shortcuts.md) page has the same list, window by window.+Focus rings appear when you use the keyboard, and the focus moves on, or comes back, when a+button greys itself or Escape closes a drop-down, so **Tab** never starts over at the top.++## Every row, and easier to read++<!--@coming 0.5-->++The **Categories** pane will read as a tree, each category with its count, open or shut, and the+menu bar and every right-click menu as menus whose items can be run. Screen readers will reach+every row of a list, not only those in view, with its place ("12 of 40"), and lists such as Download video's qualities and Add torrent's files will read with their+names and ticks. A window will show its contents the first time a screen reader reads it, and a+drop-down's choice can be set by its text. In dark mode, grey notes and error texts will have the+4.5:1 contrast WCAG asks for. **View → Theme** adds **High contrast**: black and white, a bright+accent, every edge drawn, text at 7:1 or more (see [themes](/themes.html)).+++*The High contrast theme.*diff --git a/website/content/features/ai-assistants.md b/website/content/features/ai-assistants.mdnew file mode 100644index 00000000..2f02bdc7--- /dev/null+++ b/website/content/features/ai-assistants.md@@ -0,0 +1,54 @@+---+name: AI assistants+title: Control your downloads from an AI assistant (MCP server)+headline: Ask your assistant. MDM does the downloading.+line: Claude, Cursor, VS Code and other MCP assistants can list, add, pause and resume your downloads.+lede: MDM comes with an MCP server, so an AI assistant that supports MCP can work with the downloads in your running MDM. You ask in your own words, and it lists, adds, pauses or resumes them.+description: Mister Download Manager's MCP server lets Claude, Cursor, VS Code and other AI assistants list, add, pause and resume downloads, on this PC only.+group: app+order: 370+since: 0.2.0+where: `misterdownloadmanager-mcp`, beside the app+help: ai-assistants.md+---++## Ask in plain words++With the server set up, you can ask your assistant things like "What is MDM downloading right+now, and how long is left?", "Download this ISO to my ISOs folder tonight, don't start it yet",+or "Remove the finished downloads from the list but keep the files". The assistant turns that+into requests to MDM and tells you what happened.++It works with assistants that support MCP, the Model Context Protocol: Claude Desktop, Claude+Code, Cursor, VS Code and others.++## What it can do, and what it can't++The assistant can list your downloads with their status, size, progress and speed, and filter+them by status or by name. It can add an http, https, ftp or ftps address and start it or only+queue it, in the folder and under the name you say. A magnet link opens **Add torrent** in MDM,+for you to choose the files. It can pause, resume and remove downloads, deleting the files only+when asked, and start the main download queue.++It can't change MDM's options, see your browser, or turn on MDM's automation API by itself. MDM+has to be running: the server can't start it for you.++## Set up once++The server, `misterdownloadmanager-mcp`, sits next to the app on Windows, macOS and Linux (on+Linux use the `.deb`, `.rpm` or `.tar.gz`: the AppImage doesn't expose it). You turn on the+automation API once with `misterdownloadmanager-cli api on`, then tell your assistant where the+server is. The assistant starts it by itself from then on. The [set-up+guide](ai-assistants.md#set-it-up) has the path for each kind of install and the exact entry for+Claude Desktop, Claude Code, Cursor and VS Code.++Without the API, the assistant can still add downloads, as MDM's [command+line](/features/command-line.html) can.++## Know where your data goes++MDM itself still sends nothing anywhere: the server talks only to the MDM on this computer, over+a token-protected local channel. But what the assistant reads, it passes on to its own AI+service. When it lists your downloads, their file names, addresses and folders go to that+service, under that service's privacy terms. Turn the API off with `misterdownloadmanager-cli+api off`, or remove the server from the assistant, when you don't want that.diff --git a/website/content/features/archives.md b/website/content/features/archives.mdnew file mode 100644index 00000000..22778de0--- /dev/null+++ b/website/content/features/archives.md@@ -0,0 +1,57 @@+---+name: Archives extracted+title: Extract ZIP, 7z and RAR archives automatically+headline: Downloaded, then unpacked. No extra step.+line: ZIP, TAR and more extracted as they arrive, 7z and RAR with 7-Zip, split archives once complete.+lede: MDM can unpack an archive as soon as its download completes, or when you ask. A split archive waits for its last part, and nothing already on your disk is overwritten.+description: Mister Download Manager extracts ZIP, TAR, GZ and XZ archives itself, and 7z and RAR with 7-Zip, as soon as they finish downloading.+group: organising+order: 140+since: 0.5+shot: images/help/options-archives.webp+shot_alt: Options on its Archives page: Extract archives when their download completes, Then move the archives to the Recycle Bin, where an archive's files go, the 7-Zip found, and Link grabber's look-ups+where: Options → Archives+help: link-grabber.md#extracting-archives+---++## Unpacked when it lands++Tick **Extract archives when their download completes** in **Options → Archives** (it is off by+default), and every archive is extracted as soon as it is in. Or right-click a finished archive+and choose **Extract**. A split archive, such as `movie.part1.rar` and the parts after it, is+extracted once, when its last volume arrives.++## The formats you meet++MDM itself extracts ZIP files, AES-encrypted and Deflate64 ones too, TAR, TAR.GZ and TAR.XZ+archives, and single GZ and XZ files.++7z and RAR archives need 7-Zip, a free program. MDM uses it when it is installed, for split and+encrypted archives too. **Options → Archives** says whether it was found; when it wasn't, the+**7-Zip needed** window says so, with a **Get 7-Zip** button. RAR's own extraction code can't be+part of a free program like MDM, which is why it asks 7-Zip.++## Careful with your disk++The files go next to the archive, into a folder named after it when it holds several things (or+always, or never: you choose in Options). A file that is already there is kept, and the new one+is numbered: `report (1).txt`.++A name that would lead outside the folder is left out, and so is a link to somewhere else on the+disk. An archive that would write far more than its size, or more than the disk has room for,+stops before it fills it. Extracted files are marked as coming from the internet, as the archive+is, so Windows still warns before running a program from them. The archive itself goes to the+Recycle Bin (the Trash on macOS and Linux) only if you ask.++## Packages that know their archives++In [Link grabber](link-grabber.md), the volumes of one archive form one package. Each package+has its folder, the archives' password, **Extract when done** (ticked by itself when the package+holds an archive) and **Delete archives after extracting**. The password is kept in memory only,+never written to disk.+++*Link grabber: untick what you don't want, then Add to queue.*++An encrypted archive without its password opens the **Archive password** window. Hover over the+download in the list to read what happened: how many files were extracted and where, or why not.diff --git a/website/content/features/batch.md b/website/content/features/batch.mdnew file mode 100644index 00000000..ca2fd977--- /dev/null+++ b/website/content/features/batch.md@@ -0,0 +1,55 @@+---+name: Batch downloads+title: Batch download numbered files and lists of links+headline: A whole numbered series from one address.+line: One address with an asterisk fetches a numbered series; a text file of links adds them all.+lede: Files named photo001.jpg to photo150.jpg don't need 150 clicks. Write the address once with an asterisk where the number changes, and MDM queues every file. A list of links in a text file goes in just as easily.+description: Batch downloads in Mister Download Manager: a numbered series of files from one address with an asterisk, or every link in a text file at once.+group: downloading+order: 80+since: 0.1.0+shot: images/help/batch.webp+shot_alt: Batch download: an address with an asterisk, what replaces it, and the first, second and last file+where: Tasks → Add batch download+help: adding-downloads.md#batch-download-many-numbered-files+---++## One asterisk, a whole series++Choose **Tasks → Add batch download** and write the address with one asterisk where the files+differ: `https://example.com/photo*.jpg`. Under **Replace asterisk to**, choose **Numbers** or+**Letters**, then **From** and **To**. For numbers, **Wildcard size** sets the number of digits:+with 3, the files are `photo001.jpg`, `photo002.jpg` and so on.++Before you click **OK**, the window shows the **First file**, **Second file** and **Last file**,+so a typo shows up before anything downloads. If the server needs a login, tick **Use+authorization**. Copied the address already? **Tasks → Add batch download from clipboard** fills+it in.++## Straight into a queue++The files go to a queue, not all at once. MDM asks which one, and that question can be turned+off in **Options → Downloads**. From there the queue runs as many files at a time as you set,+and the Scheduler can start it at night. See [Queues and the Scheduler](queues-and-scheduler.md).++## A list of links from a file++Have the links already, in a text file? **Tasks → Import → From text file** reads every web+address in it, and you untick the ones you don't want. **From IDM export file** reads an `.ef2`+list, with each download's referrer and cookies, so a list exported from IDM comes over with+what its downloads need. You can also drop a `.txt` or `.ef2` list on the download list.++The other way works too: **Tasks → Export → To text file** writes one address per line, and+**To IDM export file** writes an `.ef2` list.++When an address is already in the list, MDM asks what to do, or follows the answer you chose in+**Options → Downloads → If a duplicate download link is added**.++## Imports with more to see++<!--@coming 0.5-->++Imported lists open in [Link grabber](/features/link-grabber.html): the links sorted into+packages, each one checked online with its real name and size, and offline links unticked. A+batch download of links from a file host goes through your+[debrid account](/features/debrid.html) when its service supports the host.diff --git a/website/content/features/browser-extension.md b/website/content/features/browser-extension.mdnew file mode 100644index 00000000..a2636197--- /dev/null+++ b/website/content/features/browser-extension.md@@ -0,0 +1,69 @@+---+name: Browser extension+title: Browser extension that sends downloads to a download manager+headline: Click a download. MDM takes it from there.+line: Downloads you click in Chrome, Edge, Brave, Opera, Vivaldi or Firefox go straight to MDM, sign-in included.+lede: The free MDM extension hands each download you click over to MDM, with the page it came from and your sign-in for the site. A button over videos sends them to MDM too.+description: The Mister Download Manager extension for Chrome, Edge, Brave, Opera, Vivaldi and Firefox: downloads you click go to MDM with their cookies.+group: downloading+order: 20+since: 0.1.0+shot: images/help/catch-file-info.webp+shot_alt: Download File Info in MDM for a file clicked in the browser+where: Options → General → Use advanced browser integration+help: browser-integration.md+---++## The browser's downloads, in MDM++Click a download link and **Download File Info** opens in MDM instead of the browser's own+download bar. MDM gets the address together with the page it came from, your cookies for the+site and the browser's User-Agent, so a download that needs you to be signed in still works.+The browser's copy is cancelled and taken off its download list.++You decide what MDM takes. **Options → File types** lists the file types it catches (ZIP, RAR,+EXE, ISO, MP4, PDF and many more) and the sites it leaves alone, and **Options → General** has+the browsers it takes downloads from. Everything else stays with the browser.++MDM doesn't need to be running first: the browser starts it. If MDM can't be reached at all, the+download stays with the browser, so nothing is lost.++## Right-click, or the button over a video++Right-click a link, a picture, a video or a sound and choose **Download with Mister Download+Manager**: MDM downloads it whatever its type.+++*The button over a video. Drag it along the edge; it stays where you put it.*++Point at a video and a small **Download video** button appears at its edge. It opens MDM's+**Download video from a page** window with the qualities on offer (see+[video downloads](/features/video.html)). You can hide it on one video or one site, or turn it+off in **Options**.++## Installed from the store, kept up to date++Install MDM with its setup and keep **Set up browser integration** ticked. Then add the+extension: Firefox 140 or later takes it from addons.mozilla.org, and Chrome, Edge, Brave, Opera+and Vivaldi from the Chrome Web Store. The browser keeps it updated.++Some limits, plainly: the portable copy can't connect to a browser, since it writes nothing+outside its folder. The Chrome Web Store copy shows no button over YouTube videos, which the+store's policy forbids; **Tasks → Download video from a page** still takes any page.++## More of the browser, in the next version++<!--@coming 0.5-->++- **The toolbar button** says whether the browser reaches MDM, and **How to fix it** opens the+ help for the reason.+- **Media on this page** lists the video streams and the video and sound files a page has+ loaded, so a video with no link can still be saved. Copy-protected streams are listed as+ **Protected** and never sent.+- **Download all links** and **Download selected links** send a page's links to+ [Link grabber](/features/link-grabber.html).+- PDFs, music and videos the browser would open itself, and downloads from forms, go to MDM+ too. Hold **Alt** while clicking to let the browser have one.+- Browsers built on Firefox or Chromium, such as Zen, LibreWolf, Floorp, Waterfox and Helium,+ reach MDM. Flatpak browsers on Linux can't start MDM's helper.+- **Test browser integration...** in **Options → General** checks MDM's side.diff --git a/website/content/features/categories.md b/website/content/features/categories.mdnew file mode 100644index 00000000..3e72a1d1--- /dev/null+++ b/website/content/features/categories.md@@ -0,0 +1,60 @@+---+name: Categories+title: Download categories by file type+headline: Every file in its folder, without asking.+line: Downloads sorted by type into folders of their own, with Finished and Unfinished one click away.+lede: MDM files each download by its type, music with music and programs with programs, each category with a folder of its own. The pane on the left shows them all, finished or not.+description: Categories in Mister Download Manager: each file type in its own folder, Finished and Unfinished at a glance, and categories of your own.+group: organising+order: 130+since: 0.1.0+shot: /assets/screens/main-light.webp+shot_alt: The main window: the Categories pane on the left with All Downloads, Unfinished, Finished and Queues, and the download list on the right+where: The Categories pane; right-click a category+help: download-list.md#categories+---++## Every file finds its folder++A download falls into a category by its file type: **General**, **Compressed**, **Documents**,+**Music**, **Programs** or **Video**, and torrents into **Torrents**. Each category has its own+folder inside your Downloads folder, so a ZIP file lands in `Downloads\Compressed` and a film in+`Downloads\Video` without you choosing.++Pick another folder in **Download File Info** and, by default, it becomes the category's folder+from then on. **Options → Save to** shows each category's file types and folder in one place.++## Finished and unfinished, at a glance++The pane on the left has four branches. **All Downloads** holds everything, **Unfinished** what+isn't complete yet and **Finished** what is, each by category. **Queues** lists each queue. The+top branches show how many downloads they hold, and right-click → **Browse** opens a category's+folder.+++*All Downloads, Unfinished, Finished and Queues, each by category.*++MDM opens where you left it, with the same branches open and the same category shown. **View →+Hide categories** gives the list the whole window.++## Make your own++Right-click → **Add category** makes one for what you collect, say **Books** for `EPUB MOBI`:+a name, the file types separated by spaces (`*` allowed) and a folder. Change it later with+**Properties**, or remove it with **Delete**. The files stay where they are.++## The built-in ones are yours too++<!--@coming 0.5-->++**Compressed**, **Documents**, **Music**, **Programs** and **Video** can be renamed, given other+file types or deleted, like your own. A renamed category keeps its folder. Deleting one asks what+happens to its downloads: move them to **General**, or take them off the list. Their files stay+either way.+++*Right-click a category → Properties: its name, file types and folder.*++Changed your mind? **Options → Save to → Restore the built-in categories** brings them back as+they came, and leaves your own categories alone. **General** and **Torrents** still change only+their folder.diff --git a/website/content/features/checksums.md b/website/content/features/checksums.mdnew file mode 100644index 00000000..9f6f6242--- /dev/null+++ b/website/content/features/checksums.md@@ -0,0 +1,49 @@+---+name: Verify checksum+title: Verify a download's checksum (MD5, SHA-256)+headline: Make sure it's the file they published.+line: Paste the checksum a site publishes, and MDM says plainly whether your file matches it.+lede: Many sites publish a checksum next to a download. Paste it into MDM and it tells you in plain words whether the file you got is the one they meant.+description: Check a download against its published MD5, SHA-1, SHA-256, SHA-512 or CRC32 checksum in Mister Download Manager, from the list or the command line.+group: organising+order: 150+since: 0.1.0+where: Right-click a download → Verify checksum...+help: download-list.md#verify-checksum+---++## Paste it, get a plain answer++A checksum is a short code worked out from a file's contents, published so you can tell that+the copy you downloaded is the right one. Right-click a download in the list, choose **Verify+checksum...** and paste the code from the site. MDM answers **The file matches** or **The file+does NOT match**. Nothing to install, and no command to type.++## The common kinds, read as they are++MDM reads MD5, SHA-1, SHA-256, SHA-512 and CRC32 checksums. Paste the code as the site shows it:+there is no list to pick the kind from, as MDM tells them apart by their length.++## Ask before it's done++A finished file is checked at once. Ask while it is still downloading, and MDM checks it when the+download ends. You can paste the code as soon as the download starts, and come back to the+answer.++## From the command line too++The command line's `get` takes `--checksum` and checks the finished file: the code in hex, on its+own or named, as in `sha256:…`. One command downloads the file and checks it:++```+misterdownloadmanager-cli get https://example.com/big.iso -o D:\Downloads --checksum sha256:9f86d0…+```++The [command line guide](command-line.md) lists everything `get` takes.++## MDM checks its own downloads too++The same care goes into what MDM fetches for itself. The helpers it can install for videos are+verified before they run: yt-dlp against its developers' signing key, ffmpeg against its+published checksums. MDM's own updates install only files listed in a checksum list signed with+MDM's release key, which every release carries.diff --git a/website/content/features/command-line.md b/website/content/features/command-line.mdnew file mode 100644index 00000000..fa840e7c--- /dev/null+++ b/website/content/features/command-line.md@@ -0,0 +1,67 @@+---+name: Command line+title: Download manager command line and automation API+headline: Scripts welcome. IDM's switches included.+line: IDM's command-line switches, a terminal downloader with JSON output, and a local API for other programs.+lede: MDM takes IDM's command-line switches, so scripts written for IDM can hand it their downloads. A separate tool downloads in a terminal, and a local API lets other programs see and control the running app.+description: Mister Download Manager's command line: IDM's /d /p /f /a /n /s switches, a terminal downloader with --json, and a local automation API.+group: app+order: 360+since: 0.1.0+where: `misterdownloadmanager-cli`, in MDM's folder+help: command-line.md+---++## IDM's switches, unchanged++The app understands the same switches as IDM: `/d` for the address, `/p` for the folder, `/f`+for the file name, `/a` to queue it without starting, `/n` to skip the **Download File Info**+window, and `/s` to start the main download queue. A batch file or another program that drives+IDM this way can drive MDM by changing the program's name.++```+misterdownloadmanager.exe /d https://example.com/files/report.pdf /p D:\Reports /n+```++If MDM is running, the command goes to it; if not, MDM starts and carries it out. On macOS and+Linux the program has the same name, without `.exe`.++## A downloader for the terminal++`misterdownloadmanager-cli` comes with every download of MDM and works without the app running.+`get` downloads a file over several connections with a progress line, **Ctrl+C** pauses it and+`resume` carries on later. `video-get` downloads a video, and `torrent-get` a torrent or only some+of its files. `video-info` and `torrent-info` say what there is to choose before you download.+`misterdownloadmanager-cli help <command>` lists every option, and a command that fails exits+with code 1.++## JSON for scripts and programs++With `--json`, every command prints JSON, one object per line: a progress line every half second+while a file downloads, then the path, size and time when it's done. Sizes are in bytes, speeds+in bytes per second, and a failure prints an error object, so a script or an AI agent reads the+result without parsing text. The [formats](command-line.md#json-for-scripts-and-programs) are+listed command by command.++## An API for the running app++Other programs can ask the running app for its downloads, as JSON, and pause, start, remove or+delete them. They connect to a port on this computer only, with a secret token that changes at+every start and that only your own programs can read. The API is off until you turn it on with+`misterdownloadmanager-cli api on`, and `status`, `pause`, `start`, `remove` and `delete` use it+from the command line.++Every request and answer is described field by field in a [JSON+Schema](/automation-api.schema.json), made from the code the app answers with, so programs can+check what they send or generate their types from it. AI assistants use the same API through+MDM's [MCP server](/features/ai-assistants.html).++## More to script++<!--@coming 0.5-->++`playlist-get` downloads a playlist's or channel's videos, and `gallery-get` a picture gallery.+`get` takes up to 128 connections with `-c`, `--dns` to choose who turns names into addresses,+and `--adapter` to send a download through one network adapter or not at all. The app's+`/startup` starts it hidden in the notification area. The API's list also gives the queues, the+categories and the free space, and it starts and stops a queue by name.diff --git a/website/content/features/crash-reports.md b/website/content/features/crash-reports.mdnew file mode 100644index 00000000..ba8ef753--- /dev/null+++ b/website/content/features/crash-reports.md@@ -0,0 +1,63 @@+---+name: Crash reports+title: Crash and freeze reports you read before you send+headline: When something breaks, you see why.+line: A crash or freeze opens a report you read first, then send on GitHub yourself if you want.+lede: If MDM closes unexpectedly or stops responding, a window opens with a report of what happened. You can read all of it, and send it to the developers on GitHub if you want to.+description: Mister Download Manager's crash and freeze reports: readable, free of your addresses and file names, and sent only by you, through your browser and GitHub.+group: app+order: 320+since: 0.2.3+shot: images/crash-report.png+shot_alt: The crash report window after MDM stopped responding+where: Opens by itself when MDM crashes or stops responding+help: crash-reports.md+---++## A crash or a freeze doesn't go unnoticed++A second copy of MDM watches the first. When MDM crashes, the report window says **Mister+Download Manager closed unexpectedly**. When its window hasn't answered for 8 seconds, it says+**Mister Download Manager stopped responding**, and **End and restart MDM** closes the frozen+copy and starts a fresh one. If MDM comes back by itself, the window says so.++The report names what happened and where in MDM's code, so the problem can be found and fixed.+It works on Windows, Linux and macOS.++## You read it first, and you send it++Everything that would be sent is in the window, under **The report**. You can add a few words+under **What were you doing when it happened?**, such as "I opened Add URL".++**Send on GitHub** opens GitHub's crash report form in your browser, already filled in, with the+folder that holds the report. You check it and submit it. That needs a GitHub account. **Nothing+is sent by itself**: there is no background upload and no reporting service, only your browser+and GitHub.++If someone already reported the same problem, the window says so and **Open the reported issue**+takes you there, with your report on the clipboard to add as a comment.++## What it leaves out++A report holds the error, where it happened, MDM's recent log, and your system: MDM's version,+how it was installed, your operating system, the processor, the language and theme, and how many+downloads and queues you have, as counts only.++It does not hold your download addresses or file names, and your user name shows as `~` in+folder paths. If an error message quotes something you typed, that text is in it, which is why+you read it first.++The crash data file (`.dmp`) helps the developers most, but it can hold pieces of what MDM had in+memory, such as addresses, cookies and saved passwords. It is attached only when you tick **Also+attach the crash data**.++## Freeze reports that tell the kind of freeze++<!--@coming 0.5-->++A freeze report will say whether MDM's window ran all along (a loop), waited (on a lock, the disk+or the network), or hardly ran at all. That last kind usually means a computer too busy to run+MDM, most likely not a bug in MDM, and those reports share one signature so they find one issue+instead of many. macOS doesn't measure this yet. The window's title will be in MDM's language+too, and the report will keep its own lines in every language, left to right in Arabic and+Persian.diff --git a/website/content/features/debrid.md b/website/content/features/debrid.mdnew file mode 100644index 00000000..73e4b172--- /dev/null+++ b/website/content/features/debrid.md@@ -0,0 +1,59 @@+---+name: Debrid accounts+title: Real-Debrid, AllDebrid and Premiumize accounts+headline: Your debrid account, with every connection MDM has.+line: File-host links unlocked through Real-Debrid, AllDebrid or Premiumize, then downloaded with MDM's speed and resume.+lede: A debrid service downloads files from file hosts on its own servers and hands back a plain link, without the host's waits, speed caps and captchas. With your account in MDM, that link is downloaded like any file.+description: Use your Real-Debrid, AllDebrid or Premiumize account in Mister Download Manager: file-host links unlocked, then downloaded with every connection.+group: downloading+order: 60+since: 0.5+shot: images/help/options-accounts.webp+shot_alt: Options on its Accounts page: debrid service accounts+where: Options → Accounts+help: debrid.md+---++## The file host's link, MDM's download++Paste a link from a file host your service supports, in **Add URL**, from the browser's+**Download with Mister Download Manager**, or in a batch download. MDM unlocks it through your+account, then downloads it with all its connections, pause and resume. When the direct link+expires, MDM asks the service for a new one.++**Download File Info** says which account a link goes through, such as **Download through+Real-Debrid (your account)**. Untick it to download that one link directly. The command line's+`get` uses your accounts too, and `--direct` skips them.++## Sign in once++**Options → Accounts → Add...** takes **Real-Debrid**, **AllDebrid** and **Premiumize**. Real-Debrid+and AllDebrid sign in with a code you confirm in the browser, or with your API token; Premiumize+with its API key. MDM shows the account's name and whether it is premium. With several accounts,+a link goes through the first one whose service supports its host.++## Torrents without peers++Tick **Send torrents and magnet links to the first account instead of to peers**, and a magnet+link or a `.torrent` file goes to the service. It downloads the torrent on its own servers while+the list shows how far it is (**45% at Real-Debrid**). MDM then fetches the files over HTTP and+removes the torrent from the account's list. Your computer never connects to the torrent's+peers.++## Experimental, and said so++MDM's support was built from each service's public documentation and is not yet confirmed with+a real paid account. If something doesn't work with yours, please open an issue on GitHub, and+never paste your token or key in it.++You need your own paid account with one of these services: MDM doesn't sell or include one.+Sharing an account or its links breaks the services' terms and can get the account suspended.++## Your sign-in stays private++The sign-in is kept in the system's keychain: Windows Credential Manager, the keyring on Linux,+the macOS keychain. Without an unlocked one, it stays in MDM's own settings, and+**Options → Accounts** says where it is. MDM sends a service only the links you download through it, with your token.+The direct link is never shown or copied, since the services forbid sharing it, and the token is+never written to MDM's log, crash reports or the command line's output. MDM asks each service+well under its request limit.diff --git a/website/content/features/dns-proxies.md b/website/content/features/dns-proxies.mdnew file mode 100644index 00000000..d2b8b5a1--- /dev/null+++ b/website/content/features/dns-proxies.md@@ -0,0 +1,67 @@+---+name: DNS and proxies+title: Proxy, SOCKS, PAC and DNS settings+headline: Your network's rules, followed to the letter.+line: The system's proxy, your own, a SOCKS proxy or your network's auto-config script.+lede: MDM goes through the proxy your network needs: the one set in Windows, one you type, a SOCKS proxy or the auto-config script your network gives. Choosing who looks up names comes with version 0.5.+description: Proxy settings in Mister Download Manager: the system's proxy, a manual HTTP or SOCKS5 proxy, PAC scripts, and soon a DNS of your choice over HTTPS or TLS.+group: network+order: 220+since: 0.1.0+shot: images/help/options-proxy.webp+shot_alt: Options on its Proxy / Socks page: No proxy/socks, Use system settings, Use automatic configuration script and Manual proxy/socks configuration+where: Options → Proxy / Socks+help: options.md#proxy-socks+---++## The proxy you already use++**No proxy/socks** connects directly; it is the default. **Use system settings** takes the proxy+set in Windows. **Manual proxy/socks configuration** takes the proxy's address and **Port**, a+**UserName** and **Password** if it needs them, and the protocols it is for. Write a SOCKS proxy+as `socks5://host`. **Get System** fills the fields in from Windows' settings, to adjust from+there.++If your network gives a proxy auto-config (PAC) script, type its address, or pick the file,+under **Use automatic configuration script**. MDM fetches it and asks it which way each download+goes (`PROXY`, `SOCKS` or `DIRECT`), as browsers do. Until it has been fetched, or if it can't be,+MDM uses the system's settings.++FTP never goes through the proxy, so the proxy's **ftp** box stays greyed.++## The browser's VPN extension, followed++<!--@coming 0.5-->++With **Use proxy/socks from a browser's request** (on by default), a download MDM takes from the+browser goes through the proxy the browser used for it: a VPN or proxy extension's, the browser's+own manual proxy, or its auto-config script. Content limited to the VPN's country keeps working.+In Firefox, switch on **Send downloads through this browser's proxy or VPN extension** in the+extension's popup. Chrome, Edge, Brave, Opera and Vivaldi can't hand the proxy over yet: set the+same proxy in MDM there. A proxy that needs the VPN extension's own login can't be shared, and+the download says so rather than going without it.++The proxy's password moves to the system's keychain: Windows Credential Manager, the keyring on+Linux, the macOS keychain.++## Choose who looks up names++<!--@coming 0.5-->++**Options → Connection → DNS** picks who turns names into addresses for downloads, FTP, MDM's own+downloads and the update check: the system's (the default), Cloudflare, Google, Quad9, AdGuard,+NextDNS with your configuration ID, or your own. It is asked over HTTPS (the default) or TLS, so+nobody on the way sees or changes the names you look up, or plainly over TCP. **Test** shows how+long it takes to answer.+++*Options → Connection: the DNS list at the bottom.*++If the DNS can't be reached, the download stops with a message naming it, unless you allow+falling back to the system's DNS. Your hosts file and local names stay with the system's DNS,+and video pages and torrent trackers still use it. The command line's `get` takes `--dns`.++## One adapter for everything++To hold every connection to your VPN, with a kill switch when it drops, see [Network+adapter](/features/network-adapter.html).diff --git a/website/content/features/galleries.md b/website/content/features/galleries.mdnew file mode 100644index 00000000..331091c1--- /dev/null+++ b/website/content/features/galleries.md@@ -0,0 +1,56 @@+---+name: Image galleries+title: Download image galleries with gallery-dl+headline: A whole gallery at once. Only new pictures next time.+line: Paste a gallery's address and MDM saves all its pictures into a folder of their own.+lede: MDM downloads the pictures of a gallery, a Flickr album, a DeviantArt gallery, a Wikimedia Commons category and many more, with gallery-dl, a free program that reads several hundred sites.+description: Download whole image galleries from Flickr, DeviantArt, Imgur, Wikimedia Commons and more with Mister Download Manager and gallery-dl.+group: downloading+order: 40+since: 0.5+shot: images/help/site-gallery.webp+shot_alt: Download a gallery: a gallery's address, gallery-dl offered for install, the folder its files go to and how many at most+where: Tasks → Add new download, with a gallery's address+help: galleries.md+---++## Paste the address, get the pictures++Click **Add URL** and paste a gallery's address. Instead of saving the page as a file, MDM opens+**Download a gallery**. When its line reads **gallery-dl can download this gallery's files**,+check **Save to** and click **Download Now**, or **Later** to add it without starting.++The pictures go into a folder of their own, named after the gallery. Want only a few? Type a+number in **Files at most** to take the first ones the site lists, on most sites the newest.++The gallery gets one row in your download list. Its size grows as the pictures arrive, and its+log says how many were saved.++## Next time, only what is new++Start a finished gallery again with **Resume** and MDM fetches only the pictures that aren't in+its folder yet. The ones you already have are skipped, so following an artist or an album costs+nothing but the new pictures.++## Which sites++Add URL sends these to the gallery window: Wikimedia Commons categories, Flickr photographers and+albums, DeviantArt and ArtStation galleries, Imgur albums, Pixiv artists and works, Pinterest+boards and pins, Danbooru and Gelbooru searches, Tumblr blogs and Bluesky profiles. A picture's+own address, one ending in `.jpg` or `.png`, still downloads as a single file.++## A helper you can check++gallery-dl is an optional helper, like yt-dlp for [videos](/features/video.html). On Windows and+Linux, MDM installs it the first time you need it, from its releases on Codeberg, and only when+the release is signed by its author's key. On macOS, install it with Homebrew or pip and choose+it in **Helpers...**, which also takes your own copy on any system, such as the gallery-dl your+Linux distribution ships (version 1.20 or later).++It asks sites for one picture a second at most, and names itself as MDM, because some servers,+Wikimedia's among them, refuse tools that ask faster or without a name. It uses no+configuration file of yours.++Two things to know: **Stop** keeps the pictures saved so far, and **Delete** takes the gallery+off the list but leaves its folder and pictures on disk. Delete the folder yourself if you want+it gone.diff --git a/website/content/features/import-idm.md b/website/content/features/import-idm.mdnew file mode 100644index 00000000..134a290e--- /dev/null+++ b/website/content/features/import-idm.md@@ -0,0 +1,54 @@+---+name: Moving from IDM+title: Import your download list from IDM+headline: Switching is easy. Bring your downloads with you.+line: Your IDM list comes over in one file, each download with its address, referrer and cookies.+lede: Moving from Internet Download Manager? Export your list there and import it in MDM. Every download comes over with its address, referrer and cookies, into a window laid out the way you know.+description: Move from Internet Download Manager to Mister Download Manager: import an IDM export file (.ef2) or a text list of links, with referrers and cookies.+group: organising+order: 160+since: 0.1.0+shot: images/help/link-grabber.webp+shot_alt: Link grabber listing imported links in packages, with their names, sizes and whether they are online+where: Tasks → Import → From IDM export file+help: adding-downloads.md#a-list-of-links+---++## Your list comes over in one file++In IDM, choose **Tasks → Export → To IDM export file**. In MDM, choose **Tasks → Import → From+IDM export file** and pick that `.ef2` file. Each download comes over with its address, the page+it came from (its referrer) and its cookies. The downloads join the **Main download queue**,+ready to start.++## A plain list of links works too++**Tasks → Import → From text file** reads a text file and picks out every web address in it.+You can also drop a `.txt` or `.ef2` list straight onto the download list. Untick what you don't+want, and add the rest to the queue.++Going the other way is just as easy: **Tasks → Export → To text file** saves one address per+line, and **To IDM export file** writes an `.ef2` file.++## Nothing new to learn++MDM is a separate program, written from scratch, but its windows are laid out the way IDM users+expect: the toolbar, the categories, the download list, the progress window with every+connection, queues and the Scheduler. It is free, with no trial and no sign-up.++IDM is the more mature product, refined over many years. MDM finished faster in [our+benchmark](/benchmark.html): a 1 GiB file in 1.0 s against IDM 6.42's 5.5 s, on the same PC and+the same test server. The [FAQ](/faq/mdm-vs-idm.html) sums up the other differences.++## Choose before you add++<!--@coming 0.5-->++An import opens **Link grabber**, which sorts the links into packages: the volumes of one archive+together, the links of one page together, the rest in **Various files**. Each link is looked up+for its real name, its size and whether the server still has it, and the ones that are gone come+unticked. A link already in your list goes under **Already in the list**, unticked.++**Add to queue** adds the ticked links to the **Main download queue**, as the import always did,+and **Start** starts the queue as well. An `.ef2` file still brings each download's referrer and+cookies. See [Link grabber and archives](link-grabber.md).diff --git a/website/content/features/languages.md b/website/content/features/languages.mdnew file mode 100644index 00000000..fb2074c2--- /dev/null+++ b/website/content/features/languages.md@@ -0,0 +1,59 @@+---+name: 86 languages+title: Download manager in 86 languages, right to left included+headline: Your language, from the first window.+line: Every display language Windows 11 offers, picked by flag, with Arabic, Hebrew and Persian right to left.+lede: MDM speaks 86 languages, every display language Windows 11 offers, from Afrikaans to Vietnamese. In Arabic, Hebrew, Persian, Urdu and Uyghur the whole window runs from right to left.+description: Mister Download Manager in 86 languages: picked by flag, switched at once, right to left for Arabic, Hebrew, Persian, Urdu and Uyghur.+group: app+order: 330+since: 0.1.0+shot: images/help/first-language.webp+shot_alt: The language list on first start: every language with its flag, its own name and its English name+where: View → Language...+help: languages.md+---++## Every language Windows offers++The list covers every display language of Windows 11, including both Chinese scripts, Spanish+for Spain and Mexico, French for France and Canada, Portuguese for Portugal and Brazil, and+Serbian in Cyrillic and Latin. The [languages page](/languages.html) lists them all.++The setup asks for its language first, with Windows' own already selected, and MDM starts in the+one you pick. A zip copy shows the list on its first start instead: each language with its flag,+its own name and its English name. The setup speaks the same languages, and the browser extension+speaks your browser's.++## Change it at any time, no restart++**View → Language...** opens the same list. Type in **Search** to narrow it, then double-click a+language. The window switches at once. **Windows' language**, at the top, follows Windows'+display language, and falls back to English when MDM doesn't have it.++## Right to left, done properly+++*The main window in Arabic: the menus, toolbar and categories run from right to left.*++In Arabic, Hebrew, Persian, Urdu and Uyghur the whole window is mirrored, the way Windows does+it for these languages. File names, addresses and folder paths keep their own direction inside+translated sentences, so they stay readable. MDM uses the system's own fonts for every script.++## Honest about the translations++Most translations were written by machine and are waiting for a native speaker to check them, so+some wording may sound wrong. A text not translated yet shows in English. If you speak a+language well, you can fix it: each one is a plain text file in the repository, and the+[translation guide](languages.md#help-translate) shows how to send changes, as a pull request or+an issue.++## Numbers your language's way, and buttons that fit++<!--@coming 0.5-->++Counts, sizes, speeds and percentages will be written the way the chosen language writes them+(German `10.200` and `1,50 MB`, French `10 200`), whatever the Windows region; a region in the+same language keeps its own way. English stays as it is. Buttons will grow to fit their+translated text in every window, so a longer German or Russian label is no longer cut short.+Dates keep following your region, or your own choice in **Options → Regional**.diff --git a/website/content/features/link-grabber.md b/website/content/features/link-grabber.mdnew file mode 100644index 00000000..a360528f--- /dev/null+++ b/website/content/features/link-grabber.md@@ -0,0 +1,58 @@+---+name: Link grabber+title: Link grabber and archive extraction+headline: Every link on a page. Only the ones you tick.+line: A page's links gathered, sorted into packages and checked online, then the archives unpacked when they arrive.+lede: Link grabber collects many links at once, from the browser, a text file or the clipboard. It sorts them into packages, shows which ones are really there, and MDM can unpack the archives once they are downloaded.+description: Mister Download Manager's link grabber collects a page's links, sorts them into packages, checks which are online and extracts the archives they bring.+group: downloading+order: 70+since: 0.5+shot: images/help/link-grabber.webp+shot_alt: Link grabber listing the links of a page in packages, with their names, sizes and whether they are online+where: Tasks → Link grabber...+help: link-grabber.md+---++## Links from anywhere++Right-click a page in the browser for **Download all links with Mister Download Manager**, or+select part of it for **Download selected links with Mister Download Manager**. The page's referrer and cookies go with each+link. You can also import a text file or an `.ef2` export with **Tasks → Import**, drop a list on+the download list, or open **Tasks → Link grabber...** and paste any text with **Ctrl+V**: every+web address in it is added.++A link that is already in your download list goes under **Already in the list**, unticked.++## Sorted into packages++The volumes of one split archive (`movie.part1.rar`, `movie.part2.rar` and so on) form one+package, the other links of a page another, and the rest go into **Various files**. Tick a+package to take all its links. Each package has its own folder, an archive password, and+**Extract when done**.++**Start** adds the ticked links to the **Main download queue** and starts it; **Add to queue**+adds them without starting.++## Checked before you download++As links arrive, MDM asks each server about its file, a few at a time. Each link then shows its+real name and size, and whether it is **Online**, **Offline (404)**, **Needs a login** or+**Busy, try later**. Offline links come unticked, so you don't queue what isn't there. Links to+web pages are hidden by default.++Some file hosts count a look-up as a download: turn the look-ups off in **Options → Archives**.++## Archives unpacked when they arrive+++*Options → Archives: extract every archive, or only the packages that ask.*++MDM extracts ZIP (encrypted ones too), TAR, TAR.GZ, TAR.XZ, GZ and XZ itself. 7z and RAR need+7-Zip, a free program: RAR's own extraction code can't be part of a free program like MDM. When+7-Zip isn't installed, a window says so, with a button to get it.++A split archive is extracted once its last volume is in. Extraction is careful: a name that+would lead outside the folder is left out, an archive that would fill the disk stops first, and+an existing file is never overwritten. The archive itself goes to the Recycle Bin only when you+ask.diff --git a/website/content/features/network-adapter.md b/website/content/features/network-adapter.mdnew file mode 100644index 00000000..927cf104--- /dev/null+++ b/website/content/features/network-adapter.md@@ -0,0 +1,55 @@+---+name: Network adapter+title: Bind downloads to a VPN adapter, with a kill switch+headline: Through your VPN, or not at all.+line: Every connection MDM opens goes out through the adapter you pick, and stops when it disconnects.+lede: Pick a network adapter, usually your VPN's, and every connection MDM opens goes through it. If the VPN drops, nothing slips out through your normal connection: downloads stop, and start again when it's back.+description: Hold Mister Download Manager's downloads, torrents and videos to one network adapter, usually a VPN's, with a kill switch when it disconnects.+group: network+order: 210+since: 0.5+shot: images/help/options-proxy.webp+shot_alt: Options on its Proxy / Socks page, with Network adapter near the bottom set to Any (the system chooses)+where: Options → Proxy / Socks → Network adapter+help: options.md#proxy-socks+---++## A kill switch built in++**Any (the system chooses)** is the default. Choose an adapter instead, and MDM sends its+connections through that one only. When it disconnects, or the VPN is switched off, nothing goes+out another way. Running downloads stop with "… is not connected" and start again by themselves+when the adapter is back. The line under the list shows the adapter's address, or that it isn't+connected.++## Everything MDM opens++It covers downloads and FTP, torrents (peers, trackers, the DHT and the listening port), video+pages and image galleries, the DNS you chose, MDM's own downloads and its update check. The+command line's `get`, `video-get` and `gallery-get` take `--adapter`, with the adapter's name,+such as `Ethernet` or `wg0`, or one of its addresses.++yt-dlp, gallery-dl and ffmpeg can't be held to an adapter themselves. While one is chosen, MDM+gives them a proxy of its own on this computer, with a password only they get, and opens their+connections through the adapter as it opens its own. Video formats that can't go through a proxy+(RTMP, RTSP, MMS, FTP) are refused rather than sent around it.++## How it holds++On Windows, MDM binds the adapter's own address, and Windows then sends those packets only+through that adapter. Linux binds the device itself (Linux 5.7 or newer), and macOS binds the+interface. An address of a kind the adapter doesn't have, such as IPv6 on a VPN that has only+IPv4, is refused, not sent around it.++## Keep your lookups inside too++The system's DNS looks names up its own way, and Windows may ask over every adapter. To keep the+names inside the VPN as well, choose a DNS in **Options → Connection → DNS**: MDM then asks it+through the adapter. See [DNS and proxies](/features/dns-proxies.html).++## What it doesn't hold yet++`ftps://` addresses (implicit TLS) don't start while an adapter is chosen; `ftp://` with TLS is+fine. Connections to this computer itself aren't bound, so a proxy running on this computer+decides where your downloads go from there. On macOS, a VPN that reconnects may come back as a+new interface (`utun5` instead of `utun4`): pick it again.diff --git a/website/content/features/remote.md b/website/content/features/remote.mdnew file mode 100644index 00000000..db6023e7--- /dev/null+++ b/website/content/features/remote.md@@ -0,0 +1,57 @@+---+name: Remote control+title: Control your downloads from your phone+headline: Add a download from the couch.+line: Paste a link on your phone and the computer downloads it. Watch and pause from anywhere at home.+lede: Your phone opens a small page that MDM itself serves on your home network. Paste a link, a magnet link or a torrent file, and watch it download on the computer. Nothing to install on the phone, and no outside service.+description: Control Mister Download Manager from your phone on your home network: add links and torrents, pause and start downloads, run queues. Paired devices only.+group: network+order: 230+since: 0.5+shot: images/remote-phone.png+shot_alt: MDM's page on a phone: an address box with Category and When, the queues with Start, and the downloads with their progress+where: Options → Remote+help: remote-control.md+---++## Your downloads, in your pocket++The page adds a download's address, a magnet link or a `.torrent` file from the phone, with a+**Category** and **When**: start now, or wait in a queue. It lists every download with its+progress, speed and size, pauses and starts each one, and removes it, with its file if you ask.+It starts and stops the queues too. The bar at the top shows the total speed and the free space+where your downloads go.++Downloads added from the phone behave like any other: they go to the category's folder and follow+the queues, the Scheduler and the speed limits. The page speaks your phone's language when MDM+has it, and follows its light or dark mode.++## Paired once, with a code++Turn it on in **Options → Remote**, then click **Pair a device...**. Scan the QR code with the+phone's camera, or type the address and the 8-digit code. A code works once, for ten minutes.+++*Options → Remote: the address, the certificate's fingerprint and the paired devices.*++The first time, the phone's browser warns about the certificate. That is expected: MDM made it on+your computer, and no public authority knows it. **Options → Remote** shows its fingerprint to+compare. Add the page to the phone's home screen to keep it one tap away.++## Only your devices, only at home++The remote control is off until you turn it on. It answers only the devices you paired, each+removable at once in Options, and listens only on the computer's private network addresses,+never on one the internet can reach. Everything goes over HTTPS, and web pages can't use it.++A paired phone handles downloads and queues, nothing more: it can't change settings, open+windows on the computer or see your folders.++## Away from home++Don't open it to the internet through your router. To reach it while you're away, use a VPN to+your home network, such as WireGuard or Tailscale; with Tailscale, choose its address under+**Listen on**. The first time, Windows may ask whether MDM may use the network: allow it on+private networks, or the phone can't reach MDM.++To run MDM on a home server instead, see [Server mode](/features/server.html).diff --git a/website/content/features/rss.md b/website/content/features/rss.mdnew file mode 100644index 00000000..ea3d53d2--- /dev/null+++ b/website/content/features/rss.md@@ -0,0 +1,54 @@+---+name: RSS feeds+title: RSS feeds for torrents, with download rules+headline: New episodes, downloaded as they appear.+line: Follow torrent feeds, and let rules add the new episodes you want, each one only once.+lede: Many sites publish their new torrents as an RSS or Atom feed. MDM watches the feeds you follow, lists what they hold, and its rules add the new torrents you want by themselves.+description: Mister Download Manager follows RSS and Atom feeds of torrents and adds new episodes by rule: words to match, words to skip, each episode once.+group: downloading+order: 90+since: 0.5+shot: images/help/rss-feeds.webp+shot_alt: RSS feeds: the feeds MDM follows and their items+where: Tasks → RSS feeds...+help: torrents.md#rss-feeds+---++## Your feeds, in one window++Open **Tasks → RSS feeds...**, type a feed's address into **Feed address** and click **Add+feed**. MDM fetches it at once, then every 30 minutes, or as often as you set, down to every 5.+Pick a feed to see its articles: one with a torrent shows a torrent icon, and its size when the+feed gives it. Double-click an article to open **Add torrent** with it, as for any+[torrent](/features/torrents.html).++A feed that can't be read is shown in red, with the reason on the line at the bottom.++## Rules that pick for you++On the **Download rules** tab, a rule adds the torrents of new articles whose titles match it,+without asking:++- **Must contain**: words the title must hold, all of them, in any order. `1080p|2160p` takes+ either, and `*` and `?` are wildcards.+- **Must not contain**: words that make the rule skip an article.+- **Regular expressions**, for those who want them, in the same two boxes.+- **Save to**: a folder for the rule's torrents, and **Add them without starting them** if you'd+ rather start them yourself.++## Each episode once++**Episodes** reads `S01E05` or `1x05` in a title. `1x2` is season 1, episode 2; `1x5-8` is+episodes 5 to 8; `2x1-` is everything from season 2 on. A rule takes each episode once: when a+second release of an episode it already added turns up, it is skipped.++## No surprise backlog++Rules look only at articles that are new since the feed was last fetched, and a feed's first+fetch only lists what is there. Adding a feed or a rule never downloads its whole history.+**Matches ... articles now** shows which articles the rule would take, so you can check it and+download those by hand.++A torrent the list already has isn't added again, and MDM never writes into files it didn't+make without asking. The window is made for feeds of torrents: an article opens in **Add+torrent**, and a rule adds torrents.diff --git a/website/content/features/scheduler.md b/website/content/features/scheduler.mdnew file mode 100644index 00000000..84b4c06a--- /dev/null+++ b/website/content/features/scheduler.md@@ -0,0 +1,66 @@+---+name: Scheduler and queues+title: Download scheduler and queues+headline: Queue it today. Download it tonight.+line: Queues started and stopped by the clock, a few files at a time, the computer off at the end.+lede: Put downloads in a queue and let the Scheduler start them when nobody needs the connection. When the queue is done, MDM can quit or turn the computer off.+description: Mister Download Manager's queues and Scheduler: start downloads at night, stop them in the morning, stay under a data cap, turn the computer off.+group: organising+order: 110+since: 0.1.0+shot: /assets/screens/scheduler-light.webp+shot_alt: The Scheduler: the queues on the left, the Main download queue's Schedule tab on the right with Start download at, Daily, Stop download at and Turn off computer when done+where: Downloads → Scheduler+help: queues-and-scheduler.md+---++## Downloads that wait their turn++A queue is a list of downloads that run in order, a few at a time. Click **Download Later** in+**Download File Info**, or right-click downloads in the list and choose **Add to queue**. The+**Q** column marks them, and **Queues** in the categories pane shows each queue on its own.++A queue runs four downloads at once by default. Set another number on its **Files in the+queue** tab, or 1 to fetch them one by one. A download that fails moves to the end and is tried+again 30 seconds later. Besides the **Main download queue**, you can make as many queues as you+like.++## Started and stopped by the clock++On a queue's **Schedule** tab, tick **Start download at** and choose a time, **Once at** a date+or **Daily** on the days you tick. **Stop download at** halts whatever is left, for example+before work in the morning. A queue can also start whenever MDM starts.++MDM has to be running for a schedule to fire. Closing the main window is fine: MDM keeps going+in the notification area.++## When the queue is done++MDM can open a file, such as a sound or a script, exit, or turn the computer off with **Shut+down**, **Sleep** or **Hibernate**. A 30-second countdown comes first, so if you are still at the+computer, **Cancel** stops it.+++*When the queue is done: open a file, quit MDM, or turn the computer off.*++## Woken up for the queue++<!--@coming 0.5-->++Tick **Wake the computer to run this queue** and a sleeping computer is woken a minute before+the start time, so the network is back when the queue begins. It stays awake while the queue+runs; afterwards its own sleep settings apply again. The line under the option says when the+next wake is, or why there can't be one.++The computer has to be asleep, not shut down. On Windows the power plan must allow wake timers:+the Scheduler says when it doesn't, and **Change** opens the setting. On Linux an administrator+allows it once. On macOS only an administrator can schedule a wake, so the option is greyed+there. MDM never asks for an administrator's password.++## Under a data cap++**Download limits** keeps a capped internet plan in check: no more than a set number of+megabytes every few hours. When the limit is reached, downloads wait, and they carry on by+themselves when the period is over.++[Download overnight](guide-download-overnight.md) walks through it step by step.diff --git a/website/content/features/server.md b/website/content/features/server.mdnew file mode 100644index 00000000..7c85d092--- /dev/null+++ b/website/content/features/server.md@@ -0,0 +1,50 @@+---+name: Server mode+title: Run MDM on a home server, NAS, Docker or Unraid+headline: Let the home server do the downloading.+line: MDM without a window on a NAS, in Docker or on Unraid, fed from your phone or browser.+lede: Run MDM without a window on a home server or a NAS, and send it downloads from your phone or your browser. The files land in the server's own folders, such as a network share.+description: Run Mister Download Manager without a window on a home server, NAS, Docker or Unraid, and send it downloads from your phone or your browser.+group: network+order: 240+since: 0.5+where: The command line: `misterdownloadmanager --headless`+help: server.md+---++## The same MDM, without a window++`misterdownloadmanager --headless` runs MDM with its list, categories, queues, Scheduler, speed+limits and torrents, but no window. Its folders and port come from flags or the environment. It+stops cleanly, saving its list, when the system stops it. It runs on any Linux machine with MDM+installed, and on Windows and macOS the same way.++## Docker and Unraid++A `Dockerfile` and a Compose file come with MDM's source. For now you build the image yourself; a+published image comes later. The first build is long, up to an hour on a small server, and the+image is small, about 175 MB, with no desktop libraries.++Give it a folder for its settings and one for the downloads, where each category gets its own+folder. Mount a network share there and the files land straight on it. On Unraid, a template+maps the folders and runs MDM as `nobody:users`, as Unraid's shares expect.++## Control it from your phone or your browser++The remote control is on in this mode. The log prints the address to open and a pairing code+with a QR code: pair your phone as with the [remote control](/features/remote.html), and+`misterdownloadmanager-cli pair` makes a new code at any time.++In the browser extension, **Send downloads to → Another MDM** sends the downloads it catches, and+**Download with Mister Download Manager** on a link, to the server instead of your computer. The+browser's cookies stay behind, so a download that needs you signed in to a site stays with your+computer.++## What a server doesn't do++Video pages and image galleries need helpers that the image doesn't include. Nothing opens a+window, so a download that would ask a question, such as a duplicate, takes the choice set in the+settings, or isn't added. Don't publish the port on the internet: reach your home network through+a VPN instead.++Server mode is new, so please [tell us how it goes](https://github.com/anefzaoui/misterdownloadmanager/issues).diff --git a/website/content/features/speed-limiter.md b/website/content/features/speed-limiter.mdnew file mode 100644index 00000000..3ca178d0--- /dev/null+++ b/website/content/features/speed-limiter.md@@ -0,0 +1,59 @@+---+name: Speed limiter+title: Download speed limiter+headline: Fast downloads that leave room for everyone else.+line: One cap for all of MDM, a limit per file, and full speed when you're away.+lede: A download manager can fill your whole connection. The Speed Limiter caps MDM so that browsing, video calls and games stay smooth, and can give it full speed again while you're away from the computer.+description: The speed limiter in Mister Download Manager: one cap for all downloads, a limit per file or per download, and full speed when you're away.+group: organising+order: 120+since: 0.1.0+shot: images/help/speed-limiter.webp+shot_alt: Speed Limiter settings: Maximum download speed for one file, Always turn on Speed Limiter on startup, and Limit all downloads together to, with Only while I'm using the computer+where: Downloads → Speed Limiter → Settings...+help: connections-and-speed.md#speed-limiter+---++## One cap for all of MDM++In **Downloads → Speed Limiter → Settings...**, tick **Limit all downloads together to** and type+a speed in KBytes/sec. However many files are downloading, together they stay under it. It works+on its own: there is nothing else to turn on. About two thirds of your connection's speed is a+good start.++Tick **Only while I'm using the computer** and the cap applies only while you use the mouse or+keyboard. After a minute without input, MDM goes back to full speed.++## A limit per file, or for one download++**Maximum download speed for one file** holds each download to the same speed. Set it first,+since it starts at a very slow 10 KBytes/sec, then choose **Downloads → Speed Limiter → Turn+on**. **Turn off** gives full speed back, and **Always turn on Speed Limiter on Mister Download+Manager startup** keeps it on from the start.++To slow down a single download, open its progress window and the **Speed Limiter** tab. The new+limit applies at once, and the other downloads keep their speed. With **Remember Speed Limiter+settings for this file on download stop/resume**, the limit comes back when you resume the file,+even after restarting MDM.++Some servers drop the connection when the speed is very low. Avoid a tight limit for a server+that can't resume: the progress window shows **Resume capability: No** for those.++## Torrents share the cap fairly++<!--@coming 0.5-->++Each torrent gets a limit of its own, like any other download, and a remembered limit applies+again when it resumes. Under **Limit all downloads together to**, torrents and other downloads+share the cap: each side gets at least half, and more when the other side needs less. A torrent+can't be held under 16 KBytes/sec, because a lower limit made torrents drop their peers and+stall.++## Capped by data, not by speed++On an internet plan with a data cap, the amount matters more than the speed. The Scheduler's+**Download limits** stops MDM after a set number of megabytes every few hours, and lets it carry+on when the period is over: see [Scheduler and queues](/features/scheduler.html).++[Keep some speed for everything else](guide-keep-speed-for-everything-else.md) walks through the+settings step by step.diff --git a/website/content/features/systems.md b/website/content/features/systems.mdnew file mode 100644index 00000000..78a465e9--- /dev/null+++ b/website/content/features/systems.md@@ -0,0 +1,63 @@+---+name: Windows, Mac and Linux+title: Download manager for Windows, with macOS and Linux builds+headline: Made for Windows. On a Mac and Linux too.+line: Stable on Windows 10 and 11, installed or portable; experimental builds for macOS and Linux.+lede: MDM is built for 64-bit Windows 10 and 11, as an installer, a portable copy or a plain zip. Experimental builds for macOS and Linux come with every release.+description: Mister Download Manager runs on Windows 10 and 11, installed or portable, with experimental macOS (.dmg) and Linux (AppImage, .deb, .rpm) builds.+group: app+order: 340+since: 0.1.0+shot: /assets/screens/main-light.webp+shot_alt: The main window on Windows 11: the toolbar, the categories on the left and the download list on the right+where: The download page: pick your system's file+help: getting-started.md#choose-a-download+---++## Windows: three ways to have it++On 64-bit Windows 10 and 11, MDM is the stable, recommended build. The [download+page](/download.html) offers three files:++- **The installer** (`setup.exe`), the one to pick unless you have a reason not to. It installs+ for you alone without administrator rights, or for everyone, and can set up browser+ integration and open `.torrent` files and magnet links with MDM.+- **The portable copy** (`portable.zip`), which runs from any folder.+- **The plain zip** (`x64.zip`), the same programs without an installer.++**Help → Check for updates → Update now** downloads a new version, checks its signature, puts it+in place and restarts, for the setup and both zips.++## Portable: everything in one folder++Unzip the portable copy anywhere, a USB stick included. The download list, the settings, the+video helpers and torrent data stay in a `data` folder next to the program, and nothing is+written to the registry. Two things need the installer instead: starting with Windows, and+taking downloads from the browser, since both go through the registry. [Carry MDM on a USB+stick](guide-usb-stick.md) shows the set-up.++## Mac and Linux: experimental, and said so++The files marked `-experimental` are for macOS 11 and later, on Apple Silicon or Intel, and for+Linux on x86-64: an AppImage for most distributions, a `.deb` for Ubuntu, Debian, Mint and+Pop!_OS, an `.rpm` for Fedora, openSUSE and RHEL, and a `.tar.gz` of the plain programs. They+are new, so you'd be among the first: please [tell us how it+went](https://github.com/anefzaoui/misterdownloadmanager/issues/new/choose), good or bad.++There, MDM connects itself to your browsers at each start, has its tray icon, follows the+system's light or dark look and uses the system's fonts and ffmpeg. The Mac app isn't notarized+by Apple yet, so macOS asks before its first start: right-click it and choose **Open** (on+macOS 15 and later, **System Settings → Privacy & Security → Open Anyway**). A `.deb` or `.rpm`+update opens in the system's installer. A few parts work only on Windows, and the help says so+where it matters.++## Smaller Mac downloads, lighter Linux updates++<!--@coming 0.5-->++The Mac gets two smaller downloads, one for Apple Silicon and one for Intel, instead of one+universal `.dmg` of 80 MB. From 0.2.4 or older, update the Mac once by hand: **Download** in+**Check for updates** opens the release, where you pick your Mac's file. The AppImage can update+through AppImageLauncher, Gear Lever and AppImageUpdate, which fetch only the parts that changed.+Linux can draw with Vulkan and macOS with Metal, from **View → Draw with**, while OpenGL stays the+default there. In a Wayland session, MDM runs through XWayland so its menus open where you click.diff --git a/website/content/features/themes.md b/website/content/features/themes.mdnew file mode 100644index 00000000..4d035d97--- /dev/null+++ b/website/content/features/themes.md@@ -0,0 +1,8 @@+---+name: Themes+line: Nine looks, light and dark, from Classic to Aqua, or your own in a text file.+group: app+order: 315+since: 0.5+href: /themes.html+---diff --git a/website/content/features/torrents.md b/website/content/features/torrents.mdnew file mode 100644index 00000000..25e15907--- /dev/null+++ b/website/content/features/torrents.md@@ -0,0 +1,63 @@+---+name: Torrents+title: Download torrents and magnet links+headline: Torrents and magnet links, in the list you already use.+line: Magnet links and .torrent files beside your other downloads, queued and scheduled like any of them.+lede: MDM downloads torrents itself, with no second program to install. Pick the files you want, watch the peers and the pieces come in, and keep sharing if you like.+description: Mister Download Manager downloads torrents and magnet links: choose the files, see peers, trackers and pieces, and queue them with your other downloads.+group: downloading+order: 50+since: 0.1.0+shot: /assets/screens/torrent-light.webp+shot_alt: A torrent's progress window on its Pieces tab: a square for each piece, filled once it's here+where: Tasks → Add magnet link..., or the toolbar's Add Torrent+help: torrents.md+---++## One list for everything++Click **Add Torrent** on the toolbar to open a `.torrent` file, or use the arrow next to it for+**Add magnet link...**. A magnet link pasted into **Add URL** works too. Torrents land in the same+list as your other downloads, marked **Torrent** in the **Source** column, and go into queues and+the Scheduler like them.++The torrent engine is written in Rust, and every piece is checked against the torrent's+fingerprint, so a peer can't slip in altered data.++## Only the files you want+++*Untick what you don't want, then Download Now.*++**Add torrent** shows the torrent's files as a folder tree. Untick what you don't need;+**Selected** shows how many files and how much data are left. Torrents have their own category+and folder, `Downloads\Torrents` by default.++Double-click a torrent for its progress window. Its tabs show each file, the peers you get it+from, the trackers, a map of the pieces, and the share ratio.++## Sharing is your choice++A finished torrent stops, like any download. Turn on **Keep sharing torrents after they finish**+in **Tasks → Torrent settings...** to go on uploading to others.++Plainly: everyone sharing the same torrent sees your IP address. That is how BitTorrent works,+and no setting changes it. To hide it, use a VPN for the whole computer.+[Torrents and your security](torrent-security.md) says what others can see.++## More control in the next version++<!--@coming 0.5-->++- **Download in order**, to watch a video while it downloads, with each file's first and last+ pieces early. Other torrents fetch the rarest pieces first.+- **Torrent commands** in the right-click menu: **Recheck files**, **Reannounce**, **Add+ trackers...** and **Copy magnet link**. Files can be ticked and unticked while it runs.+- **Limits**: stop sharing at a share ratio or after some minutes, and cap what torrents send,+ all together or one by one.+- **The network is yours to choose**: incoming connections, UPnP, a fixed port, the DHT, local+ peers, a SOCKS5 proxy, an IP blocklist, and one network adapter (a VPN's) with a kill switch.+- **Safer files**: MDM asks before writing into files already in the folder, refuses names the+ system can't write safely, and marks the files as downloaded from the internet.+- [RSS feeds](/features/rss.html) that add new torrents by rule, and torrents sent to a+ [debrid account](/features/debrid.html) instead of to peers.diff --git a/website/content/features/tray.md b/website/content/features/tray.mdnew file mode 100644index 00000000..6c5db8f7--- /dev/null+++ b/website/content/features/tray.md@@ -0,0 +1,62 @@+---+name: Notification area+title: Run in the notification area: start hidden, hide progress windows+headline: Out of the way. Still downloading.+line: Starts with the computer in the notification area, and hides progress windows there while they run.+lede: MDM can start with your computer and wait in the notification area, its window closed and its downloads running. A download's progress window can go there too, with one click.+description: Mister Download Manager starts with your computer in the notification area, hides progress windows there in one click, and uses little memory there.+group: app+order: 310+since: 0.5+shot: images/help/options-general.webp+shot_alt: Options on its General page: start with the system, the clipboard, browser integration and the browsers MDM takes downloads from+where: Options → General+help: getting-started.md#the-tray-icon+---++## Starts with the computer, without getting in front++Tick **Launch Mister Download Manager on startup** in **Options → General** and MDM starts+when you sign in, hidden, its icon in the notification area. Its downloads, queues, the+**Scheduler** and downloads from the browser all run from there. Click the icon, or start MDM+again, and the window opens as usual.++The option is off until you tick it. On Linux and macOS MDM starts with your session the same+way. A [portable copy](portable.md) can't start with Windows, since that needs the registry, so+the option is greyed there.++## One click hides a download's window++A download's progress window has a **Hide to the notification area** button: a short dash with+an arrow down to the corner. On Windows it sits in the title bar, left of Minimize, and in the+title bar's menu (Alt+Space). On Linux and macOS it is at the end of the tab row. The download+carries on.++To see it again, right-click the tray icon and choose it under **Downloads in progress**, which+lists every running download. Double-clicking the download in the list brings its window back+too.++## Minimize sends windows to the tray as well++With **Minimize to the notification area** on in **Options → General** (it is on by default),+Minimize hides the main window, and a progress window, in the notification area instead of+leaving them on the taskbar. Closing the main window does the same: MDM keeps running until you+choose **Tasks → Exit** or **Exit** in the tray menu.++The tray menu also has **Add new download**, **Add batch download**, the **Speed Limiter**, the+**Scheduler**, the main download queue and **Options**.++## Light while it waits++Hidden in the notification area, MDM hands the memory it isn't using back to the system.+Task Manager's **Memory** for MDM drops from about 50 MB to under 10 MB there, and MDM gives+memory back again every 10 minutes while it stays hidden. On Linux it does the same with its+free memory.++## Where there is no tray++All of this needs a notification area that shows MDM's icon. Windows and macOS have one, and so+do most Linux desktops (KDE, GNOME with its AppIndicator extension, waybar's tray). On a desktop+without one, MDM starts minimized instead, closing the window quits MDM, and **Minimize to the+notification area** is greyed. In a Wayland session the main window stays minimized in the dock,+because Wayland can't hide a window.diff --git a/website/content/features/video.md b/website/content/features/video.mdnew file mode 100644index 00000000..561de00f--- /dev/null+++ b/website/content/features/video.md@@ -0,0 +1,66 @@+---+name: Video downloads+title: Download videos from YouTube and other sites+headline: Paste a video's page. Pick the quality.+line: Videos from YouTube, Vimeo, TikTok and well over a thousand other sites, in the quality you choose.+lede: MDM downloads videos from their web pages with yt-dlp, the open-source tool whose community keeps it working as sites change. You pick the quality; the video joins your other downloads.+description: Download videos from YouTube, Vimeo, TikTok and over a thousand other sites with Mister Download Manager and yt-dlp, in the quality you choose.+group: downloading+order: 30+since: 0.1.0+shot: /assets/screens/video-light.webp+shot_alt: Download video from a page: the qualities on offer, from 2160p 60fps down, with their sizes+where: Tasks → Download video from a page...+help: video.md+---++## One window for any video page++Give a video's page address to **Add URL** (**Ctrl+N**) and MDM sees that it is a video page:+**Download video from a page** opens and looks it up. YouTube, Vimeo, Dailymotion, Twitch,+TikTok, Instagram, Reddit and well over a thousand other sites work. With the+[browser extension](/features/browser-extension.html), the button over a video opens the same+window.++The list shows each quality with its size, best first, and the sound alone at the end. Check+**Save to** and **File name**, then click **Download Now**, or **Later** to put it in the list+for later. The video gets its own row and progress window, like any other download.++## Two helpers, checked before use++MDM doesn't do this alone, and doesn't pretend to. **yt-dlp** reads the page and downloads the+video. **ffmpeg** joins the picture and the sound when a site keeps them apart, which most sites+do for their higher qualities. MDM offers both on its first start and downloads them from their+official releases, checked against what their publishers sign before it uses them. On Linux and+macOS MDM uses the system's ffmpeg.++Without ffmpeg you still get the qualities that come with their sound.++## What it won't do++Videos protected with DRM, as most paid streaming services use, can't be downloaded, and MDM+doesn't try. Downloading may be against some sites' terms: checking that is up to you.++Sites change often, and a newer yt-dlp usually fixes a video that stopped working. MDM doesn't+update yt-dlp on its own yet; [the help](video.md#if-a-video-wont-download) shows how to get the+newest one.++## Playlists, subtitles and MP3++<!--@coming 0.5-->+++*A playlist: every video ticked, one quality for all.*++- **Playlists and channels**: paste a playlist's or a channel's address and the window lists its+ videos, all ticked. One quality applies to all of them, and they go into a folder named after+ the list. A channel is listed 50 videos at a time, with **Load more**.+- **Subtitles**: the uploader's languages first, then the site's automatic captions. They are+ saved beside the video, or put inside an MP4 or MKV file with ffmpeg.+- **The sound alone**: **Audio only MP3** at its best variable bitrate or at 320, 256, 192 or+ 128 kbps, **Audio only OPUS**, and **Audio only FLAC**, with an honest note that FLAC can't+ add quality the site's sound doesn't have.+- **Videos that need you signed in**: **Options → Sites Logins → Cookies for video sites** lets+ yt-dlp read a browser's cookies, for pasted links. Chrome, Edge and Brave lock theirs on+ Windows, and the window says so; Firefox works, and so does the button over the video.+- **Your own yt-dlp and ffmpeg**: **Helpers...** takes a copy you already have.diff --git a/website/content/theme-prompt.txt b/website/content/theme-prompt.txtnew file mode 100644index 00000000..26775314--- /dev/null+++ b/website/content/theme-prompt.txt@@ -0,0 +1,25 @@+You are making a theme file for Mister Download Manager (MDM), a free, open-source download manager. Write one TOML file, named after the theme in lower case with dashes (for example harbour.toml). Reply with the file only, in one code block, then one line on how to install it.++THE FORMAT+A theme names only what it changes; everything else comes from the theme it inherits.+- name = "Display name"+- inherits = "classic" (the default), "high-contrast", "metro", "adwaita", "breeze", "luna", "aero" or "aqua"+- icons = "color" | "mono" | "accent"+- contrast = "high" (optional: strengthens every edge and text colour)+- [seeds] a few colours MDM spreads over every control: background, surface, header, text, accent, selection, error, warning, success. Use [seeds.light] and [seeds.dark] to give each side its own.+- [colors] single colour roles for both sides; [light] and [dark] for one side only. Role names are dotted and must be quoted when they contain a dot, e.g. "button.hot" = "#e5f1fb". Useful roles: window, text, text.muted, link, accent, focus.ring, selection, selection.text, field, field.border, button, button.hot, button.pressed, button.border, button.text, check.on, check.mark, progress.bar, list, header, menubar, menu, menu.hot, menu.text, toolbar.hot, tree, caption, caption.text, scroll.thumb, gloss (the shine glossy parts blend toward), button.glow. "segments.done" takes one colour or a list of 13 (top to bottom).+- [sizes] in pixels, 0 to 400: radius, radius.button, radius.check, radius.menu-item, radius.popup, border, focus-line, list.row, list.header, font.ui, font.dialog.+- [controls] shapes: field-focus = line | border | ring; check = fluent | square | adwaita | breeze | luna | aero | aqua; button = fluent | breeze | luna | aero | aqua; progress = line | bar | blocks | gloss; scroll = overlay | classic; focus = dotted | ring | frame; caption = system | metro | adwaita | breeze | luna | aero | aqua.+- Colours are "#rrggbb" or "#rrggbbaa". Unknown keys are skipped, so only use the names above.++THE RULES+1. Make both a light and a dark side: give [seeds.light] and [seeds.dark] (or [light] and [dark]) their own colours, and check each side on its own.+2. Text must be easy to read: at least 4.5:1 contrast for text against its background (text on window and field, button.text on button, menu.text on menu, selection.text on selection, caption.text on caption), in both sides.+3. The keyboard focus must be easy to see: accent and focus.ring at least 3:1 against what they sit on.+4. Disabled text stays readable but clearly dimmer than normal text.+5. Clean room: no artwork, icons, logos, fonts or text copied from any other program or company. If the theme needs icons, describe original ones to draw, never copy existing ones, and note their source and licence in a SOURCES.txt.+6. Keep the layout: a theme changes colours, sizes and control shapes only.++After the file, list each text and background pair you checked with its contrast ratio, for both sides.++THE LOOK I WANT:diff --git a/website/content/themes.toml b/website/content/themes.tomlnew file mode 100644index 00000000..0999be3e--- /dev/null+++ b/website/content/themes.toml@@ -0,0 +1,61 @@+# The Themes page (/themes.html, tools/website/build.py build_themes): MDM's built-in themes, in+# View → Theme's order, each with its line and its picture (tools/shots/shots.toml, site-theme-*:+# the main window, light and dark). `tag`: arrives after the rest, with its own "Coming with+# version" mark (Luna, Aero and Aqua: #259). `note`: a line under the picture.++[[theme]]+id = "classic"+name = "Classic"+feel = "MDM's own look and the default: the layout IDM users know, with Windows 11's controls."+shot = "images/help/site-theme-classic.webp"++[[theme]]+id = "native"+name = "Native"+feel = "Your system's accent colour and contrast setting, followed as you change them, on Windows, Linux and macOS."+shot = "images/help/site-theme-native.webp"++[[theme]]+id = "high-contrast"+name = "High contrast"+feel = "Black and white, a bright accent, every edge drawn, text at 7:1 or more."+shot = "images/help/site-theme-high-contrast.webp"++[[theme]]+id = "metro"+name = "Metro"+feel = "Windows 8's flat look: square corners, flat buttons and one-colour icons."+shot = "images/help/site-theme-metro.webp"++[[theme]]+id = "adwaita"+name = "Adwaita"+feel = "GNOME's look: round corners, flat grey buttons, a rounded focus ring and a header bar."+shot = "images/help/site-theme-adwaita.webp"++[[theme]]+id = "breeze"+name = "Breeze"+feel = "KDE Plasma's look: rounded corners, controls that take the accent's edge, KDE's icons."+shot = "images/help/site-theme-breeze.webp"++[[theme]]+id = "luna"+name = "Luna"+feel = "Windows XP's feel: shaded buttons with an orange glow, green ticks, a deep blue title bar."+shot = "images/help/site-theme-luna.webp"+tag = true++[[theme]]+id = "aero"+name = "Aero"+feel = "Windows 7's feel: glossy buttons, a glassy title bar and a glossy green progress bar."+shot = "images/help/site-theme-aero.webp"+tag = true++[[theme]]+id = "aqua"+name = "Aqua"+feel = "Mac OS X's feel: gel buttons round at the ends, a blue focus ring and a blue gel progress bar."+shot = "images/help/site-theme-aqua.webp"+tag = truediff --git a/website/index.html b/website/index.htmlindex d87a4c4d..83e6ea07 100644--- a/website/index.html+++ b/website/index.html@@ -133,6 +133,18 @@</div></section>+ <!-- Contents: every feature, one ruled packing list by group, each a link to its own page+ (build.py manifest(), from website/content/features/). -->+ <section class="sec contents" id="all-features" aria-labelledby="contents-title">+ <div class="wrap">+ <div class="sec-intro">+ <h2 id="contents-title">Everything in the box.</h2>+ <p>Each feature has a page of its own, with the real window, where to find it, and what it can't do yet.</p>+ </div>+ <!--@features-->+ </div>+ </section>+<!-- Tracking: the benchmark, replayed as two shipments scanned to the real times. --><section class="sec tracking" id="speed" aria-labelledby="speed-title"><div class="wrap">diff --git a/website/main.js b/website/main.jsindex 3a806220..ddf68fb7 100644--- a/website/main.js+++ b/website/main.js@@ -254,6 +254,49 @@}, 2600);}+ // ---- Themes: every tile in its light or its dark side, and the prompt to copy -----------------+ // The tiles follow the site's light or dark at first; the switch shows them all in the other.+ (function () {+ var grid = document.querySelector("[data-variant-grid]");+ var bar = document.querySelector("[data-variant-switch]");+ if (!grid || !bar) return;+ var buttons = bar.querySelectorAll("button[data-variant]");+ function current() {+ var set = root.getAttribute("data-theme");+ if (set === "light" || set === "dark") return set;+ return window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";+ }+ function show(v) {+ grid.setAttribute("data-variant", v);+ for (var i = 0; i < buttons.length; i++) {+ buttons[i].setAttribute("aria-pressed", String(buttons[i].getAttribute("data-variant") === v));+ }+ }+ for (var i = 0; i < buttons.length; i++) {+ buttons[i].addEventListener("click", function () { show(this.getAttribute("data-variant")); });+ }+ show(current());+ bar.hidden = false;+ })();++ each("[data-copy]", function (btn) {+ var src = document.getElementById(btn.getAttribute("data-copy"));+ var label = btn.querySelector("[data-copy-label]");+ if (!src || !label || !navigator.clipboard) return;+ var idle = label.textContent, timer = 0;+ btn.hidden = false;+ btn.addEventListener("click", function () {+ navigator.clipboard.writeText(src.textContent.trim() + "\n").then(function () {+ label.textContent = t("Copied");+ }, function () {+ label.textContent = t("Select the text and copy it");+ }).then(function () {+ clearTimeout(timer);+ timer = setTimeout(function () { label.textContent = idle; }, 2200);+ });+ });+ });+// ---- Lightbox: any screenshot, big ----------------------------------------------------------// Images in [data-lightbox] groups (and every screenshot in a help article) open over the page// at their full resolution, fitted to the screen. Click or double-click switches to real pixelsdiff --git a/website/styles.css b/website/styles.cssindex c3793966..4ca98c73 100644--- a/website/styles.css+++ b/website/styles.css@@ -1050,6 +1050,151 @@ html.lb-on { overflow: hidden; }.vs-bar { width: calc(var(--t) * 60%); }}+/* ---- Coming with the next version (build.py coming_banner) -------------------------------------- */+/* A sticker on label stock, its rule dashed like the race's lane before the file moves: in transit,+ not delivered. Never green (green is Download's and delivered's). */+.coming { display: flex; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%; margin: 0;+ padding: 11px 16px 12px; border-radius: 6px; background: var(--paper); color: var(--ink);+ outline: 1.5px dashed var(--ink); outline-offset: -5px; }+.coming svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }+.coming b { font-size: 16.5px; font-weight: 800; font-stretch: 86%; }+.coming small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }+.coming-page { margin-bottom: clamp(20px, 3vw, 28px); padding: 14px 20px 15px; box-shadow: var(--shadow-sheet); outline-offset: -6px; }+.prose .coming-section { margin-block: .7em 1.1em; background: var(--paper-2); }+.coming-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px 3px 6px; border-radius: 4px;+ font-size: 12px; font-weight: 700; line-height: 1.35; outline-width: 1.5px; outline-offset: -1.5px; }+.coming-tag svg { width: 13px; height: 13px; margin: 0; }++/* ---- Contents: every feature, a ruled packing list (build.py manifest) --------------------------- */++.mf-group { display: grid; grid-template-columns: 196px minmax(0, 1fr); overflow: hidden; border-top: 1.5px solid var(--ink); }+.sheet-band + .mf-group { border-top: 0; }+.mf-name { margin: 0; padding: 20px clamp(18px, 3vw, 28px); color: var(--ink-3);+ font-size: 12.5px; font-weight: 750; font-stretch: 74%; letter-spacing: .05em; line-height: 1.3; text-transform: uppercase; }+.mf-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin: 0 -1px -1px 0; padding: 0; list-style: none; border-inline-start: 1px solid var(--line); }+/* Hairlines between the cells: each draws its end and bottom edge; the outer ones fall outside. */+.mf-list li { min-width: 0; box-shadow: inset -1px -1px 0 var(--line); }+[dir="rtl"] .mf-list { margin: 0 0 -1px -1px; }+[dir="rtl"] .mf-list li { box-shadow: inset 1px -1px 0 var(--line); }+.mf-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 4px 12px; height: 100%; padding: 17px 20px 19px; color: var(--ink); text-decoration: none; }+.mf-list a:hover { background: var(--paper-2); }+.mf-list a:focus-visible { outline-offset: -4px; }+.mf-list b { grid-column: 1; font-size: 17.5px; font-weight: 750; font-stretch: 86%; line-height: 1.2; }+.mf-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }+.mf-list span:not(.coming) { grid-column: 1; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }+.mf-list .coming-tag { grid-column: 1; justify-self: start; margin-top: 8px; }+.mf-arrow { grid-column: 2; grid-row: 1; width: 18px; height: 18px; margin-top: 2px; color: var(--ink-3); transition: translate .2s cubic-bezier(.16, 1, .3, 1); }+.mf-list a:hover .mf-arrow { translate: 3px 0; color: var(--ink); }+[dir="rtl"] .mf-arrow { transform: scaleX(-1); }+[dir="rtl"] .mf-list a:hover .mf-arrow { translate: -3px 0; }+.features-index { margin-bottom: var(--gap-section); }+@media (max-width: 720px) {+ .mf-group { grid-template-columns: minmax(0, 1fr); }+ .mf-name { padding-bottom: 4px; }+ .mf-list { border-inline-start: 0; }+}++/* ---- A feature's page: its window as the parcel, its facts on a label stuck to it ---------------- */++.feature-top { margin-bottom: clamp(36px, 5vw, 56px); }+.feature-parcel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); align-items: start; }+.feature-shot { grid-column: 1; grid-row: 1; justify-self: end; margin: 0; min-width: 0; }+.feature-shot img { width: auto; max-width: 100%; border-radius: 8px; box-shadow: var(--shadow-lift); }+/* Under the window's end corner, overlapping only its foot, whatever the window's height. */+.feature-label { position: relative; z-index: 1; grid-column: 2; grid-row: 2; margin-top: -84px; margin-inline-start: -40px;+ transform: rotate(1.6deg); transform-origin: 30% 80%; box-shadow: var(--shadow-card); }+[dir="rtl"] .feature-label { transform: rotate(-1.6deg); }+.feature-label .wb-band img { width: 32px; height: 32px; }+.feature-label .fields > div { border-inline-start: 0; }+.feature-label .fields > .wide { grid-column: 1 / -1; }+.feature-label .fields > .pair { border-inline-start: 1.5px solid var(--ink); }+.feature-label .fields dd { font-size: 15.5px; }+.feature-label .fields dd a { text-decoration: underline; text-underline-offset: 3px; }+.feature-parcel.no-shot { grid-template-columns: minmax(0, 420px); }+.feature-parcel.no-shot .feature-label { grid-column: 1; grid-row: 1; margin: 0; transform: rotate(-1deg); }+[dir="rtl"] .feature-parcel.no-shot .feature-label { transform: rotate(1deg); }+.feature-body { margin-top: 0; }+.more-features ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }+.prose .more-features li, .prose .more-features li + li { margin: 0; padding: 5px 0; }+.feature-label dd code { font-size: .86em; white-space: nowrap; }+@media (max-width: 980px) {+ .feature-parcel { grid-template-columns: minmax(0, 1fr); }+ .feature-shot { justify-self: start; }+ .feature-label { grid-column: 1; grid-row: 2; justify-self: end; width: min(100% - 8px, 400px); margin: -18px 4px 0 0; transform: rotate(1deg); }+ [dir="rtl"] .feature-label { margin: -18px 0 0 4px; transform: rotate(-1deg); }+ .feature-parcel.no-shot .feature-label { margin: 0; }+}++/* ---- Themes (build.py build_themes) --------------------------------------------------------------- */++.themes { margin-bottom: clamp(36px, 5vw, 56px); }+.themes-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }+.themes-bar p { font-size: 15px; font-weight: 650; color: var(--on-board-2); font-variant-numeric: tabular-nums; }+.variant-seg { display: inline-flex; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--on-board); overflow: hidden; }+.variant-seg button { min-width: 76px; padding: 9px 16px; border: 0; background: none; color: var(--on-board); font: 650 14.5px/1.2 var(--font); cursor: pointer; }+.variant-seg button + button { box-shadow: inset 1.5px 0 0 var(--on-board); }+[dir="rtl"] .variant-seg button + button { box-shadow: inset -1.5px 0 0 var(--on-board); }+.variant-seg button:hover { background: color-mix(in srgb, var(--on-board) 12%, transparent); }+.variant-seg button[aria-pressed="true"] { background: var(--on-board); color: var(--board); }+.variant-seg button:focus-visible { outline-color: var(--on-board); outline-offset: -5px; }+.theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }+/* Two rows a tile, shared across its row, so pictures and words line up side by side. */+.theme-tile { display: grid; grid-row: span 2; grid-template-rows: subgrid; gap: 0; min-width: 0; overflow: hidden;+ border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sheet); }+.theme-shot { margin: 0; background: var(--paper-2); border-bottom: 1.5px solid var(--ink); }+.theme-shot img { width: 100%; cursor: zoom-in; }+.theme-note { padding: 12px 18px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }+.theme-text { display: block; padding: 16px 20px 20px; }+.theme-text h3 { font-size: 23px; font-weight: 800; font-stretch: 80%; }+.theme-text p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 56ch; }+.theme-text .coming-tag { margin-top: 12px; }+/* The visitor's choice of side, over the site's own theme. */+.themes .theme-grid[data-variant="light"] .for-light, .themes .theme-grid[data-variant="dark"] .for-dark { display: block; }+.themes .theme-grid[data-variant="light"] .for-dark, .themes .theme-grid[data-variant="dark"] .for-light { display: none; }+/* Make your own: an empty label, its outline dashed on the board. */+.theme-own { background: none; color: var(--on-board); box-shadow: none; outline: 2px dashed color-mix(in srgb, var(--on-board) 70%, transparent); outline-offset: -2px; }+.theme-own a { grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 220px; padding: 32px 24px; color: inherit; text-align: center; text-decoration: none; border-radius: var(--radius); }+.theme-own a:hover { background: color-mix(in srgb, var(--on-board) 8%, transparent); }+.theme-own a:focus-visible { outline-color: var(--on-board); outline-offset: -8px; }+.theme-plus { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 12px; outline: 2px dashed currentColor; outline-offset: -2px; }+.theme-plus svg { width: 34px; height: 34px; }+.theme-own .theme-text { padding: 0; }+.theme-own b { display: block; font-size: 23px; font-weight: 800; font-stretch: 80%; line-height: 1.1; }+.theme-own .theme-text span { display: block; margin-top: 6px; font-size: 15px; color: var(--on-board-2); }+@media (max-width: 760px) { .theme-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }++/* The three steps, numbered at poster scale: the order is the instruction. */+.make-steps { margin: 1.4em 0 0; padding: 0; list-style: none; counter-reset: make; }+.make-steps > li { position: relative; max-width: none; margin: 0; padding: 26px 0 0 84px; border-top: 1.5px solid var(--ink); counter-increment: make; }+[dir="rtl"] .make-steps > li { padding: 26px 84px 0 0; }+.make-steps > li + li { margin-top: 2.4em; }+.make-steps > li::before { content: counter(make); position: absolute; inset-inline-start: 0; top: 22px; width: 60px;+ font: 900 72px/.9 var(--font); font-stretch: 68%; font-variant-numeric: tabular-nums; color: var(--ink); text-align: center; }+.make-steps > li > h3 { margin-top: 0; font-size: clamp(24px, 2.4vw, 30px); font-stretch: 78%; }+.make-steps h4 { margin-top: 2em; font-size: 19px; }+.make-steps ul li, .make-steps p { max-width: 68ch; }+.make-steps > li > * + * { margin-top: 1em; }+.prose .os-paths { margin-block: 1em; border-bottom: 1.5px solid var(--ink); }+.prose .fields.os-paths { grid-template-columns: minmax(0, 1fr); }+.prose .os-paths > div { border-inline-start: 0; }+.prose .os-paths dd { overflow-x: auto; white-space: nowrap; }+.prose .os-paths code { white-space: nowrap; }+.keys-ref { margin-top: 0 !important; }+.keys-ref + .keys-ref { border-top: 0; }+.prose .keys-ref summary { padding: 12px 0; font-weight: 700; cursor: pointer; }+.keys-ref:last-of-type { border-bottom: 1px solid var(--line); }+.prose table.keys td:first-child { white-space: nowrap; }+.prompt-box { position: relative; }+.prompt-box pre { max-height: 380px; overflow: auto; }+.prompt-box pre code { white-space: pre-wrap; overflow-wrap: anywhere; }+.prompt-box .copy-btn:not([hidden]) + pre { padding-top: 60px; }+.copy-btn { position: absolute; top: 10px; inset-inline-end: 12px; z-index: 1; height: 38px; padding: 0 14px; gap: 8px; font-size: 14.5px; background: var(--paper); }+.prose .copy-btn svg { width: 17px; height: 17px; }+@media (max-width: 720px) {+ .make-steps > li, [dir="rtl"] .make-steps > li { padding: 20px 0 0; }+ .make-steps > li::before { position: static; display: block; width: auto; margin-bottom: 8px; text-align: start; font-size: 44px; }+}+/* ---- Other languages (tools/website/sitei18n.py)------------------------------------------------ *//* Arrows that point somewhere point the other way. */