/raffle

Rust TUI that picks a winner from a list of meetup participants.

Primary LanguageRustMIT LicenseMIT

R.A.F.F.L.E.

aka. Rapidly Assembled Ferris Fortune Locator Engine.

A TUI application that picks a winner from a list of meetup participants. Built with the wonderful Ratatui.

Screenshot of the TUI

Why?

At the end of each Copenhagen Rust Community meetup, we give away books to participants, so I made a small tool to make that the process a bit more fun.

Structure

This project was generated from rust-tui-templates (in June 2023).

src/
├── app.rs     -> holds the state and application logic
├── event.rs   -> handles the terminal events (key press, mouse click, resize, etc.)
├── handler.rs -> handles the key press events and updates the application
├── lib.rs     -> module definitions
├── main.rs    -> entry-point
├── tui.rs     -> initializes/exits the terminal interface
└── ui.rs      -> renders the widgets / UI

_____________________________
/         Made for the        \
\  Copenhagen Rust Community  /
 +---------------------------+
      \
       \    _~^~^~_    |🇩🇰
        \) /  o o  \ (/|
          '_   -   _'
          / '-----' \