diff --git a/.static/demo.png b/.static/demo.png new file mode 100644 index 0000000..c2d4b76 Binary files /dev/null and b/.static/demo.png differ diff --git a/.static/header.png b/.static/header.png new file mode 100644 index 0000000..9ec29b6 Binary files /dev/null and b/.static/header.png differ diff --git a/README.md b/README.md index b23496b..4397e63 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # dynamic-preauth +[![A screenshot of the header of the demo website](./.static/header.png)][demo] + @@ -12,6 +14,8 @@ While complex and with a host of security/pipeline concerns, it had a certain be This project is a proof of concept for that idea, using Rust and Salvo to build a server that can inject a user's authentication token into an executable before it's served to them. +[![A screenshot of the demo section on the demo website](./.static/demo.png)][demo] + ## How it works 1. At build time, the server has release builds for the major target platforms built. They are made available to the server at runtime. @@ -23,7 +27,7 @@ The executable keeps a hash of the original values, so it knows if the value has This application demonstrates the concept of authentication via Websockets. Downloading a new executable will create a new identifier, which is remembered by the server. -In the browser, all download identifiers are shown, and running any executable will tell the server to notify the browser of the download (a sound and visual effect for the relevant identifier). +In the browser, all download identifiers are shown, and running any executable will tell the server to notify the browser of the download (a sound will play and a visual effect for the relevant identifier will appear). ## Docker @@ -34,5 +38,6 @@ This application is carefully constructed via the [Dockerfile](Dockerfile), buil - The [frontend](./frontend) is built with `node:latest` and pre-compressed with Gzip, Brotli, and Zstd. - The final application stage is ran on `alpine:latest`. +[demo]: https://dynamic-preauth.xevion.dev [railway]: https://railway.app [salvo]: https://salvo.rs