Abderrahmane Chafik
All projects

Cybersecurity education · Local AI

CyberGuide-AI

A CTF practice platform with an AI mentor that runs locally.

Project scope
School team project spanning application development and local AI integration.
What was built
A FastAPI platform with challenge tracking and an Ollama-powered mentor.
Evidence to review
The project documentation describes the architecture and team workstreams.

Technical walkthrough

A better question. A deeper understanding.

QuestionPracticeUnderstand

ARCHITECTURE STUDY · ILLUSTRATIVE

A hint is a step, not the finish line.

Illustrative learning journey assembled from documented features. This is not a screenshot or a generated chat transcript.

01 / GUIDANCE

Ask the local mentor

The FastAPI application connects to Ollama for local model inference and guided hints.

02 / PRACTICE

Work through the challenge

The learner investigates a CTF challenge and submits a flag. No fabricated answer or success rate is shown here.

03 / REFLECTION

Keep the learning trail

Persistent progress tracking and writeups support revisiting the work; WebSocket updates serve the live leaderboard.

AI supports the learning process. The platform still separates guidance, challenge submissions and recorded progress.

Read the source ↗

The question

Security learning needs room to investigate, not just an answer. How can a local assistant support a learner while challenges and progress remain part of one experience?

Inside the implementation

A school project combining CTF challenges and an Ollama-backed mentor with a FastAPI backend. The repository documents frontend, backend and AI roles without a verified individual allocation; this study describes the project implementation.

  1. Practice in context

    Accounts, challenge tracking, flag submission and writeups keep the learning journey connected. SQLite persists user and challenge data.

  2. Ask a local mentor

    Ollama provides local model inference. Prompt and walkthrough files guide the assistant; the model is configurable.

  3. Connect the platform

    JWT authentication and admin checks sit alongside competition events and a WebSocket leaderboard. Docker Compose brings the application and local model service together.

Scope & lessons

A school learning platform with no verified production deployment. The first registered account becomes administrator; chat sessions use in-process memory. README model defaults differ between sections, so no fixed model is claimed here. Local inference quality and resource needs depend on the chosen model.

Next project

CyberScope