~liz/den-tv

Remove old unused update types
Be smarter about reloading
link the blog post

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~liz/den-tv
read/write
git@git.sr.ht:~liz/den-tv

You can also use your local clone with git send-email.

#den-tv

Runs a display that runs 24/7 in the middle of our kitchen providing us with useful information

#Design

den-tail is the (Actix) backend, which retrieves all the data den-head is the (Yew) frontend, which renders the HTML den-message is the (JSON) interchange format to send data from the tail to the head

den-tail sends den-head den-message messages using a websocket

#Blog

I wrote a blog about the development process!

#Requirements

Built with Rust 1.77. Uses cargo-make for development tasks

There's a default.nix if you're a NixOS sicko

#Development

Run the development server with cargo make serve.

This will run den-tail on port 8080, and proxy /, /trunk/ and /static to the Trunk on port 8090

#Deployment

I use docker. You can build it with:

cargo make docker