Top 10 Elixir HTML Projects
-
-
Project mention: Ask HN: Does anyone here makes sw for kiosks, infotainments or similar? | news.ycombinator.com | 2022-07-25
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)
-
Learn Elixir
Learn Elixir in as little as 12 Weeks. A structured learning environment with practical assignments, code reviews, weekly live coaching sessions, job-hunting assistance, and more. Try a Free Preview today!
-
One possible solution to this problem is the Free, Open Source Software community continuing to work toward more sophisticated tech that can bridge the gap between popular server-side languages for Web Dev and native platforms. PhoneGap was a failure because it was JS running on the phone, rather than compiling to something faster and with a more “native feel”. React Native is, IMHO, not that much better (and the React ecosystem has ridiculous fragmentation and churn). Flutter seems cool, but Dart is not a popular server-side language (and from what I heard anecdotally, Flutter also has API complexity and churn).
Personally, I think Elixir is a natural choice for this kind of task (disclosure: I am incredibly biased in my love for Elixir).
Macro-based DSLs are not beloved by all, but they can take you pretty far with minimal overhead, since you can theoretically target multiple platforms without even having to ship a custom runtime to the phone. Aside from the language itself, there is a great community, less fragmentation and churn, and a tendency to build thoughtful, robust libraries and frameworks with good docs.
For inspiration, take a look at Mitch Hanberg’s Temple project[0] which compiles valid Elixir code to something that eventually gets turned into HTML.
DockYard is also doing really cool, bleeding edge stuff with LiveView Native[1], even if it’s a bit early to predict how viable it will be for large, complex apps.
[0]https://github.com/mhanberg/temple
[1] https://dockyard.com/blog/2022/09/01/dockyard-r-d-build-elix...
-
-
Meeseeks
An Elixir library for parsing and extracting data from HTML and XML with CSS or XPath selectors.
-
-
-
Paraxial.io
Elixir and Phoenix Application Security Platform. Replace Snyk, reCaptcha, and Cloudflare bot defense with the only application security platform built for Elixir and Phoenix.
-
-
-
phoenix_html_simplified_helpers
Some helpers for phoenix html( truncate, time_ago_in_words, number_with_delimiter, url_for, current_page? )
Elixir HTML related posts
Index
What are some of the best open-source HTML projects in Elixir? This list will help you:
Project | Stars | |
---|---|---|
1 | floki | 1,841 |
2 | Drab | 861 |
3 | temple | 415 |
4 | scrape | 322 |
5 | Meeseeks | 284 |
6 | html_sanitize_ex | 226 |
7 | readability | 199 |
8 | scrivener_html | 121 |
9 | html_entities | 79 |
10 | phoenix_html_simplified_helpers | 29 |