live_svelte
madge
live_svelte | madge | |
---|---|---|
22 | 8 | |
872 | 8,535 | |
- | - | |
8.3 | 6.3 | |
17 days ago | 18 days ago | |
Elixir | JavaScript | |
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.
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
madge
- Madge: Create graphs from your CommonJS, AMD or ES6 module dependencies
-
Visualisation tool
something like https://github.com/sverweij/dependency-cruiser maybe https://github.com/pahen/madge or https://github.com/antoine-coulon/skott
-
Thoughts on Svelte
You can render dependency graphs with Madge [0] (works with both TS and JS).
[0] https://github.com/pahen/madge
-
Would anyone find a visual representation of their React component tree like this be helpful?
It would be interesting to somehow overlay this graph on top of the typescript import graph (generated by something like madge). I suspect it might highlight some poorly organized regions of the codebase, because it would be obvious which component trees depend on multiple clusters of files.
- Tools to visualize the dependency graph between files of a github repo?
-
Set your project up for success
So far, I've always used a tool called madge, which saved my ass countless times.
-
ts-helper - Fast dependency cycle checker
I've also noticed that eslint cycle checking is slow for large projects, we currently use madge (https://github.com/pahen/madge) for cycle checking and its very fast and is working pretty well.
-
Is it possible to generate a flow diagram from Javascript code?
There's no VS Code extension for it AFAIK, but it's the best (and almost only) tool that I know which can do it for JavaScript code. There's also madge and emerge, in case the first one doesn't fit your needs.
What are some alternatives?
dioxus - Fullstack GUI library for web, desktop, mobile, and more.
vue-component-analyzer - Analyze dependency tree for Vue.js SFC (Single File Component)
leptos - Build fast web applications with Rust.
eslint-plugin-import - ESLint plugin with rules that help validate proper imports.
resume - Resume
dependency-cruiser - Validate and visualize dependencies. Your rules. JavaScript, TypeScript, CoffeeScript. ES6, CommonJS, AMD.
paperlb - A kubernetes network load balancer implementation
parcel - The zero configuration build tool for the web. 📦🚀
nerves - Craft and deploy bulletproof embedded software in Elixir
stylelint - A mighty CSS linter that helps you avoid errors and enforce conventions.
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.
style-resources - Style Resources for Nuxt 3