Latest: App source: CI workflows by Branchwell, 44 min ago
| 📁 .github | |
| 📁 assets | |
| 📁 crates | |
| 📁 fixtures | |
| 📁 scripts | |
| 📁 web | |
| 📄 .gitignore | 143 B |
| 📄 Cargo.lock | 108.5 KB |
| 📄 Cargo.toml | 411 B |
| 📄 LICENSE | 1.2 KB |
| 📄 README.md | 2.3 KB |
Clearwake
A quieter browser, written entirely in Rust.
Clearwake reads web pages into clean text, links and pictures. Scripts never run. Ads and trackers are blocked before they load, with no off switch, no allowlist and no exceptions. Bookmarks stay on your device. There is no account.
Where it runs
| Platform | Build | How |
|---|---|---|
| Mac (Apple Silicon and Intel) | scripts/package-mac.sh | egui window |
| Windows (x64) | scripts/package-windows.sh | egui window |
| Linux (x86-64, glibc 2.28+) | scripts/package-linux.sh | egui window |
| Android (8.0+) | scripts/package-android.sh | egui on NativeActivity |
| Web | scripts/build-web.sh | egui in WebAssembly, pages loaded through clearwake.ai/fetch |
| Glimmer | crates/clearwake-glimmer | native Glimmer window, drawn by Glimmer's own kernel |
Layout
crates/clearwake-core: the engine. Web addresses, the HTML reader and the always-on filter (filters.txt).no_stdwith integer math only, so it also runs inside the Glimmer kernel.crates/clearwake-app: the app for Mac, Windows, Linux, Android and the web (egui).crates/clearwake-glimmer: Clearwake as a Glimmer window (glimmer-ui). Builds forx86_64-unknown-none. The kernel loads pages and hands them over; until its network stack is wired in, the window shows its welcome page.crates/clearwake-fetch: the filter behind clearwake.ai/fetch, the page loader for the web version (a web page can't read other sites directly). A tiny WebAssembly module with no imports;pages/holds the Pages Function that asks it about every address and redirect.
Build and test
cargo test -p clearwake-core
cargo run -p clearwake --release -- https://example.com
cargo build -p clearwake-core --release --target x86_64-unknown-none # Glimmer target
(cd crates/clearwake-glimmer && cargo build --release --target x86_64-unknown-none)
(cd crates/clearwake-fetch && cargo build --release --target wasm32-unknown-unknown)
What it does not do yet
Clearwake does not run JavaScript or apply page styles, so pages that only work with scripts show less, and logins that need scripts won't work. Pictures are shown; video and audio are not. There are no tabs yet.
Released into the public domain under the Unlicense.