Gestiona tu nutrición con recetas, temporizadores y gamificación estilo videojuego
Translation pending
AI summary · website and README
HealthJavaScript · HTMLGitHub @Balldex3DOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Loading the full README. The saved excerpt is shown below.
PWA (Progressive Web App) estilo Solo Leveling para la gestión de nutrición Fase 1 de Christian.Read the full README ↗
PWA (Progressive Web App) estilo Solo Leveling para la gestión de nutrición Fase 1 de Christian.
cd "C:\Users\clgar\OneDrive\Documentos\Claude\Salud"
powershell -File tools/serve.ps1
Abre http://localhost:8080 en el navegador. En Windows, localhost también funciona desde el iPad si están en la misma red usando http://<IP_DEL_PC>:8080.
Abre tools/vapid.html en el navegador (localmente o en cualquier HTTPS) y:
Crear repositorio público en GitHub
https://github.com/TU_USUARIO/recetario
Inicializar git localmente
cd "C:\Users\clgar\OneDrive\Documentos\Claude\Salud"
git init
git add .
git commit -m "Initial commit: Recetario PWA"
git branch -M main
git remote add origin https://github.com/TU_USUARIO/recetario
git push -u origin main
Habilitar GitHub Pages
main branch, carpeta /rootEsperar el deploy (~1-2 minutos)
La app estará en: https://tu_usuario.github.io/recetario/
Instalar en iPad/iPhone
En Cloudflare Dashboard
worker/worker.js al editorrecetario-api.yourdomain.workers.dev)Configurar KV
Ve a Storage → KV
Crea un namespace llamado "SUSCRIPCIONES"
En el Worker, vincula el namespace:
[[kv_namespaces]]
binding = "SUSCRIPCIONES"
id = "tu_kv_namespace_id"
Agregar secret VAPID
wrangler secret put VAPID_PRIVATE_KEY
# Pega la llave privada generada
En la app: actualizar URL del Worker
Edita js/core/push.js (cuando lo crees) y apunta a tu Worker:
const WORKER_URL = 'https://recetario-api.yourdomain.workers.dev';
Solicitar permiso de notificaciones
Al abrir la app, debería pedir permiso. Acepta.
Probar
https://tu-worker/test con { subscription: ... }.
├── index.html # Shell HTML
├── manifest.webmanifest # Configuración PWA
├── sw.js # Service Worker (offline + push)
├── css/
│ └── tokens.css # Variables CSS, Sistema theme
├── js/
│ ├── app.js # Bootstrap, router, renderizado
│ ├── core/
│ │ ├── store.js # localStorage con versionado
│ │ ├── macros.js # Cálculo de calorías
│ │ ├── timer.js # Timers con alertas multi-canal
│ │ └── (otros módulos)
│ └── data/
│ ├── recetas.js # 8 recetas auditadas
│ ├── fases.js # Fase 1/2/3
│ ├── horario.js # Rutina semanal
│ ├── batch.js # Batch cooking
│ └── mercado.js # Lista de mercado + precios
├── worker/
│ ├── worker.js # Cloudflare Worker (push cron)
│ └── wrangler.toml # Configuración
└── tools/
├── serve.ps1 # Servidor local (PowerShell)
└── vapid.html # Generador de llaves VAPID
100 + (N-1)*50 XPCada una desactivable en Ajustes (todas ON por defecto en iPad).
navigator.vibrate no existe (se intenta pero no hace nada)http://localhost o https://file:// no funcionanavigator.storage.persist() al instalarcss/tokens.cssprefers-reduced-motion para animacionesPrivado / No redistribuir sin autorización.
Última actualización: 31 de agosto de 2026
Versión: 1.0 — Fase 1
Plataforma: iPad 10ª gen (iPadOS 17+), celular Android, navegadores modernos