Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wall

What is it?

Simple "wall" without authorization or such useless stuff. Pure chaos. You say who are you -> post message -> anyone see it. Made in pastel tones to calm users down and not write something sad :)

Stack

Vanilla js + css + html + rust + axum + tokio + tower + serde + anyhow + im tired and it's 3:25 now

Why is it cool?

idk, for now it saves msgs in ram as vec. When I will implement something smarter, it will be cool, I promise!

Usage

git clone <repolink>

# will work with mock_db
cargo run

# will work with sqlite_db
touch db.sqlite # or any other name 
cargo run --features "sqlite_db"

Also you can pass env vars: PORT and DB_FILENAME

TBD

  • storage which is adequate to a problem
  • integrations (implement a trait and, for each message, get a thread calling your very useful func)
    • telegram channel posting as an example
  • rate limiting (or it'll be more chaotic, then I expected even for five people)
  • flake.nix

LICENSE

I've visited https://choosealicense.com/, and they told me to pick MIT, I guess (but I accidentaly used GNU Public License v3, sorry). So, read it and use this code if you want as license tell you..?

Used by

Contributors

Languages