mirror of
https://github.com/Xevion/dynamic-preauth.git
synced 2025-12-05 23:14:53 -06:00
Add screenshots to README
This commit is contained in:
BIN
.static/demo.png
Normal file
BIN
.static/demo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 99 KiB |
BIN
.static/header.png
Normal file
BIN
.static/header.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 97 KiB |
@@ -1,5 +1,7 @@
|
||||
# dynamic-preauth
|
||||
|
||||
[][demo]
|
||||
|
||||
<!-- TODO: Add badges -->
|
||||
<!-- TODO: Add links to Railway deployment -->
|
||||
|
||||
@@ -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.
|
||||
|
||||
[][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
|
||||
|
||||
Reference in New Issue
Block a user