Offline Educational Hub Stack

    by Piotr Kołodziejski

    1

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

    Free

    Security scanned

    Works with the AI Agents you already use

    Offline Educational Hub Stack

    Example session with this skill installed

    Set up the offline educational stack on my Raspberry Pi 5. I have two 500GB SSDs ready for RAID1. I need Moodle, Kolibri, and Kiwix.

    • Read your context and instructions
    • Compiled the offline educational hub

    I will configure the offline educational hub using your dual SSD setup. I'll use Btrfs RAID1 with zstd:3 compression as recommended for data integrity and storage efficiency on Raspberry Pi 5.

    Deployment Configuration for Raspberry Pi 5

    I have prepared the environment and storage strategy. The stack includes Moodle (LMS), Kolibri (Multimedia Academy), Kiwix (Digital Library), and Umami (Analytics).

    
    # 1. Initialize Btrfs RAID1 on /dev/sda and /dev/sdb
    mkfs.btrfs -m raid1 -d raid1 /dev/sda /dev/sdb
    
    # 2. Mount with compression
    mount -o compress=zstd:3 /dev/sda /mnt/edu-data
    
    # 3. Generating secure .env configuration
    # DB_PASSWORD=5f8d2e9a7c1b4e6...
    # MOODLE_DATABASE_PASSWORD=a9b8c7d6e5f4...
    # UMAMI_SECRET=d3c2b1a0e9f8...
    
    # 4. Launching the stack
    docker compose up -d --build
    
    ServiceLocal URLDescriptionPort
    Landing Portalhttp://localhost/Main entry point and panel80
    Moodlehttp://localhost/moodleLearning Management System8080
    Kolibrihttp://localhost/kolibriInteractive learning content8081
    Kiwix/RACHELhttp://localhost/libraryZIM file browser & Wikipedia8082
    Umamihttp://localhost/statsPrivacy-focused local analytics3000

    Next steps

    1. Move your .zim files and RACHEL content packs into /mnt/edu-data/kiwix/data.
    2. Access the Umami dashboard to create your initial admin account.
    3. Verify storage health using btrfs filesystem show.

    Connects securely to your tools. The creator never sees your data.

    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.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    • Free with an Agensi account

    Accounts
    Docker
    Software
    GitDocker & 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

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Environment Variables

    Allowed Hosts

    get.docker.com
    Listed9 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.

    Free