Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vanjacosic/raffle
Rust TUI that picks a winner from a list of meetup participants.
https://github.com/vanjacosic/raffle
meetup raffle ratatui rust rust-lang tui tui-rs
Last synced: 1 day ago
JSON representation
Rust TUI that picks a winner from a list of meetup participants.
- Host: GitHub
- URL: https://github.com/vanjacosic/raffle
- Owner: vanjacosic
- License: mit
- Created: 2024-02-29T19:26:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T13:19:17.000Z (2 months ago)
- Last Synced: 2024-08-25T14:34:37.185Z (2 months ago)
- Topics: meetup, raffle, ratatui, rust, rust-lang, tui, tui-rs
- Language: Rust
- Homepage:
- Size: 151 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`](https://github.com/ratatui-org/ratatui).
![Screenshot of the TUI](demo.png)
## Why?
At the end of each [Copenhagen Rust Community](https://cph.rs) [meetup](https://www.meetup.com/copenhagen-rust-community/), 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](https://github.com/tui-rs-revival/rust-tui-template) (in June 2023).
```text
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
```---
```text
_____________________________
/ Made for the \
\ Copenhagen Rust Community /
+---------------------------+
\
\ _~^~^~_ |🇩🇰
\) / o o \ (/|
'_ - _'
/ '-----' \
```