Skip to content

Latest commit

 

History

1,062 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

<Wilson.E/> — CodeHub

Portfolio profesional · 40 herramientas web · Apps Android · Chat IA

Deploy Backend License PWA

🌐 Ver sitio · 🛠️ Tools · 📱 Open Source · 💼 Servicios


🚀 ¿Qué es CodeHub?

Portfolio de Wilson.E, desarrollador web full stack de Guatemala. Incluye:

  • 40 herramientas web gratuitas (contraseñas, QR, clima, traductor, imagen IA, y más)
  • Catálogo de apps Open Source verificadas contra su repositorio de GitHub
  • Chat IA powered by Groq (LLaMA 3.3 70B) con fallback a Gemini
  • Descargador de videos de redes sociales
  • PWA instalable con soporte offline y notificaciones en tiempo real

🛠️ Stack

Layer Tecnología
Frontend HTML5, CSS3, JavaScript (Vanilla)
Backend Node.js, Express.js v2.0
Base de datos MongoDB Atlas
Storage APKs Backblaze B2
IA Groq (LLaMA 3.3 70B) + Gemini fallback
Deploy Frontend Vercel (auto-deploy)
Deploy Backend Render
PWA Service Worker v3.0
Bot Python + Telegram API
CI/CD GitHub Actions

📁 Estructura

CodeHub/
├── index.html          # Portfolio principal
├── tools.html          # 40 herramientas web
├── opensource.html     # Apps Android Open Source
├── servicios.html      # Servicios freelance
├── downloader.html     # Descargador de videos
├── cv.html             # Hoja de vida
├── sw.js               # Service Worker v3.0
├── manifest.json       # PWA Manifest
├── vercel.json         # Headers seguridad + caché
├── sitemap.xml         # SEO Sitemap
├── robots.txt          # SEO Robots
├── python/
│   ├── codehub.py      # AutoScript (setup/deploy/health/backup)
│   ├── telegram_bot.py # Bot resumen diario
│   └── requirements.txt
├── .github/workflows/
│   ├── deploy.yml      # CI/CD en cada push
│   ├── daily_report.yml# Bot Telegram 9PM GT
│   └── autoscript.yml  # AutoScript lunes 8AM GT
├── css/                # Estilos
├── js/                 # Scripts
└── backend/
    ├── server.js       # API REST
    ├── package.json
    └── render.yaml

⚡ Variables de Entorno (GitHub Secrets)

GROQ_API_KEY        # groq.com
GEMINI_API_KEY      # aistudio.google.com (fallback)
MONGODB_URI         # MongoDB Atlas
FRONTEND_URL        # https://wilson360-labs.vercel.app
ADMIN_KEY           # Clave del panel admin
B2_KEY_ID           # Backblaze B2
B2_APP_KEY          # Backblaze B2
B2_BUCKET_ID        # Backblaze B2
B2_BUCKET_NAME      # Backblaze B2
TELEGRAM_BOT_TOKEN   # Bot Telegram (canónico; alias legacy: TELEGRAM_TOKEN)
TELEGRAM_CHAT_ID    # Tu chat ID
BACKEND_URL         # https://codehub-98s6.onrender.com

# ── Recompensas (rewarded ads, ver docs/REWARDED-ADS.md) ──
REWARD_POSTBACK_SECRET           # Secreto único del postback (cualquier red)
# REWARD_POSTBACK_SECRETS        # JSON por red: {"monetag":"<s>","offerwall":"<s>"}
# MONETAG_POSTBACK_SECRET        # atajo por red (también ADGEM_/AYET_/BITLABS_)
REWARD_HMAC_SECRET               # Firma de nonces (def. ADMIN_KEY)
REWARD_AMOUNTS                   # JSON {"default":1,"bonus":5}
REWARD_DAILY_CAP                 # Tope de créditos/usuario/día (def. 50)
REWARD_AD_UNIT                   # Unidad por defecto (def. "default")
REWARD_USER_ID_SOURCES           # CSV redes vía user_id: "adgem,bitlabs"
# App: Unity Ads — Game ID y placements en
# apk/android/app/src/main/java/com/codehub/app/UnityAdsManager.java

🤖 AutoScript

python python/codehub.py status    # estado rápido
python python/codehub.py health    # health check completo
python python/codehub.py backup    # backup MongoDB
python python/codehub.py deploy    # git push + verificar
python python/codehub.py all       # todo en orden

📬 Contacto

📄 Licencia

MIT © 2026 Wilson.E