home.social

#djangoliveview — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #djangoliveview, aggregated by home.social.

fetched live
  1. «HTML over WebSockets: real-time SPAs with barely any JavaScript»

    Building a SPA usually means a JS framework, a JSON API, and two codebases forced to agree on a contract; there is another way that skips all three, and it is not new.

    https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/

    #Web #JavaScript #Python #Django #WebSockets #DjangoLiveView

  2. «HTML over WebSockets: real-time SPAs with barely any JavaScript»

    Building a SPA usually means a JS framework, a JSON API, and two codebases forced to agree on a contract; there is another way that skips all three, and it is not new.

    https://en.andros.dev/blog/ef4968f5/html-over-websockets-real-time-spas-with-barely-any-javascript/

    #Web #JavaScript #Python #Django #WebSockets #DjangoLiveView

  3. «I added a real-time chat to my blog, people used it to attack me»

    It was meant to be a tiny ornament: a little widget showing who's reading right now, with a message box that disappears after a few seconds. Then it hit Hacker News, and people used it to discredit me and try to get an article censored.

    https://en.andros.dev/blog/b6c32a90/i-added-a-real-time-chat-to-my-blog-people-used-it-to-attack-me/

    #Django #WebSockets #DjangoLiveview

  4. «I added a real-time chat to my blog, people used it to attack me»

    It was meant to be a tiny ornament: a little widget showing who's reading right now, with a message box that disappears after a few seconds. Then it hit Hacker News, and people used it to discredit me and try to get an article censored.

    https://en.andros.dev/blog/b6c32a90/i-added-a-real-time-chat-to-my-blog-people-used-it-to-attack-me/

    #Django #WebSockets #DjangoLiveview

  5. I'm sharing my self-hosted personal finance app that I use to manage my budget every month.

    It follows the Japanese Kakebo method: track expenses, set savings goals, reflect on your spending habits.

    What it does:

    - Daily expense tracking by category
    - Weekly and monthly breakdowns
    - Income, fixed expenses, budget calculator
    - Monthly goals, promises, and self-assessment
    - Yearly charts with category evolution
    - Planned future expenses
    - CSV export and REST API
    - Mobile-first, real-time updates

    Tech stack: Django, Django LiveView, SQLite, DaisyUI, Docker.

    https://git.andros.dev/andros/kakebo

    #kakebo #django #djangoliveview #opensource #selfhosted

  6. I'm sharing my self-hosted personal finance app that I use to manage my budget every month.

    It follows the Japanese Kakebo method: track expenses, set savings goals, reflect on your spending habits.

    What it does:

    - Daily expense tracking by category
    - Weekly and monthly breakdowns
    - Income, fixed expenses, budget calculator
    - Monthly goals, promises, and self-assessment
    - Yearly charts with category evolution
    - Planned future expenses
    - CSV export and REST API
    - Mobile-first, real-time updates

    Tech stack: Django, Django LiveView, SQLite, DaisyUI, Docker.

    https://git.andros.dev/andros/kakebo

    #kakebo #django #djangoliveview #opensource #selfhosted

  7. Fine! After getting 12k visits in less than a day with the article https://en.andros.dev/blog/aa31d744/from-zero-to-a-rag-system-successes-and-failures/ , with 100 comments on Hacker News (and 1 on my website), here is a technical summary of the first few hours:

    - Nginx cache solved the 99% of the problems (/media/ , /static/ and HTML render).
    - ASGI, with a WebSocket server, worked fine.
    - Django performed 100% well
    - Django LiveView, with 130 parallel users, worked... surprisingly well. I'm surprised myself!

    My server has specifications similar to a Raspbery Pi 4. Don't overthink it: Django + Nginx + Cache -> It is easy to develop and performs well.

    #django #python #nginx #djangoliveview

  8. Fine! After getting 12k visits in less than a day with the article https://en.andros.dev/blog/aa31d744/from-zero-to-a-rag-system-successes-and-failures/ , with 100 comments on Hacker News (and 1 on my website), here is a technical summary of the first few hours:

    - Nginx cache solved the 99% of the problems (/media/ , /static/ and HTML render).
    - ASGI, with a WebSocket server, worked fine.
    - Django performed 100% well
    - Django LiveView, with 130 parallel users, worked... surprisingly well. I'm surprised myself!

    My server has specifications similar to a Raspbery Pi 4. Don't overthink it: Django + Nginx + Cache -> It is easy to develop and performs well.

    #django #python #nginx #djangoliveview

  9. «De htmx a Django LiveView»

    https://andros.dev/blog/785bf7ac/de-htmx-a-django-liveview/

    Si usas htmx y estás evaluando Django LiveView, este artículo es para ti. Quiero enseñarte rápidamente las equivalencias de que sueles hacer con htmx y cómo lograrlo con Django LiveView. No es una comparación exhaustiva, sino una guía práctica para migrar o decidir cuál usar.

    #htmx #python #django #djangoliveview #djangochannels #web

  10. «De htmx a Django LiveView»

    https://andros.dev/blog/785bf7ac/de-htmx-a-django-liveview/

    Si usas htmx y estás evaluando Django LiveView, este artículo es para ti. Quiero enseñarte rápidamente las equivalencias de que sueles hacer con htmx y cómo lograrlo con Django LiveView. No es una comparación exhaustiva, sino una guía práctica para migrar o decidir cuál usar.

    #htmx #python #django #djangoliveview #djangochannels #web

  11. «From htmx to Django LiveView»

    https://en.andros.dev/blog/94d14a9e/from-htmx-to-django-liveview/

    If you're using htmx and evaluating Django LiveView, this article is for you. I want to quickly show you the equivalences of what you usually do with htmx and how to achieve it with Django LiveView. It's not an exhaustive comparison, but a practical guide to migrate or decide which one to use.

    #htmx #python #django #djangoliveview #djangochannels #web

  12. «From htmx to Django LiveView»

    https://en.andros.dev/blog/94d14a9e/from-htmx-to-django-liveview/

    If you're using htmx and evaluating Django LiveView, this article is for you. I want to quickly show you the equivalences of what you usually do with htmx and how to achieve it with Django LiveView. It's not an exhaustive comparison, but a practical guide to migrate or decide which one to use.

    #htmx #python #django #djangoliveview #djangochannels #web

  13. I created a game engine for Django?

    https://en.andros.dev/blog/6e9e4485/i-created-a-game-engine-for-django/

    TL;DR: Complete multiplayer game in the browser made of 270 lines of Python and 0 lines of JavaScript running on Django thanks to Django LiveView.

    #python #django #djangoliveview

  14. I created a game engine for Django?

    https://en.andros.dev/blog/6e9e4485/i-created-a-game-engine-for-django/

    TL;DR: Complete multiplayer game in the browser made of 270 lines of Python and 0 lines of JavaScript running on Django thanks to Django LiveView.

    #python #django #djangoliveview

  15. Django Interactive Frameworks Benchmark: Django LiveView (WebSocket), traditional SSR, HTMX (AJAX), and Django Unicorn (reactive components)

    https://github.com/tanrax/django-interactive-frameworks-benchmark

    #django #python #htmx #djangoliveview #djangounicorn

  16. Django Interactive Frameworks Benchmark: Django LiveView (WebSocket), traditional SSR, HTMX (AJAX), and Django Unicorn (reactive components)

    https://github.com/tanrax/django-interactive-frameworks-benchmark

    #django #python #htmx #djangoliveview #djangounicorn

  17. I've uploaded a demo of the new version of Django LiveView:

    https://django-liveview-demo.andros.dev/

    I've also updated the Quick Start:

    https://django-liveview.andros.dev/quick-start/

    It's now super easy!

    I even use it on my own personal website for any dynamic elements.

    I hope it helps you with your future projects!

    #python #django #djangoliveview #liveview

  18. I've uploaded a demo of the new version of Django LiveView:

    https://django-liveview-demo.andros.dev/

    I've also updated the Quick Start:

    https://django-liveview.andros.dev/quick-start/

    It's now super easy!

    I even use it on my own personal website for any dynamic elements.

    I hope it helps you with your future projects!

    #python #django #djangoliveview #liveview

  19. Gracias a @pycones por dejarme presentar mi framework.
    Prometo a todos los interesados en colaborar que me pondré en contacto cuando llegue a casa (montaré un Trello con todas las tareas 😂).
    #pycones23 #python #django #djangoliveview

  20. Gracias a @pycones por dejarme presentar mi framework.
    Prometo a todos los interesados en colaborar que me pondré en contacto cuando llegue a casa (montaré un Trello con todas las tareas 😂).
    #pycones23 #python #django #djangoliveview