Skip to content
Open
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
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,15 @@ jobs:
run: dotnet build dotnet/CloakBrowser.sln -c Release
- name: Run tests
run: dotnet test dotnet/CloakBrowser.sln -c Release --no-build

rust:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install Rust toolchain
run: |
rustup toolchain install stable --profile minimal
rustup default stable
- name: Test
run: cargo test -p cloakbrowser --lib
working-directory: rust
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ CLAUDE.md
js/node_modules/
js/dist/

# Rust
rust/target/
**/Cargo.lock.bak

# Distribution
*.tar.gz
*.whl
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,20 @@ dotnet add package CloakBrowser

> Community-maintained .NET client built on Microsoft.Playwright. See [`dotnet/README.md`](dotnet/README.md) for the full API.

**Rust:**

```toml
# Cargo.toml
cloakbrowser = { path = "rust/cloakbrowser" } # monorepo path
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
```

```bash
cd rust && cargo run -p cloakbrowser-cli -- install
```

> Community-maintained Rust client built on [`playwright-rs`](https://crates.io/crates/playwright-rs). See [`rust/README.md`](rust/README.md) for the full API.

---

On first run, the stealth Chromium binary is automatically downloaded (~200MB, cached locally).
Expand Down Expand Up @@ -1389,6 +1403,7 @@ Issues and PRs welcome. If something isn't working, [open an issue](https://gith
## Contributors

- [@evelaa123](https://github.com/evelaa123) — humanize behavior, persistent contexts, Windows fix, .NET client
- [@enrell](https://github.com/enrell) — Rust client
- [@yahooguntu](https://github.com/yahooguntu) — persistent contexts
- [@kitiho](https://github.com/kitiho) — null viewport fix
- [@eofreternal](https://github.com/eofreternal) — humanConfig type fix, humanized method option types, iframe pointer-events fix
Expand Down
3 changes: 3 additions & 0 deletions rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target/
**/*.rs.bk
.cargo-ok
Loading