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 pull dev   # Review a fast-forward from development
42git pull vog   # Review a fast-forward from Vogsphere
42git pull all   # Fetch both; advance only if histories are compatible
42git push dev   # Current branch → development
42git push vog   # Committed work → Vogsphere default branch
42git push all   # Both destinations, separate results

Each push asks for confirmation and leaves uncommitted edits untouched. Vogsphere operations require the 42 campus network. Pull requires a clean checkout and never stashes, resets or creates a merge commit. 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 your local project folder, then open Testers in Projects (or press t). 42TUI offers testers for libft, ft_printf, get_next_line, push_swap, Python modules 00–10 and 05/06 bis, and A-Maze-ing. They run against disposable project copies; push_swap runs natively after confirmation, and the others use Docker.

See the tester guide for setup, logs, results and custom testers. Thank you to the projects listed in our acknowledgements.

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.

License

42TUI client is distributed under the GNU General Public License v3.0. Third-party components and testers retain their own licenses.

Metadata

Release files for ft-tui 0.6.2

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.6.2
File Size Uploaded Provenance Actions
ft_tui-0.6.2.tar.gz 404.6 kB With provenance Details for ft_tui-0.6.2.tar.gz

Built distribution (wheel)

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

Total release size: 898.9 kB

Release files / ft_tui-0.6.2.tar.gz

Download URL ft_tui-0.6.2.tar.gz
Size 404.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a92e0e561e9a10e4cfabac7ff4bf4a5a9bc402109513ef31eeb6837a69923e66
BLAKE2b-256 checksum
How to use checksums
2caf052ce685db637314603b615fa8462f1cbb20a1c81919cd2ed940b231b0a4
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 30, 2026.

Transparency log

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

Download URL ft_tui-0.6.2-py3-none-any.whl
Size 494.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb67f6a9a3392fe6ff5277a4da8dab7dd9a161d64edd29ec236497881778262e
BLAKE2b-256 checksum
How to use checksums
6a2144f87a35bb0c63f4abe810b2d120cfb296f7f8d5fa637180ecef0fca66ec
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 30, 2026.

Transparency log

Security for ft-tui 0.6.2

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.6.2.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 30, 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