A little webapp that lets your loved ones let you know they're thinking about you, by changing the color of your lights for a few seconds.
Since there are currently no binaries available you'll have to manually install and compile the app. These instructions assume you have Rust, Cargo, and sqlite installed.
- clone this repo
git clone https://github.com/ItsVipra/luxamor
- copy
luxamor.toml.example
toluxamor.toml
- customize the example values
- Obtain a HAAS token by going to http://homeassistant.local:8123/profile and scrolling all the way down
- set a private key in
Rocket.toml
- the Rocket team advises to use
openssl rand -base64 32
to generate one
- the Rocket team advises to use
- compile and run the app with
cargo run -r
- just
cargo run
is fine, if you want more console output
- just
- navigate to
localhost:5892/admin
to sign in to the admin interface
If you want to run this app on ARM (e.g. raspberry pi) you can cross-compile it with cross-rs.
Usage is the same as cargo, so for ARM compilation execute (sudo) cross build -r --target armv7-unknown-linux-gnueabihf
.
- Configureability
- Link length
- HAAS key
- HAAS URL
- Ping timeout
- Ping name
- Port
- Security
- Admin auth
- Rate Limit
- Rate limit on admin (factor out)
- Code Quality
- less String more str
- less cloning
- Visuals
- Nicer Ping template
- Copy button on admin page
- Tests
- All the things