Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

sergeadaimy-hash/sunny-electrosun

Domain:

environment and energy

Record type:

software
Creator:
ser
Host:
WhatsApp Account Manager for ElectroSun (Nigeria solar supplier). Node.js + Express + SQLite + Claude API + Meta WhatsApp Cloud API. # Sunny, WhatsApp Account Manager for ElectroSun Sunny is an AI-powered WhatsApp Account Manager for **ElectroSun**, a solar energy supply agency in Nigeria. It answers every inbound WhatsApp message in the customer's own language, explains ElectroSun's products and services, qualifies and categorizes leads, escalates the ones that matter to the right sales desk, and stores everything behind a clean REST API and an admin web UI. > This is a private operational repository. The authoritative, always-current reference is `CLAUDE.md`; the chronological changelog is `docs/session-history.md`. Read those before changing anything. ## What it does - Replies to WhatsApp text, image (vision), and voice notes (transcribed), plus debounced message bursts. - Classifies each contact (HOT / SERIOUS / COLD / DISQUALIFIED / REPEAT_CLIENT) and captures lead data. - Routes escalations by region and deal size: big projects to the owners, everything else to the Abuja or Lagos sales desk. - Quotes prices only when explicitly asked, only from the live Warehouse Stock table, with a stack of code-level reply guards. - Sends per-item datasheets and product photos on request. - Owner Q&A over WhatsApp, owner escalation alerts, and a self-improvement nightly audit. ## Tech stack - **Runtime:** Node.js 20+ (Railway Linux container in production, macOS for local dev) - **Framework:** Express.js - **Database:** SQLite via `better-sqlite3` (single file) - **WhatsApp:** Meta WhatsApp Cloud API (Graph API v21.0) - **LLM:** Anthropic Claude API (classifier on Haiku 4.5; replies, owner Q&A, teacher, audit, and image descriptions on Sonnet 4.6) - **Voice transcription:** OpenAI Whisper - **Scheduler:** `node-cron` The tech stack is locked. Do not add a dependency outside this list without approval (see `CLAUDE.md`). ## Repository layout ``` server.js Express app, cron registration, startup checks db/ schema.sql, idempotent init/migrations, SQLite file (gitignored) src/ …

Visit

github.com

Similar

Okoth-hash/agrilink_kisumudosteeve2-hash/burkinacollectfestuspessima617-hash/ActionPeak-bahirulangapp-hash/BahiruLangjohn200tim-hash/KipsigisLLMAiHub4MSRH-Hash/ZINDI_HASH_DATASET

Okoth-hash/agrilink_kisumu

this is a website that will allow farmers to communicate directly to consumers # agrilink_kisumu th

dosteeve2-hash/burkinacollect

Offline-first field data collection dashboard for Burkina Faso organizations BurkinaCollect Dashb

festuspessima617-hash/ActionPeak-

Anti-violence in Sierra Leone # ActionPeak Website A responsive awareness and reporting platform f

bahirulangapp-hash/BahiruLang

AI-powered Amharic learning application

john200tim-hash/KipsigisLLM

An language model for the Kipsigis Language. # KipsigisLLM A modular, scalable, and open-source fo

AiHub4MSRH-Hash/ZINDI_HASH_DATASET

language: - am - en - sw - lg - ak Multilingual Sexual and Reproductive Health Dataset (ZINDI_HASH_