Drab
elixir-type_check
Drab | elixir-type_check | |
---|---|---|
1 | 5 | |
870 | 511 | |
- | - | |
0.0 | 5.9 | |
over 1 year ago | 10 months ago | |
Elixir | Elixir | |
MIT License | MIT License |
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.
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)
[0] https://tg.pl/drab
elixir-type_check
-
Elixir and Phoenix can do it all
Use this until the one built into the language is ready. It has incredibly low performance impact too.
https://github.com/Qqwy/elixir-type_check
-
Do people actually use @spec? Do you find it useful?
I'm using type check so I'm using @spec!. But basically the same thing. It's great and it can catch nils when I don't expect there to be any. Great to ensure null safety even if the language itself doesn't support it. Just this alone is killer feature for me.
-
What is the Elixir language used for ?
Because Elixir has TypeScript types build in. It has strong types in runtime. 42 != "42", try doing this in TypeScript. Plus there's a library for runtime type checking. https://github.com/Qqwy/elixir-type_check
- TypeCheck: Fast and flexible runtime type-checking for your Elixir projects
What are some alternatives?
floki - Floki is a simple HTML parser that enables search for nodes using CSS selectors.
hammox - 🏝 automated contract testing via type checking for Elixir functions and mocks
Meeseeks - An Elixir library for parsing and extracting data from HTML and XML with CSS or XPath selectors.
real world example app - Exemplary real world application built with Elixir + Phoenix
html_sanitize_ex - HTML sanitizer for Elixir
StreamData - Data generation and property-based testing for Elixir. 🔮
html_entities - Elixir module for decoding HTML entities.
exp - Elixir library to statically inline expressions at compile time
modest_ex - Elixir library to do pipeable transformations on html strings (with CSS selectors)
re - Elixir library for writing readable regexes in functional style
myhtmlex - Elixir/Erlang bindings for lexborisov's myhtml
mint - Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2 🌱