42 projects

Every project from the 42 curriculum, grouped by area and listed newest first.

Systems13 projects

KFS-2: memory and interrupts

Second step of the kernel-from-scratch series: GDT, interrupt handling and a keyboard-driven debug shell.

  • C
  • x86
  • Assembly
KFS-1: a minimal kernel

A bootable i386 kernel written from scratch, with its own GDT and a VGA text driver.

  • C
  • x86
  • Assembly
DSLR

Data analysis, visualisation and a logistic regression written from scratch to sort students into Hogwarts houses.

  • Python
  • Machine learning
ft_irc

IRC server written in C++, compliant with part of the IRC protocol.

  • C++
cub3D

A raycasting 3D engine written in C, in the spirit of Wolfenstein 3D.

  • C
Minishell

A minimal Unix shell in C, modelled on bash: parsing, pipes, redirections, environment variables and signals.

  • C
Philosophers

The dining philosophers problem in C: threads, mutexes and starvation-free scheduling without a single data race.

  • C
  • Threads
so_long

Small 2D game in C built on MiniLibX: sprite rendering, map parsing and keyboard events.

  • C
  • MiniLibX
push_swap

Sorting a stack with a restricted instruction set, optimised to keep the number of operations as low as possible.

  • C
  • Algorithms
pipex

Reimplementation of the shell pipeline in C: fork, pipe, dup2 and process handling.

  • C
  • Unix
ft_printf

Reimplementation of printf in C, with variadic arguments and its own format parser.

  • C
get_next_line

Reading a file descriptor line by line in C, with a static buffer kept between calls and no memory leak.

  • C
libft

A personal C library reimplementing part of the standard library, linked by every later 42 project.

  • C
  • Makefile

Security2 projects

Darkly

Finding and documenting a set of web vulnerabilities on a deliberately broken application.

  • Web
  • OWASP
  • SQL
Snow Crash

Security challenge: exploiting a chain of vulnerabilities to move from one user to the next on a Linux system.

  • Linux
  • Security

Infrastructure3 projects

Cloud-1

Automated deployment of a multi-service web stack on a remote server, provisioned from scratch with Ansible and Docker.

  • Linux
  • Ansible
  • Docker
Inception

A small infrastructure of services (NGINX with TLS, WordPress, MariaDB), each in its own Docker container, orchestrated with Docker Compose.

  • Docker
Born2BeRoot

Setting up a hardened Linux virtual machine: LVM partitioning, firewall, SSH, sudo and password policies.

  • Linux

Web2 projects

Matcha

Full-stack dating web application built with React, Node.js / Express and PostgreSQL.

  • React
  • Node.js
  • Express
  • PostgreSQL
  • Socket.IO
ft_transcendence

Collaborative real-time web application built around an online multiplayer game.

  • Web