Skip to content
/ ws-explo Public

Controlling a client (cli) via a web interface based on websockets. Could be used for rapid task invocation.

Notifications You must be signed in to change notification settings

vuoz/ws-explo

Repository files navigation

ws-exploration

Preview

preview.mp4

Concept

  • Send messages / control client via a user interface on the web

Reproduce

cargo leptos watch

you will need cargo leptos to run this project

cargo install cargo-leptos

Stack

  • Rust
  • Axum
  • Leptos
  • Postgres

Missing improvements

  • improve ui
  • improve flow of the site (auto redirects etc.)
  • implement e2ee
  • switch to ssr instead of csr

Db prerequisites

Use this in your existing postgres database

CREATE table usertable(
   username text,
   password text,
   key text,
   auth text
);

Db Connection

Please create a .docker.env file and paste the following line. This is the connection string for the pg database.

DATABASE_URL=postgresql://myuser:yourpass@localhost:6000/mydb

About

Controlling a client (cli) via a web interface based on websockets. Could be used for rapid task invocation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published