- Rust (stable toolchain) — install via rustup.rs
- Node.js — required for the Tauri CLI (
cargo tauri) - WebView2 Runtime — pre-installed on Windows 11; download from Microsoft if needed
The ScreenScraper integration requires a developer API account, separate from a regular user account. Reach out to the maintainer if you have any questions.
Steps:
- Create a regular ScreenScraper account at screenscraper.fr
- Request developer API access via the ScreenScraper developer forum
- Once approved, create the file
src-tauri/.cargo/config.tomlwith your credentials:
# Local developer credentials for ScreenScraper API.
# Never commit this file.
[env]
SCREENSCRAPER_DEV_ID = "your-dev-id-here"
SCREENSCRAPER_DEV_PASSWORD = "your-dev-password-here"- This file is listed in
.gitignore— never commit it - Without these env vars,
cargo checkwill fail with a compile error (intentional — prevents accidental builds without credentials)
Run from the project root (ags-scraper/):
# Development mode (hot-reload frontend)
cargo tauri dev
# Production build — produces a portable .exe
cargo tauri buildRaw Rust commands run from src-tauri/:
cd src-tauri
# Type-check without building
cargo check
# Run unit tests
cargo testRust: Format with cargo fmt before committing. Run cargo clippy and resolve any warnings.
TypeScript / CSS: No formatter is enforced — follow the conventions in the existing files (2-space indent, single quotes in JS, no trailing commas in HTML attributes).
- Fork the repository and create a branch from
main - Make your changes and test them in dev mode (
cargo tauri dev) - Ensure
cargo check,cargo test, andcargo clippyall pass (fromsrc-tauri/) - Open a PR against
main, linking any related issues