C Command-line

Open-source C projects categorized as Command-line

Top 23 C Command-line Projects

  • nnn

    n³ The unorthodox terminal file manager

    Project mention: Can't figure out how to change icon theme in nnn | reddit.com/r/commandline | 2023-05-18

    The icon-theme seems to be driven by your terminal font as detailed in `src/icons-in-terminal.h & icons.h, and the choice of "terminal-icon vs nerd-fonts vs emoji" appear to be hard-wired at compile-time rather than at run-time.

  • GoAccess

    GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.

    Project mention: Working on Ubuntu: File does not exist on the server, how to create it | reddit.com/r/Wordpress | 2023-05-27

    file on GitHub.

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • mdp

    A command-line based markdown presentation tool.

    Project mention: Marp: Markdown Presentation Ecosystem | news.ycombinator.com | 2023-01-24

    It depends on what you are presenting. I found [mdp](https://github.com/visit1985/mdp) to be very useful when presenting a tech talk. It is easy to copy and paste from the source material, it can be done all via the terminal, and it views well as a README on github.

    Here is an example of a presentation I gave:


  • smenu

    smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.

    Project mention: smenu clean window effect | reddit.com/r/commandline | 2023-05-11

    Here are the relevant bits of the source (in [smenu.c](https://github.com/p-gen/smenu/blob/master/smenu.c):

  • yori

    Yori is a CMD replacement shell that supports backquotes, job control, and improves tab completion, file matching, aliases, command history, and more.

    Project mention: Name the tools you can't live without! | reddit.com/r/sysadmin | 2023-02-15


  • clifm

    The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell

    Project mention: The Command Line File Manager 1.12 (Blondebeard) is out! | reddit.com/r/commandline | 2023-05-16

    done, Issue 223

  • fastfetch

    Like neofetch, but much faster because written in C.

    Project mention: Mint vs Arch | reddit.com/r/linuxquestions | 2023-05-16

    or, perhaps -- https://github.com/LinusDierheimer/fastfetch

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • bcal

    :1234: Bits, bytes and address calculator

  • dateutils

    nifty command line date and time utilities; fast date calculations and conversion in the shell

    Project mention: 🗓 date-operations: A package for common date operations [Package on PyPy] | reddit.com/r/Python | 2023-05-17

    You might be interested in this: https://github.com/hroptatyr/dateutils

  • 2048.c

    Console version of the game "2048" for GNU/Linux

    Project mention: 'nc2048' - A 2048 clone for your terminal - https://github.com/t0xk/nc2048 | reddit.com/r/commandline | 2023-04-12

    Not bad! this one has no dependencies apart from a C stdlib (musl works) and has colors.

  • bfs

    A breadth-first version of the UNIX find command

    Project mention: A bunch of Python and Bash scripts I developed for personal and working projects | reddit.com/r/Python | 2022-06-30
  • csvquote

    Enables common unix utlities like cut, awk, wc, head to work correctly with csv data containing delimiters and newlines

  • gcc_termux

    Gcc for termux with fortran scipy etc... Use apt for newest updates instructions in README.txt

    Project mention: Plz help Fortran 77 Compiler for compiling non-linear solver | reddit.com/r/termux | 2022-09-28
  • bacnet-stack

    BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services.

    Project mention: BACnet over IP giving unknown object error | reddit.com/r/BuildingAutomation | 2022-12-21

    Instance should be the AV numbers, so in your case 1 12 18, and the properties are what properties you want to read from the AVs. Here is a good list of them all, but I'm guessing you want present value which is 85 and status flags which is 111

  • pqiv

    Powerful image viewer with minimal UI

    Project mention: Looking for: lightweight/minimalist image viewer | reddit.com/r/swaywm | 2023-01-15

    I switched from imv to qpiv and have been very pleased with it.

  • mandown

    man-page inspired Markdown viewer

  • ictree

    Like tree but interactive

  • embedded-cli

    Single-header CLI with history and autocompletion for embedded systems (like Arduino or STM32) (by funbiscuit)

    Project mention: ti-rtos cli | reddit.com/r/embedded | 2022-12-14

    Use the TI supplied UART driver together with https://github.com/funbiscuit/embedded-cli ?

  • cargs

    A lightweight cross-platform getopt alternative that works on Linux, Windows and macOS. Command line argument parser library for C/C++. Can be used to parse argv and argc parameters.

  • embedded-cli

    A simple command-line interface for use in embedded systems.

    Project mention: Anyone have a shell / device hosted CLI they like? | reddit.com/r/embedded | 2022-10-05

    Mine: https://github.com/FARLY7/embedded-cli

  • PBD

    🖨️🐞 Printf Based Debugger, a user-friendly C debugger

  • rawhide

    find files using pretty C expressions

    Project mention: Rawhide – (rh) find files using pretty C expressions | news.ycombinator.com | 2022-09-28

    The CHANGELOG file shows the changes for v3.0:


  • microrl-remaster

    Micro Read Line library for small and embedded devices [REMASTER]


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-05-27.

C Command-line related posts


What are some of the best open-source Command-line projects in C? This list will help you:

Project Stars
1 nnn 16,395
2 GoAccess 16,276
3 mdp 4,626
4 smenu 2,232
5 yori 1,137
6 clifm 979
7 fastfetch 805
8 bcal 593
9 dateutils 541
10 2048.c 537
11 bfs 481
12 csvquote 402
13 gcc_termux 395
14 bacnet-stack 250
15 pqiv 246
16 mandown 228
17 ictree 115
18 embedded-cli 88
19 cargs 84
20 embedded-cli 76
21 PBD 56
22 rawhide 24
23 microrl-remaster 13
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises