Skip to main content

42TUI

Your 42 projects, notes, and coding activity in the terminal. Connect your 42 account, track time with editor plugins, and jump to project folders with 42goto.

Features

  • Browse projects, read subjects, open your editor, and run supported testers.
  • Keep project notes and coding activity locally, available offline.
  • Track coding time with plugins for Vim, Neovim, VS Code, and Zed.
  • Jump to local projects with 42goto, with shell completion.
  • Follow account progress, manage correction slots, and explore your campus's cluster map.
  • Follow friends and join club conversations and events.

Account and campus features require a connected 42 account and available data. Some project testers require Docker.

Install and launch

For Linux (glibc) and macOS, on x86_64 or ARM64:

curl -fsSL https://tui.42wip.in/install.sh | sh

You can inspect the installer first. It needs curl, internet access, and a writable home directory. It installs uv and Python 3.12 if needed, without administrator rights.

The installer adds a managed block at the end of both ~/.bashrc and ${ZDOTDIR:-$HOME}/.zshrc, configuring PATH and 42goto navigation and completion. Reinstalling updates that block without duplicating it.

Open a new terminal, or run the matching source command printed by the installer, then launch:

42tui

Connect your 42 account

  1. Choose Connect 42 account during setup, or open Settings → Profile with F5.
  2. Choose Connect / reconnect, then sign in and approve access in your browser. If no browser opens, use Copy login link to open it yourself.
  3. Return to 42TUI and finish setup: projects folder, editor, theme, and language.

Your project list loads after connection. To change cursus, open Settings → Curriculum → Default cursus. A connected 42 account is required to finish first-run setup. Once setup is complete, saved projects and local notes remain available offline.

Your password stays with 42; device credentials use your OS credential store.

42goto

Configure your project's local folder in 42TUI. The Linux/macOS installer enables shell navigation automatically for Bash and Zsh. For other installation methods, add the matching line to your shell config:

# Zsh: ~/.zshrc, after compinit
eval "$(command 42goto --shell-init zsh)"

# Bash: ~/.bashrc
eval "$(command 42goto --shell-init bash)"

Restart your shell, then jump to a project:

42goto libft
42goto          # Use the active or most recently tracked project

Press Tab to complete project slugs. Local folders must exist. If 42goto cannot choose a project automatically, pass its name or slug.

Project Git and 42git

Configure your folder and remotes in project settings. Use the project's push buttons, or run these commands inside its folder:

42git status     # Branch and local changes
42git push dev   # Current branch → development
42git push vog   # Committed work → Vogsphere master
42git push all   # Both destinations, separate results

Each push asks for confirmation and leaves uncommitted edits untouched. Vogsphere pushes require the 42 campus network. Open in file explorer opens the project folder. See recovery, branch rules and failed pushes for details.

Editor plugins

Configure each project's local folder in 42TUI, then install your editor's plugin:

The plugins call 42tui heartbeat locally as you work. Make sure your editor can find 42tui on its PATH, or set the executable path in the plugin. Tracking needs no account connection; file contents are not read and file paths are not retained.

Project testers

Configure an existing local project folder, find Testers below Registration (or press t in Projects), then choose Run Francinette. The same button handles setup and retries.

On Linux, an accessible Docker engine with BuildKit support must already be available. Check with docker info from your normal account. 42TUI can start an existing rootless user service; it does not install system packages, start system services, change socket permissions or use sudo. If Docker is missing or access is denied at school, ask school staff to make an engine available.

On macOS, the setup button can install Docker Desktop in ~/Applications without using Homebrew or a privileged installer. Keep Docker's user-level defaults: user CLI tools, no default system socket and no privileged port mapping. Accept Docker's terms if prompted, then testing continues automatically. Existing local or remote Docker contexts remain supported. See Docker's Mac permission requirements.

The bundled tester builds its pinned source inside Docker, so host Git and C compiler installation are unnecessary. Custom tester clone URLs without a .git suffix retain support through an existing Git installation; use an HTTPS .git clone URL to build those without host Git.

Everyday use

Press ? or F1 for shortcuts. F2 opens Projects, F3 opens Notes, and F5 opens Settings.

Automatic updates check for a new stable release before the TUI opens on supported unpinned uv/pipx installations. When an update is available, 42TUI installs it and starts the updated version. Offline checks or failed updates still allow the installed version to launch. Disable this in Settings → Automatic updates. Pinned and development installations are maintained manually. Updates discovered while the TUI is open install on the next launch rather than on exit.

For installer-managed installations:

42tui update
42tui uninstall

Uninstalling preserves local data and credentials. To disconnect first, choose Settings → Profile → Manage 42 account → Disconnect this device. Other installations should be maintained with their original package manager.

If 42tui is not found, restart your terminal and check the installer's printed executable directory is on your PATH. If icons look wrong, select a Nerd Font in your terminal settings.

For development setup, see CONTRIBUTING.md.

Metadata

Release files for ft-tui 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ft-tui 0.5.0
File Size Uploaded Provenance Actions
ft_tui-0.5.0.tar.gz 344.8 kB With provenance Details for ft_tui-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ft-tui 0.5.0
File Interpreter ABI Platform Actions
ft_tui-0.5.0-py3-none-any.whl Python 3 none any Details for ft_tui-0.5.0-py3-none-any.whl

Total release size: 770.4 kB

Release files / ft_tui-0.5.0.tar.gz

Download URL ft_tui-0.5.0.tar.gz
Size 344.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ab13421ee322c3197741c9c3be9269a6c139510556d5021480f533b2eabbdd4a
BLAKE2b-256 checksum
How to use checksums
2aefb3da9134e834fdb91496d19c388d8e0e17cbe0eb36da70600dfc6662e9e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / ft_tui-0.5.0-py3-none-any.whl

Download URL ft_tui-0.5.0-py3-none-any.whl
Size 425.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05c665022af5fa91a08e40670870859777d8f9091d37f9e3f2c67bc2d42ec112
BLAKE2b-256 checksum
How to use checksums
70f592af6d7b08c75eca00ec83ef073d4d8ba0632dac216398cac680eede9e07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for ft-tui 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ft_tui-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page