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.

GaivatheProgrammer/campusai-malawi

Domain:

educationnatural language processing

Record type:

software
Creator:
Gai
Host:
# CampusAI Malawi πŸŽ“ A WhatsApp-based AI academic assistant for university students in Malawi (UNIMA, MUBAS, and similar institutions). Built with Node.js, Express, PostgreSQL (+ pgvector), the Baileys WhatsApp library, and the OpenAI API. ## Features - **πŸ“Š GPA tracking** β€” log completed courses and grades, get your cumulative GPA instantly - **πŸ“š Course lookup** β€” look up course info by code, or search by keyword - **πŸ“„ Course materials + RAG** β€” students upload PDFs (notes, past papers); the bot chunks, embeds, and lets anyone ask questions grounded in that material - **πŸ€– AI Q&A** β€” general academic questions, or course-scoped questions answered from uploaded materials - **WhatsApp-native onboarding** β€” new users are walked through picking their university, program, and year on first contact ## Architecture ``` server.js Express health server + boots the WhatsApp client src/ config/ index.js Env-driven app config database.js PostgreSQL connection pool services/ userService.js User CRUD, onboarding, daily AI usage limits courseService.js Course lookup / search gpaService.js GPA calculation materialService.js PDF ingestion, chunking, embeddings, RAG retrieval aiService.js OpenAI chat + embeddings wrapper chatHistoryService.js Conversation history persistence whatsapp/ client.js Baileys socket setup, QR login, reconnect logic messageHandler.js Extracts text/media from incoming messages onboarding.js First-contact setup flow (in-memory state machine) commandRouter.js Parses commands and dispatches to services utils/ logger.js Winston logger textUtils.js Phone normalization, text chunking, cosine similarity db/ schema.sql Full Postgres schema (run via `npm run db:migrate`) seed.sql UNIMA/MUBAS + sample courses (`npm run db:seed`) ``` ## Setup ### 1. Prerequisites - …

Visit

github.com

Tasks

question answering

Similar

Malawi Healthsitesyeg13/MalawiAfrobarometer β€” Malawiandymckay/malawiCountrySTAT MalawiMalawi: Languages

Malawi Healthsites

Publisher: Global Healthsites Mapping Project Β· Source: HDX Β· License: ODbL Β· Updated: 2025-10-15 T

yeg13/Malawi

Scripts from this repo were used to explore disaster-prediction metrics. Abstract from this paper, A

Afrobarometer β€” Malawi

🌍 2,407 observations Β· 1 Africa countries Β· —–— Β· Repackaged by Electric Sheep Africa This dataset

andymckay/malawi

Malnutrition monitoring in Malawi using Rapid SMS

CountrySTAT Malawi

CountrySTAT is a statistical framework and applied information system for analysis and policy-making

Malawi: Languages

Publisher: CLEAR Global (previously Translators without Borders) Β· Source: HDX Β· License: cc-by-sa Β·