Imaginarium Madagascar β Immersive AI-assisted platform for Malagasy cultural heritage education
# πΊ Imaginarium Madagascar
> *Tahiry ny lovantsofina β Heritage for the future*
Imaginarium Madagascar is an immersive AI-assisted platform for **Malagasy cultural heritage education**. It teaches children about **fomba** (customs), **fahaizana** (skills), and **lova / lovantsofina** (heritage/ancestral wisdom) through interactive AI agents.
## π Architecture
**Cloudflare-native MVP stack:**
| Layer | Technology | Platform |
|-------|-----------|----------|
| Frontend | SvelteKit + adapter-cloudflare | Cloudflare Pages |
| API | Hono | Cloudflare Workers |
| Database | D1 (SQLite) | Cloudflare D1 |
| AI | Workers AI | Cloudflare Workers AI |
| Vectors | Vectorize | Cloudflare Vectorize |
**Flat project structure** (no npm workspaces β avoids undici/Vite corruption):
```
imaginarium/
βββ apps/
β βββ web/ # SvelteKit frontend
β βββ api/ # Hono API (Workers)
βββ data/
β βββ schema/ # Content type definitions
β βββ raw/ # Source texts for RAG
βββ scripts/ # Data processing, embedding generation
βββ package.json # Scripts only, no workspaces
```
## π Content Types
The knowledge base covers 9 core content types from Malagasy oral tradition:
- **Angano** (tales/folklore) β traditional stories with moral lessons
- **Ohabolana** (proverbs) β ancestral wisdom in concise form
- **Hainteny** (poetry) β classical Malagasy poetic forms
- **Kabary** (speeches) β formal oratory traditions
- **Fomba** (customs) β cultural practices and rituals
- **Fahaizana** (skills) β traditional crafts and knowledge
- **Lova** (heritage) β ancestral inheritance and wisdom
- **Ethnic groups** β the 18 peoples of Madagascar
- **Historical figures** β key figures in Malagasy history
## π Getting Started
### Prerequisites
- Node.js 18+
- Wrangler CLI
- Cloudflare account with D1 + Workers AI enabled
### Setup
```bash
# Clone the repo
git clone
github.com
cd imaginarium
# Install API dependencies
cd β¦