Dafuq

dafuq is a mixtape of internet oddities in the form of a TUI program for the terminal. it's a repository of recipes, jokes, and internet oddities including: conspiracy theories, cooking with marijuana, ascii animations, and more. you can create your own categories and store your own recipes. the basic interface with it's retro ascii graphics is simple to use, reminiscent of old computers. only compatible with linux. pre compiled binarie available to download: https://archive.org/details/dafuq-tui

Active Pure Nim score 65/100 · last commit 2026-10-29 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2026-10-29
Downloads 0
Last Indexed 2026-11-24 09:10

Installation

nimble install Dafuq
choosenim install Dafuq
git clone https://gitlab.com/rust3884331/dafuq

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Dafuq ✓ - - - - - - - - -

Source

Repository https://gitlab.com/rust3884331/dafuq
Homepage https://gitlab.com/rust3884331/dafuq
Registry Source gitlab

README

Dafuq

dafuq is a mixtape of internet oddities in the form of a TUI program for the terminal. it's a repository of recipes, jokes, and internet oddities including: conspiracy theories, cooking with marijuana, ascii animations, and more. you can create your own categories and store your own recipes. the basic interface with it's retro ascii graphics is simple to use, reminiscent of old computers. compatible with linux, BSD.

Compatibility

DAFUQ is primarily for Linux/BSD systems only.

Usage

DAFUQ is portable and can be run directly from its directory or installed system-wide.

./dafuq

When running this way, DAFUQ stores user-created files next to the dafuq executable.

Options:

dafuq Launch the normal DAFUQ interactive menu.

dafuq -r randomly select a recipe. This includes the 45 recipes that come pre-loaded with DAFUQ as well as recipes stored in your personal recipe directory.

dafuq -ts the chief bastard tech support officer, a tech support chatbot that will do anything but help you.

dafuq [name] find out what your computer thinks of you and your frinds. Example: dafuq Steve

dafuq -ras recipes and shit. add your own recipes.

Compiling

first install Rust: (if you haven't already)

https://www.rust-lang.org/tools/install

Download the source code.

extract contents.

open the "dafuq" folder in the terminal.

RUN:

cargo build --release

Install

in dafuq/target/release/

Run the program in install mode with root privileges:

sudo ./dafuq install

To Uninstall dafuq Run:

sudo dafuq remove

after installation, the following desktop entrys will appear in your application menu: dafuq Randon Recipes Recipes and Shit U Mad Bro bastard tech support

and can also be launched directly from your terminal, from anywhere on your system see Usage on this page.

The installer uses the following paths: config.rs

// this program is primarily for Linux/BSD systems only.

// these paths are where the installer puts the: executable, and icons dir, and the .desktop files.
// adjust these paths if necessary. don't touch the file name.

// executable
pub const PATH_TO_DAFUQ_PROGRAM: &str = "/usr/bin/dafuq";

// icons dir
pub const PATH_TO_DAFUQ_ICON: &str = "/usr/share/icons/dafuq-icon"; 

// .desktop files
pub const RECIPES_AND_SHIT: &str = "/usr/share/applications/recipes_and_shit.desktop"; 
pub const RANDOM_RECIPES: &str = "/usr/share/applications/random_recipes.desktop"; 
pub const UMADBRO: &str = "/usr/share/applications/u_mad_bro.desktop"; 
pub const DAFUQ_MENU: &str = "/usr/share/applications/dafuq_menu.desktop";
pub const TECH_SUPPORT: &str = "/usr/share/applications/tech_support.desktop";


// file path separator for the whole program. (windows:\) (linux/BSD: /)
pub const SLASH: &str = r"/";

// (Linux & BSD: home) (Windows 11 / 10 / Vista: Users)
pub const HOME: &str = "home";

// (Linux, BSD and macOS: USER) (Windows: USERNAME)
pub const USER_NAME: &str = "USER";


// this path is expanded with the above: path separator and /home/USER
// full path:             /home/USER/.dafuq-save-path.txt
pub const SAVE_PATH_CONFIG: &str = "/.dafuq-save-path.txt";



   Adjust these paths if necessary for your system.

Create Shortcuts

if you don't want to do a full install, you can create shortcuts.

benefits are you don't need root privileges. and everything is contained in one folder. you get 4 clickable buttons: dafuq, random recipes, recipes and shit, u mad bro (insult generator)

./dafuq shortcuts

Requirements

DAFUQ is a standalone executable in that it has everything needed for installation is bundled inside the executable file: icon, .desktop file, .dafuq-save-path.txt.

DAFUQ does not require installation.

the program is portable and can be run directly from the directory containing the DAFUQ executable, or it can be installed system-wide.

Default files are automatically generated

Dafuq automatically checks whether dafuq-save-data exists. If it doesn’t, Dafuq creates it automatically. This directory is where all your save files are stored.

  ~/dafuq-save-data/
              └── files/

Directory structure:

  ~/dafuq-save-data/
              ├── text_editor.txt
              │       Your preferred text editor
              │
              └── files/
                    All personal recipes and categories
                    │
                    ├── Category Name/
                    │     ├── Recipe1.txt
                    │     └── Recipe2.txt
                    │
                    └── Another Category/
                          └── Recipe.txt

When Dafuq is installed, You can change the save file location by editing the file path in /home/user/.dafuq-save-path.txt.

navigateing the Program

to navigate the Program Type the number of the option you want and press Enter

                     ▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄         ▄  ▄▄▄▄▄▄▄▄▄▄▄
                    ▐░░░░░░░░░░▌ ▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌       ▐░▌▐░░░░░░░░░░░▌
                    ▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░▌       ▐░▌▐░█▀▀▀▀▀▀▀█░▌
                    ▐░▌       ▐░▌▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░▌       ▐░▌
                    ▐░▌       ▐░▌▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄ ▐░▌       ▐░▌▐░▌       ▐░▌
                    ▐░▌       ▐░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌       ▐░▌▐░▌       ▐░▌
                    ▐░▌       ▐░▌▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀ ▐░▌       ▐░▌▐░█▄▄▄▄▄▄▄█░▌
                    ▐░▌       ▐░▌▐░▌       ▐░▌▐░▌          ▐░▌       ▐░▌▐░░░░░░░░░░░▌
                    ▐░█▄▄▄▄▄▄▄█░▌▐░▌       ▐░▌▐░▌          ▐░█▄▄▄▄▄▄▄█░▌ ▀▀▀▀▀▀█░█▀▀
                    ▐░░░░░░░░░░▌ ▐░▌       ▐░▌▐░▌          ▐░░░░░░░░░░░▌        ▐░▌
                     ▀▀▀▀▀▀▀▀▀▀   ▀         ▀  ▀            ▀▀▀▀▀▀▀▀▀▀▀          ▀



            Wanna make a car dealer uncomfortable, just say... “Tell me if you can hear this?”
            Then get in the trunk and start screaming.

    ╔═══════════════════════════════════════════════════════════════════════════════════════════════╗
    ║                                                                                               ║
    ║  (1) My son asked why I speak so softly in the house.                                         ║
    ║      I said I was afraid the NSA was listening. He laughed, I laughed, Alexa laughed.         ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (2) people tell me I have a unique way of lighting up a room...                              ║
    ║      it's called arson and those people are called witnesses.                                 ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (3) Either my cooking has improved or.... My family's immune systems have strengthened.      ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (4) Marijuana is bad mkay? it smells really bad. so you shouldn't shouldn't smoke it mkay?   ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (5) Constipations.                                                                           ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (6) Play it again Sam.                                                                       ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (7) recipes and shit.                                                                        ║
    ║                                                                                               ║
    ║                                                                                               ║
    ║  (E) get me out of here.                                                                      ║
    ║                                                                                               ║
    ╚═══════════════════════════════════════════════════════════════════════════════════════════════╝

                  ENTER ANY NUMBER 1 TO 7 FROM THE ABOVE MENU. (H) HELP (E) TO EXIT

adding or removing a category

                     __                                      __           __    __ __
    .----.-----.----|__.-----.-----.-----.   .---.-.-----.--|  |   .-----|  |--|__|  |_
    |   _|  -__|  __|  |  _  |  -__|__ --|   |  _  |     |  _  |   |__ --|     |  |   _|
    |__| |_____|____|__|   __|_____|_____|   |___._|__|__|_____|   |_____|__|__|__|____|
    |__|



  ╔══╗
  ╚══╝



           ENTER ANY NUMBER FROM THE ABOVE MENU.

    (E) EXIT (B) BACK TO MAIN MENU (A) ADD NEW CATEGORY  <-- enter "a" in the console.


a



    Enter New Recipe Category. (C) to cancel      <-- then this prompt will prompt 
                                                      will appear here to add your
                                                      new Category.
                     __                                      __           __    __ __
    .----.-----.----|__.-----.-----.-----.   .---.-.-----.--|  |   .-----|  |--|__|  |_
    |   _|  -__|  __|  |  _  |  -__|__ --|   |  _  |     |  _  |   |__ --|     |  |   _|
    |__| |_____|____|__|   __|_____|_____|   |___._|__|__|_____|   |_____|__|__|__|____|
    |__|



  ╔═════════════╗
  ║ (1) burgers ║     <-- your new Category.
  ╚═════════════╝



           ENTER ANY NUMBER FROM THE ABOVE MENU.

    (E) EXIT (B) BACK TO MAIN MENU (A) ADD NEW CATEGORY

how to add your own recipes

adding a new recipe is just as simple.

                     __                                      __           __    __ __
    .----.-----.----|__.-----.-----.-----.   .---.-.-----.--|  |   .-----|  |--|__|  |_
    |   _|  -__|  __|  |  _  |  -__|__ --|   |  _  |     |  _  |   |__ --|     |  |   _|
    |__| |_____|____|__|   __|_____|_____|   |___._|__|__|_____|   |_____|__|__|__|____|
    |__|

                                         burgers


  ╔════════════════════════╗
  ║ (1) mexican burger.txt ║     <-- your new recipe.
  ╚════════════════════════╝



    ENTER ANY NUMBER FROM THE ABOVE MENU. (D) DELETE burgers

    (E) TO EXIT OR (B) BACK (M) MAIN MENU (A) ADD NEW RECIPE  

**when you create your new recipe it will automatically open in your text editor **

(The first time you create or edit a recipe, it will prompt you to enter your preferred text editor)

Your choice will be saved to:

  ~/.config/dafuq/text_editor.txt
  mexican burger



  Ingredients:





  Instructions:








                ╔════════════════════╗
                ║(B) Go Back         ║
                ║                    ║
                ║(C) Categories Menu ║
                ║                    ║
                ║(M) Main Menu       ║
                ║                    ║
                ║(E) Exit            ║
                ╚════════════════════╝

    (D) DELETE (S) SET DEFAULT TEXT EDITOR (ED) EDIT  <-- enter "ed" in the console to edit your recipe.

License

GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007