Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
70 changes: 70 additions & 0 deletions docs/download.md
Original file line number Diff line number Diff line change
@@ -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-<version>-win-x64.exe` | Not needed |
| macOS (Apple Silicon) | `EaglePlot-<version>-mac-arm64.dmg` | Not needed |
| macOS (Intel) | `EaglePlot-<version>-mac-x64.dmg` | Not needed |
| Linux | `EaglePlot-<version>-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).
12 changes: 12 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,16 @@ <h2 class="section__title">Everything in one toolkit</h2>
</p>
</div>

<div class="card">
<div class="feature-card__icon">⬇️</div>
<div class="feature-card__title">
<a href="download.html">Download</a>
</div>
<p class="feature-card__body">
Web app, desktop app or Python package; code signing and privacy policy.
</p>
</div>

<div class="card">
<div class="feature-card__icon">🖱️</div>
<div class="feature-card__title">14-Page Streamlit GUI</div>
Expand Down Expand Up @@ -1053,6 +1063,8 @@ <h2 class="section__title">Documentation</h2>
<a href="https://github.com/The-Schultz-Lab" target="_blank" rel="noopener">Schultz Lab</a>
<a href="https://github.com/The-Schultz-Lab/eagleplot" target="_blank" rel="noopener">Repository</a>
<a href="https://mybinder.org/v2/gh/The-Schultz-Lab/eagleplot/main" target="_blank" rel="noopener">Try on Binder</a>
<a href="download.html">Download</a>
<a href="download.html#privacy-policy">Privacy</a>
<a href="https://github.com/The-Schultz-Lab/eagleplot/blob/main/LICENSE" target="_blank" rel="noopener">License</a>
</nav>
</div>
Expand Down
5 changes: 4 additions & 1 deletion tests/test_docs_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <link href> (styles,
# fonts). Ordinary <a href> links to other sites are only followed on a click.
external = re.findall(r'src="(https?://[^"]+)"', html)
external += re.findall(r'<link\b[^>]*\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}"

Expand Down
Loading