# Offline Educational Hub Stack

> Deploy a local, offline-first educational server with Moodle, Kiwix, and Kolibri on Raspberry Pi or x86_64.

Offline Educational Hub Stack is a free AI agent skill on Agensi by Piotr Kołodziejski, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Piotr Kołodziejski](https://www.agensi.io/creators/piotr-ko-odziejski)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/offline-educational-hub-stack
- Tags: docker, education, offline-first, kiwix, rachel, moodle, kolibri, raspberry-pi

## About this skill

Setting up digital infrastructure in off-grid or low-connectivity environments is prone to data corruption and service instability. This skill deploys a field-tested, offline-first educational stack that bundles a library, LMS, and analytics for local deployment.

### What it does
- **Multi-service orchestration** manages Docker containers for Moodle, Kolibri, RACHEL, Kiwix, and Umami.
- **Offline library delivery** configures local access to Wikipedia, Wiktionary, and medical encyclopedias via `.zim` files.
- **Reliable storage setup** implements Btrfs RAID1 with Zstandard compression for data integrity on edge hardware.
- **Local analytics** deploys Umami and PostgreSQL for tracking educational engagement without internet access.
- **Unified access portal** sets up an Nginx reverse proxy and custom landing panel for end-user navigation.

### How it works
1. **Host validation** checks Docker Engine, memory limits, and disk space on Raspberry Pi or x86_64 systems.
2. **Environment hardening** generates unique credentials for MariaDB and PostgreSQL via a `.env` configuration.
3. **Container deployment** builds and starts the service mesh using Docker Compose in detached mode.
4. **Volume mapping** directs the user to mount educational content into the Kiwix and RACHEL data directories.

### Frameworks & tools
Built for Docker and Docker Compose v2. Supports Linux kernels with Btrfs, optimized for Raspberry Pi OS Lite (64-bit) and Ubuntu.

### Why this beats prompting it yourself
Manually configuring five interlinked services with local database persistence and reverse proxy routing is error-prone. This skill uses a field-tested IaC template from the Bouar humanitarian project to ensure storage resilience and proper ARM64 compatibility.

### Use cases
- **Off-grid school servers** providing digital textbooks and Wikipedia via local Wi-Fi.
- **Pedagogical institutes** requiring a local Moodle instance for teacher training.
- **Humanitarian missions** deploying portable digital libraries in remote regions.
- **Self-hosted labs** for testing educational software stacks in air-gapped environments.

### Known limitations
Requires at least 4 GB RAM. SSD storage is mandatory for production to prevent database corruption common with SD cards. Standard RAID1 requires two identical disks.

## Requires

- Git
- Docker & Docker Compose

100% offline-first educational hub (RACHEL, Kiwix, Moodle, Kolibri, Umami) running locally via Docker on Raspberry Pi 4/5 or x86_64. Full documentation & CAR mission details: https://github.com/Piotr00123/bouar-rachel

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Offline Educational Hub Stack skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill differ from a standard Docker installation of these educational tools?

This skill automates the deployment of a professional-grade educational server (Moodle, Kolibri, Kiwix) specifically designed for environments with no internet access, ensuring data integrity through resilient storage configurations.

### What specific hardware do I need to run this educational hub successfully?

The skill is optimized for Raspberry Pi 4/5 (4GB+ RAM) and x86_64 systems running Linux, though a high-end SSD is strictly required to ensure database stability in offline settings.

### Can I deploy this stack in a completely air-gapped environment with no WAN access?

Yes, the skill is designed for air-gapped environments; once the initial Docker images and educational content are cached, the entire stack operates fully on a local area network without external pings.

### What exactly is included in the purchase of the Offline Educational Hub Stack?

You will receive the field-tested IaC (Infrastructure as Code) templates, the automated deployment logic for all five services, and the configuration for the unified Nginx access portal.

### Does the skill come pre-loaded with Wikipedia data and educational textbooks?

While the skill deploys the library infrastructure, you must provide your own .zim files and ZIM-compatible content, which are then automatically mapped to the Kiwix and RACHEL services.

### How does the skill handle system compatibility checks during the setup process?

The skill includes a dedicated host validation step that checks for Docker Engine compatibility, memory overhead, and disk space to ensure the environment is ready before deployment begins.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
