awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
nvbn avatar

nvbn/thefuck

0
View on GitHub↗
97,358 stars·3,948 forks·Python·MIT·18 views

Thefuck

This tool is a rule-based engine designed to automate the correction of failed terminal commands. By integrating directly into the shell environment, it intercepts command execution errors, analyzes exit codes and output streams, and applies corrective logic to resolve typos or syntax mistakes. It functions as a persistent background utility that monitors command history to provide immediate remediation for input failures.

The system distinguishes itself through a modular, plugin-oriented architecture that allows for extensive customization. Users can define their own correction rules via scripts or integrate third-party packages to handle specialized command-line tools and unique workflows. By utilizing shell aliases to trigger the correction process, the tool dynamically injects fixed command strings back into the input buffer, enabling rapid recovery without manual retyping.

Beyond its core correction capabilities, the software includes utilities for managing shell environments, configuring correction behavior, and tailoring rules to specific operating systems. These features support the development of custom automation logic, allowing for context-aware error resolution that adapts to the user's specific terminal environment and installed toolset.

Features

  • Command Error Correction Engines - Evaluates command exit codes and output streams against modular scripts to identify and rectify specific execution errors.
  • Command-Line Correction Engines - Intercepts failed command executions to resolve syntax errors and typos through an automated rule-based engine.
  • Terminal Error Recovery Tools - Maintains developer flow by automatically detecting and repairing mistyped shell commands without requiring manual re-entry.
  • Command Interception Hooks - Hooks into the shell environment to intercept failed command attempts and trigger automated repair sequences.
  • Custom Correction Rules - Allows users to write custom scripts that intercept and automatically rectify specific command-line input errors.
  • Extensible Shell Automation - Enables the definition of custom rule-based logic to intercept and modify command execution after a failure occurs.
  • Rule-Based Plugin Systems - Loads external rule definitions to extend correction capabilities without requiring modifications to the core engine.
  • CLI Tools - Listed in the “CLI Tools” section of the Awesome Python awesome list.
  • Code and Repository Tools - Corrects previous console commands automatically.
  • Command Line Productivity - Corrects previous console commands automatically.
  • Command Line Tools - Automatic command correction tool.
  • Command Line Utilities - Corrects errors in previous console commands.
  • Console Applications - Corrects mistyped commands in the terminal automatically.
  • Console Utilities - Corrects mistyped commands in the terminal.
  • Developer Tools - Tool for automatically correcting mistyped terminal commands.
  • Terminal Productivity - Corrects common shell command mistakes.
  • Terminal Utilities - Automatic command correction for the terminal.
  • Command Line Learning - Magnificent app which corrects your previous console command.
  • CLI Tools - Corrects previous console commands.
  • CLI Utilities - Corrects previous command-line errors.
  • Command Re-execution Utilities - Injects corrected command strings directly into the shell input buffer to execute the intended operation after a failure.
  • Application Plugins - Integrates specialized rule packages to provide tailored correction logic for diverse command-line tools and environments.
  • Workflow Optimization Tools - Reduces terminal friction by minimizing time spent manually correcting trivial input mistakes during daily operations.

Star history

Star history chart for nvbn/thefuckStar history chart for nvbn/thefuck

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does nvbn/thefuck do?

This tool is a rule-based engine designed to automate the correction of failed terminal commands. By integrating directly into the shell environment, it intercepts command execution errors, analyzes exit codes and output streams, and applies corrective logic to resolve typos or syntax mistakes. It functions as a persistent background utility that monitors command history to provide immediate remediation for input failures.

What are the main features of nvbn/thefuck?

The main features of nvbn/thefuck are: Command Error Correction Engines, Command-Line Correction Engines, Terminal Error Recovery Tools, Command Interception Hooks, Custom Correction Rules, Extensible Shell Automation, Rule-Based Plugin Systems, CLI Tools.

What are some open-source alternatives to nvbn/thefuck?

Open-source alternatives to nvbn/thefuck include: tldr-pages/tldr — This project is a community-driven repository of simplified, example-based reference guides for command-line tools. It… ranger/ranger — Ranger is a keyboard-centric console file manager that provides a multi-column, text-based interface for navigating… httpie/cli — This project is a terminal-based HTTP client designed for interacting with web services, debugging APIs, and… sharkdp/fd — This project is a high-performance command-line utility designed for rapid filesystem navigation and file discovery.… junegunn/fzf — This project is a general-purpose command-line filter that provides an interactive interface for processing standard… zsh-users/zsh-syntax-highlighting — zsh-syntax-highlighting is a Zsh shell extension and plugin that provides real-time syntax highlighting and visual…

Open-source alternatives to Thefuck

Similar open-source projects, ranked by how many features they share with Thefuck.
  • tldr-pages/tldrtldr-pages avatar

    tldr-pages/tldr

    62,933View on GitHub↗

    This project is a community-driven repository of simplified, example-based reference guides for command-line tools. It functions as an open-source knowledge base designed to provide concise, practical usage examples that help developers navigate complex software without the need for lengthy technical documentation. The system relies on a decentralized architecture where independent client applications fetch and render documentation locally. This approach ensures that reference materials remain accessible offline while supporting a wide variety of user interfaces across desktop, mobile, and we

    Markdownandroidbsdcheatsheet
    View on GitHub↗62,933
  • ranger/rangerranger avatar

    ranger/ranger

    16,880View on GitHub↗

    Ranger is a keyboard-centric console file manager that provides a multi-column, text-based interface for navigating and organizing local file systems. It functions as a productivity tool designed to streamline command-line workflows by allowing users to perform standard file operations, such as copying, moving, and deleting, directly within a terminal environment. The project distinguishes itself through its extensible architecture and deep integration with the host shell. It supports custom plugin development and maintains context between sessions by syncing the working directory upon exit.

    Pythonconsolefile-launcherfile-manager
    View on GitHub↗16,880
  • httpie/clihttpie avatar

    httpie/cli

    38,228View on GitHub↗

    This project is a terminal-based HTTP client designed for interacting with web services, debugging APIs, and automating network requests. It provides a specialized command-line interface that simplifies the construction of complex HTTP exchanges, allowing users to test and inspect web services directly from the shell. The tool distinguishes itself through a declarative syntax engine that translates shorthand command-line tokens into fully formed HTTP requests, including headers, parameters, and body payloads. It features a modular, plugin-based architecture that enables users to extend core f

    Pythonapiapi-clientapi-testing
    View on GitHub↗38,228
  • junegunn/fzfjunegunn avatar

    junegunn/fzf

    81,017View on GitHub↗

    This project is a general-purpose command-line filter that provides an interactive interface for processing standard input streams. It enables real-time fuzzy searching, data selection, and transformation, allowing users to navigate complex information or file systems directly within their terminal. By utilizing a pipe-oriented architecture, it integrates into existing shell pipelines and workflows to facilitate efficient data exploration. What distinguishes this tool is its highly extensible, event-driven design that allows for deep integration with external processes. It supports asynchrono

    Gobashclifish
    View on GitHub↗81,017
See all 30 alternatives to Thefuck→