From 0a9e1decd364dcdeb197c374fb730ea02cea8593 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 7 Nov 2026 00:05:03 +0000 Subject: [PATCH] Website: Download page with code signing and privacy policy docs/download.md (built to download.html): the three ways to use EaglePlot, desktop first-launch steps, the code signing policy for the SignPath Foundation application (their required attribution line, team roles: approver Jonathan D. Schultz), and a privacy policy (no data collected; what the web app fetches and from where). Linked from the landing page's Documentation cards and footer. The docs test that checks pages load no external resources now looks at what a browser loads (src=, ), not at ordinary links to other sites. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 3 ++ build_docs.py | 6 ++++ docs/download.md | 70 +++++++++++++++++++++++++++++++++++++++++ docs/index.html | 12 +++++++ tests/test_docs_site.py | 5 ++- 5 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 docs/download.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 42839f0..87961d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm not code-signed yet: the first launch shows a warning (see `packaging/desktop/README.md`). Data Upload → Batch Import reads folders on your computer: type the folder's path as usual (`C:\Users\you\data`, `~/data`). +- **A Download page on the website** (`docs/download.md`): the web app, desktop app and + Python package side by side, first-launch steps, the code signing policy and the + privacy policy (EaglePlot collects no data). ### Changed diff --git a/build_docs.py b/build_docs.py index f5d9e66..f867a2f 100644 --- a/build_docs.py +++ b/build_docs.py @@ -64,6 +64,12 @@ def output_name(self) -> str: "Getting Started", "Install EaglePlot, load your first dataset, and make your first plot.", ), + Page( + _DOCS / "download.md", + "download", + "Download", + "Web app, desktop app or Python package; code signing and privacy policy.", + ), Page( _DOCS / "tutorials" / "gui_guide.md", "gui-guide", diff --git a/docs/download.md b/docs/download.md new file mode 100644 index 0000000..17807b3 --- /dev/null +++ b/docs/download.md @@ -0,0 +1,70 @@ +# Download EaglePlot + +EaglePlot is free and open source ([MIT License](https://github.com/The-Schultz-Lab/eagleplot/blob/main/LICENSE)). +There are three ways to use it. All three keep your data on your own computer. + +| | Best for | How | +| --- | --- | --- | +| **Web app** | Trying EaglePlot, or computers where you can't install software | [Open it in your browser](app/). Chrome and Edge can also install it as an app. | +| **Desktop app** | Using EaglePlot offline, without installing Python | Windows, macOS and Linux installers on the [Releases page](https://github.com/The-Schultz-Lab/eagleplot/releases), starting with the next release | +| **Python package** | Scripts, notebooks, and the full GUI | `pip install eagleplot` ([PyPI](https://pypi.org/project/eagleplot/)), then see [Getting Started](getting-started.html) | + +## Desktop app + +Download the file for your system from the [latest release](https://github.com/The-Schultz-Lab/eagleplot/releases/latest): + +| System | File | Admin rights | +| --- | --- | --- | +| Windows | `EaglePlot--win-x64.exe` | Not needed | +| macOS (Apple Silicon) | `EaglePlot--mac-arm64.dmg` | Not needed | +| macOS (Intel) | `EaglePlot--mac-x64.dmg` | Not needed | +| Linux | `EaglePlot--linux-x86_64.AppImage` | Not needed | + +Python and every package EaglePlot needs are included, so the app works without a network +connection. Settings are kept between sessions. + +**The first time you open it:** + +- **Windows:** if Windows shows "Windows protected your PC", click **More info → Run anyway**. + Signed installers (see below) should not show this warning once they have built up a reputation with Microsoft. +- **macOS:** if macOS says it "cannot check EaglePlot for malicious software", open + **System Settings → Privacy & Security**, scroll down and click **Open Anyway** (once). +- **Linux:** make the file executable (`chmod +x EaglePlot-*.AppImage`), then run it. + +## Code signing policy + +Free code signing provided by [SignPath.io](https://about.signpath.io/), certificate by +[SignPath Foundation](https://signpath.org/). + +The Windows installers are signed with this certificate. Signing starts with the first +release after the project's approval. Earlier installers are unsigned. + +Only files built from this repository's source by its GitHub Actions workflows are +signed. Every change reaches the `main` branch through a reviewed pull request, and +each signing request is approved by hand. + +**Team roles** + +- **Committers and reviewers:** members of the + [Schultz Lab](https://github.com/The-Schultz-Lab) at North Carolina Central University + and other [contributors](https://github.com/The-Schultz-Lab/eagleplot/graphs/contributors). + Changes are reviewed in pull requests before they are merged. +- **Approvers:** Jonathan D. Schultz ([@NCCU-Schultz-Lab](https://github.com/NCCU-Schultz-Lab)). + +## Privacy policy + +EaglePlot does not collect, store or send any information about you or your data. +It will not transfer any information to other networked systems unless you specifically +ask it to. + +- **Desktop app:** makes no network requests. Links you click open in your web browser. +- **Web app:** a static site hosted on [GitHub Pages](https://docs.github.com/en/pages). + Your browser downloads the app, and the Python runtime from the + [jsDelivr](https://www.jsdelivr.com/) CDN, and runs it locally. Files you open are read in + your browser and never uploaded. GitHub and jsDelivr may log requests (such as IP + addresses) as described in their own privacy policies. +- **Python package:** contacts other servers only when you ask it to, for example to look + up a spectrum in the [NIST Chemistry WebBook](https://webbook.nist.gov/). Usage + statistics in the Streamlit interface are turned off. + +Questions: open an [issue](https://github.com/The-Schultz-Lab/eagleplot/issues). diff --git a/docs/index.html b/docs/index.html index 5309fcc..baf1c04 100644 --- a/docs/index.html +++ b/docs/index.html @@ -557,6 +557,16 @@

Everything in one toolkit

+
+
⬇️
+
+ Download +
+

+ Web app, desktop app or Python package; code signing and privacy policy. +

+
+
🖱️
14-Page Streamlit GUI
@@ -1053,6 +1063,8 @@

Documentation

Schultz Lab Repository Try on Binder + Download + Privacy License
diff --git a/tests/test_docs_site.py b/tests/test_docs_site.py index c164cc1..4be4586 100644 --- a/tests/test_docs_site.py +++ b/tests/test_docs_site.py @@ -182,7 +182,10 @@ def test_generated_pages_fetch_no_external_resources(self, built_site: Path): if page.name == "index.html": continue # hand-written; checked separately if it ever gains assets html = page.read_text(encoding="utf-8") - external = re.findall(r'(?:src|href)="(https?://[^"]+)"', html) + # Loaded by the browser: src= (scripts, images, frames) and (styles, + # fonts). Ordinary links to other sites are only followed on a click. + external = re.findall(r'src="(https?://[^"]+)"', html) + external += re.findall(r']*\bhref="(https?://[^"]+)"', html) non_repo = [u for u in external if "github.com/The-Schultz-Lab" not in u] assert not non_repo, f"{page.name} loads external resources: {non_repo}"