{
  "id": 1775167,
  "title": "NiceGUI: crea una aplicación web en Python sin escribir JavaScript",
  "url": "https://urgent.news/2026/08/18/nicegui-crea-una-aplicacion-web-en-python-sin-escribir-javascript",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-08-18T18:45:05.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/isazajuancarlos/nicegui-crea-una-aplicacion-web-en-python-sin-escribir-javascript-3kef"
  },
  "original_language": "es",
  "account": "NiceGUI is a Python framework that simplifies web application development by eliminating the need for JavaScript. It is built on top of FastAPI (backend) and Quasar/Vue (frontend). With NiceGUI, you can create complete web applications featuring buttons, forms, charts, and navigation using only Python. You do not need to write HTML, CSS, or JavaScript to get started.\n\nTo create a simple app, you can write just four lines of code:\n\n```python\nfrom nicegui import ui\nui.button(\"Say Hello\", on_click=lambda: ui.notify(\"¡Hola!\"))\nui.run()\n```\n\nThe UI structure is expressed using context managers, which mirror the nesting of elements. Here's an example of a card with a login form:\n\n```python\nwith ui.card():\nui.label(\"Login\", classes=\"text-xl font-bold\")\nusername = ui.input(\"Username\")\npassword = ui.input(\"Password\", password=True)\nui.button(\"Enter\", on_click=lambda: login(username.value, password.value))\n```\n\nAdding reactive state, forms, tables, or routes is just as straightforward. NiceGUI is ideal for MVPs, prototypes, internal tools, and demos of AI models or scripts that require an interface. However, it may not be the best choice for SEO-critical sites or applications where server-side rendering is preferred.\n\nNiceGUI runs in the client, so it's best suited for internal tools, dashboards, and applications where performance and ease of deployment are key. The app is deployed like any FastAPI/Uvicorn application, typically behind nginx with systemd. To serve the static files, nginx is used, and in production, `ui.run(show=False)` is employed to avoid opening a browser on the server.",
  "summary": "Si sabes Python pero el frontend te frena, NiceGUI es una de las mejores noticias de los últimos años: te permite construir aplicaciones web completas —con botones, formularios, gráficos y navegación— usando solo Python. ¿Qué es NiceGUI? Es un framework construido sobre FastAPI (backend) y Quasar/Vue (frontend). Tú escribes Python; NiceGUI genera la interfaz en el navegador y mantiene…",
  "key_points": [
    "NiceGUI simplifies web app development in Python without JavaScript.",
    "Simple app created with four lines of Python code.",
    "Ideal for MVPs, prototypes, and internal tools."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}