live_svelte
nerves
live_svelte | nerves | |
---|---|---|
22 | 11 | |
864 | 2,150 | |
- | 0.6% | |
8.3 | 8.4 | |
15 days ago | 10 days ago | |
Elixir | Elixir | |
MIT License | Apache License 2.0 |
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.
live_svelte
- Svelte Inside Phoenix Liveview with Seamless End-to-End Reactivity
-
Bun v0.8.0
Bun is an executable as far as I understand. Would it be possible to call Bun code directly from another language with bindings?
For example Erlang (and Elixir) has Native Implemented Functions[0] (NIF) where you can call native code directly from Erlang. Elixir has the zigler[1] project where you can call Zig code directly from Elixir.
Maybe you can see where I'm going with this, but it would be super cool to have the ability to call Javascript code from within Elixir. Especially when it comes to code that should be called on the server and client. I'm the developer of LiveSvelte[2] where we use Node to do SSR but it's quite slow atm, and would be very cool to use Bun for something like this.
In any case Bun is super impressive, keep it up!
[0] https://www.erlang.org/doc/tutorial/nif.html
[1] https://github.com/E-xyza/zigler
[2] https://github.com/woutdp/live_svelte
-
Ask HN: Who wants to be hired? (July 2023)
Remote: Yes (Remote only)
Willing to relocate: no
Technologies: Elixir, Phoenix, Svelte, Django, Python
Résumé/CV: Upon request
Email: [email protected]
GitHub: https://github.com/woutdp
Website: https://wout.space/
Current project: https://github.com/woutdp/live_svelte
Past project: https://geoquest.gg/ (made in SvelteKit)
Full-Stack Web Developer. Looking for Elixir/Phoenix work. 7+ years of professional experience working with various web technologies, mainly Python, Django and Svelte(Kit). Would be open for working with Python/Django/Svelte(Kit). Also open to work on frontend and/or backend only projects. Website refresh/new website projects is also something I'm interested in.
Availability: part-time, +- 25 hours per week or less
- LiveSvelte
-
Ask HN: Who wants to be hired? (June 2023)
Location: Vancouver Canada, Remote
Remote: Yes (Remote only)
Willing to relocate: no
Technologies: Elixir, Phoenix, Svelte, Django, Python
Résumé/CV: Upon request
Email: [email protected]
GitHub: https://github.com/woutdp
Website: https://wout.space/
Current project: https://github.com/woutdp/live_svelte
Past project: https://geoquest.gg/ (made in SvelteKit)
Full-Stack Web Developer. Looking for Elixir/Phoenix work. +7 years of professional experience working with various web technologies, mainly Python, Django and Svelte(Kit). Would be open for working with Python/Django/Svelte(Kit). Also open to work on frontend and/or backend only projects. Website refresh/new website projects are also something I'm interested in.
- Ask HN: Who wants to be hired? (May 2023)
-
Ask HN: Freelancer? Seeking freelancer? (May 2023)
Hi I'm a Full-Stack Web Developer. Looking for Elixir/Phoenix work. +7 years of experience working with various web technologies, mainly Python, Django and Svelte(Kit). Would be open for working with Python/Django/Svelte(Kit). Also open to just work on frontend and/or backend only projects. Website refresh/new website projects are also something I'm interested in.
Availability: +- 20 hours per week or less, hourly or contract work
- Current project: https://github.com/woutdp/live_svelte
- Past project: https://geoquest.gg/ (made in SvelteKit)
- GitHub: https://github.com/woutdp
- Website: https://wout.space/
- Contact: [email protected]
-
Firefly – A new compiler and runtime for BEAM languages
For very high degree of interactivity I've been working on LiveSvelte which might solve that issue for you. Your other points still stand though.
https://github.com/woutdp/live_svelte
-
Perseus – NextJS alternative in Rust
I've been working on LiveSvelte[0] which might answer this in the LiveView example. It integrates LiveView with Svelte and has SSR support by calling Node from within Elixir, I wouldn't call it unholy, it's quite nice :)
Routing is fully handled by Phoenix, and you can get quite fast page transitions with Live Navigation Events. It's just that whenever you need complex frontend state you can offload it to Svelte, while still maintaining that backend interopability, in this case with E2E reactivity.
What's also really nice is that LiveView and Svelte are both very declarative in the way they handle the 'view' layer. And so they map really well onto eachother.
I also wrote a blogpost[1] on the topic.
[0] https://github.com/woutdp/live_svelte
[1] https://wout.space/notes/live-svelte
- Render Svelte Directly into Phoenix LiveView with E2E Reactivity
nerves
- Embedded Elixir
-
Where Nerves-related Mix tasks are defined?
The nerves package's README.md explains what each repository is responsible for with a comprehensive listing.
- Elixir for Ruby developers: the three most important differences
-
Firefly – A new compiler and runtime for BEAM languages
You may be already aware of it, but just in case, there is the Nerves project: https://nerves-project.org/
-
Mixing sync and async views in the same application
As for embedded... I've only dabbled. Yeah you're not going to run Elixir on an Arduino or other very minimal bare metal embedded processor. But the Nerves Project (https://nerves-project.org/) which runs Elixir directly on SBCs is very well regarded. But either way it doesn't matter, since I thought we were talking about web dev, which is where Phoenix and Elixir just make more sense, for me.
-
what is the common usage of elixir
For me particularly I like it for things like APIs, Web Platforms (lower resource usage than other languages), and embedded devices via Nerves. However I've also used it on my endpoints to monitor them via Erlang's built in os_mon. Another usage is the distributed nature of erlang can allow you to do things like connect two nodes and run code on a remote node via remote procedure calls. This would allow you to execute something in a nearby geolocated node and reduce latency. Fly.io did a talk on this feature.
-
Functional programming language for embedded devices?
Check out nerves, a set of tools and libraries for embedded development with Elixir.
- Craft and deploy bulletproof embedded software in Elixir
-
A native Go userland for your Raspberry Pi 3 or 4 appliances
Is this kinda like the Nerves approach but for Golang? (https://github.com/nerves-project/nerves)
-
Use case of elixir
Nerves is also popular for embedded.
What are some alternatives?
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
tamago - TamaGo - ARM/RISC-V bare metal Go
leptos - Build fast web applications with Rust.
libcluster - Automatic cluster formation/healing for Elixir applications
resume - Resume
erlexec - Execute and control OS processes from Erlang/OTP
paperlb - A kubernetes network load balancer implementation
cubdb - Elixir embedded key/value database
ask-hn-candidate-list-chatgpt - Transcript of my converstation with ChatGPT to get it to write a script to scrape "Ask HN: Who wants to be hired? (May 2023)" and store it as a csv file.
nerves_livebook - Develop on embedded devices with Livebook and Nerves
litestar - Production-ready, Light, Flexible and Extensible ASGI API framework | Effortlessly Build Performant APIs
hardcaml - Hardcaml is an OCaml library for designing hardware.