Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
screens
-
Ask HN: Does anyone here makes sw for kiosks, infotainments or similar?
I work on a team building an application that displays real-time predictions/service alerts and other stuff on various types of strictly non-interactive screens posted around the MBTA’s* bus and rapid transit network.
Like others in the comments, we use a pretty straightforward architecture—our backend is written in Elixir and the frontend is rendered as a webpage with HTML/TypeScript/SCSS. We also use AWS Polly for on-demand readouts of the same content. The client periodically requests new data from the server—no web sockets involved for now.
The kiosk part is pretty basic; most of the interesting problems we face are related to the fact that we support a large variety of screen types/formats and need to strictly adhere to ADA guidelines (for both type size and audio equivalence). Screen types include solar-powered e-ink, portrait mode 1080p LCD, twin side-by-side portrait LCDs, and a set of screens owned by an ad vendor, on which our content appears in a rotation alongside ads.
The codebase is open-source! https://github.com/mbta/screens
* (Massachusetts Bay Transportation Authority)
Drab
-
Ask HN: Does anyone here makes sw for kiosks, infotainments or similar?
That's basically what I did for some screens around the office (before covid sent us to remote work) - elixir backend with a raspberry pi on the back of each TV, then Drab[0] to update the screen over websockets (liveview wasn't a thing then IIRC)
What are some alternatives?
floki - Floki is a simple HTML parser that enables search for nodes using CSS selectors.
Meeseeks - An Elixir library for parsing and extracting data from HTML and XML with CSS or XPath selectors.
html_sanitize_ex - HTML sanitizer for Elixir
modest_ex - Elixir library to do pipeable transformations on html strings (with CSS selectors)
myhtmlex - Elixir/Erlang bindings for lexborisov's myhtml
html_entities - Elixir module for decoding HTML entities.
tidy_ex - Elixir binding to the granddaddy of HTML tools
Claper - The ultimate tool to interact with your audience
xlsxir - Xlsx parser for the Elixir language.
machinist - A small Elixir lib to write state machines
Veil - Simple passwordless authentication for your Phoenix apps
elixir-type_check - TypeCheck: Fast and flexible runtime type-checking for your Elixir projects.