Spice up stderr output with emojis at line starts!

Overview

libemotify-stderr

A simple library that will spice up your stderr output.

DEMO GIF

libemotify-stderr replaces stderr file descriptor with a pipe and processes program output before redirecting it back to original stderr. All this to add emojis at the start of error lines. Or to make them colorful.

Building

Library is built using cmake and make. In repository directory:

mkdir build
cd build
cmake ..
make

How to use

Add the built .so to your LD_PRELOAD:

export LD_PRELOAD=/path/to/libemotify-stderr.so

or

LD_PRELOAD=/path/to/libemotify-stderr.so command

Envirnoment variable settings

  • EMOJIFY_COLORS=1 will enable coloring of the stderr output
  • EMOJIFY_REACTS=0 will disable emojis

Known issues

  • git (and some other programs probably) uses stderr for output and doesn't like this lib ๐Ÿ˜ 
You might also like...
Device for ANARI generating USD+Omniverse output

USD device for ANARI Device for ANARI generating USD+Omniverse output Prerequisites If OpenVDB (Volume support) is required: Easiest: build USD from s

A C program to strip comments from a c file and output the result to a new file.

Strip C-like Comments A C program to strip comments from a c file and output the result to a new file. Features Fast and Without any third-party libra

Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.
Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics.

Library with useful output stream tools like: color and style manipulators, progress bars and terminal graphics Table of contents Introduction Documen

Read file to console, automatically recognize file encoding, include ansi, utf16le, utf16be, utf8. Currently output ansi as gbk for chinese text search.

rgpre A tool for rg --pre. Read file to console, automatically recognize file encoding, include ansi, utf16le, utf16be, utf8. Currently output ansi as

Lightweight C++ command line option parser

Release versions Note that master is generally a work in progress, and you probably want to use a tagged release version. Version 3 breaking changes I

C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Archived cquery is no longer under development. clangd and ccls are both good replacements. cquery cquery is a highly-scalable, low-latency language s

A line follower simulation created in CoppeliaSim, with a C++ interface for CoppeliaSim's Remote API
A line follower simulation created in CoppeliaSim, with a C++ interface for CoppeliaSim's Remote API

Wall-E-Sim A line follower simulation created in CoppeliaSim, with a C++ interface for CoppeliaSim's Remote API This is a simuation of SRA's Wall-E bo

C.impl is a small portable C interpreter integrated with a line text editor

C.impl C.impl is a small portable C interpreter integrated with a line text editor, originally developed for the ELLO 1A computer: http://ello.cc The

๐Ÿ“– get_next_line Reading a line on a fd is way too tedious

๐Ÿ“– get_next_line Reading a line on a fd is way too tedious About ยท Usage ยท Testing ๐Ÿ’ก About the project The aim of this project is to make you code a

Owner
Gregory Dushkin
Gregory Dushkin
Get Next Line is a project at 42. It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor

Get Next Line is a project at 42. It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line

Mhamed Ajjig 5 Nov 15, 2022
Enables Permanent UART output across boots. Supports PS4 version 6.72 only for now

Enables Permanent UART for PS4. Requires a 5.05/6.72/7.02 Jailbroken PS4. To build, you require ps4-sdk from Scene-Collective/ps4-payload-sdk In the t

Alexander Boulton 15 May 12, 2022
Windows 11 compability check with user friendly output

Win11SysCheck Windows 11 compability check software with user friendly output GUI available as experimental release in experimental_ui branch Contribu

null 68 Oct 11, 2022
Trident provides an easy way to pass the output of one command to any number of targets.

Trident: The multiple-pipe system Trident provides an easy way to pipe the output of one command to not just one but many targets. These targets can b

Matthias Gessinger 36 Nov 23, 2021
New version of the well known ESP32 Radio. Now optional I2S output!

ESP32Radio-V2 New version of the well known ESP32 Radio. Now optional I2S output! Compile time configuration in config.h. Do not forget to upload the

Ed Smallenburg 56 Dec 28, 2022
A simple assembler, made primarily for assembling output from my compiler.

Assembler This assembler is not currently meant for general use. It supports only the instructions and features emitted (and used) in my C compiler. I

null 2 Nov 14, 2021
A program that read a program and output some shit-like code. /se

A program that read a program and output some shit-like code. /se

Xiwon 6 Jun 16, 2022
Shell program written in C to implement various system calls, with support of executing commands, output redirection and signals.

Use ./shell command to start the shell. $<space>path/executable to run the executable(please specify the path without beginning it with "/"). Eg. type

Ayuj Panchal 1 Nov 15, 2021
โœจ Your best friend when it comes to making your output beautiful โœจ

?? Fadey โœจ Your best friend when it comes to making your output beautiful โœจ ?? Content: About Requirements Installation Features Performance Shoutout

Fluffy 3 Nov 29, 2021
Convenient, high-performance RGB color and position control for console output

Oof (omnipotent output friend) It's common for C++ programs to write output to the console. But consoles are far more capable than what they are usual

Sebastian Werhausen 776 Dec 27, 2022