Skip Navigation
magic-tape: YouTube TUI client (fzf, image support)
  • As a matter of fact it is one of the scripts that I cannot do without, I use it everyday, it is very convenient. But then again I wrote it myself, so I can't be objective.

  • magic-tape: YouTube TUI client (fzf, image support)

    cross-posted from: https://lemmy.world/post/1051933

    Magic-tape is an image supporting fuzzy finder command line interface YouTube client.

    https://gitlab.com/christosangel/magic-tape

    !https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/1.png

    Image rendering can be done with the use of ueberzugpp, ueberzug, kitty terminal or chafa.

    !https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/fzf2.png

    With magic-tape, through the main menu, the user can:

    • Browse videos from subscriptions.

    • Browse through trending video feed.

    • make a video search, using keywords or phrases.

    • Watch a previously watched video (watch history).

    • Browse videos from a subcsribed channel.

    • Watch a liked video.

    • Repeat the previous selection.

    • Repeat a previous search (search history).

    • Watch/download video/audio content, in various formats.

    Through the miscellaneous menu the user can

    • Set up Preferences (configuration).

    • Like / Unlike a video.

    • Synchronize the above actions with their YouTube account.

    • Import subscriptions from YouTube.

    • Subscribe to/ Unsubscribe from a channel.

    • Clear their watch/search history, liked videos, thumbnail cache.

    5
    radion – internet radio TUI client written in Bash
  • Hey, I know the guy who wrote the script, he is great.

  • looking for examples of countries whose governments, school system,health system, wjatever, use mostly GNU/Linux
  • I have never tried it. But debian based + xfce, so you know what to expect.

  • tui-battleship, the classic naval battle game (Bash).
  • Sure, it is a Potatomatic 4000, 2nd edition. No, not Alacrity. Thx though.

  • tui-battleship, the classic naval battle game (Bash).
  • I have no idea. On an old potato laptop I tried it on it works ok, if I rush the keys, it is flickering a little.

  • tui-battleship, the classic naval battle game (Bash).

    https://gitlab.com/christosangel/tui-battleship

    This is a tui implementation of the popular classic naval battle game, written in Bash.

    The objective of the game is to destroy the computer's fleet, before the computer achieves the same against you.

    You take turns with the computer, hitting squares in each other's grids.

    You have to guess the position of the enemy ships on the computer's 10x10 grid, in order to win.

    !win

    You lose if the computer achieves sinking your ships first.

    !lose

    6
    What distro should I use on my potato?
  • Someone should come up with a new distro with the name potatOS, just for cases like this .

  • Nine: a tui sliding puzzle (Bash)

    cross-posted from: https://lemmy.world/post/13826157

    > https://gitlab.com/christosangel/nine > > nine is a tui implementation of the classic 3x3 sliding-puzzle, in Bash. > > There is a 3x3 grid that contains 8 tiles, and one position that is empty. > > !grid1 > !grid2 > > > The user can move around the 8 tiles on the only one empty space, using the navigation keys. > > > The player in order to win, has to put the numbered tiles in order. > > !win

    0
    Nine: a tui sliding puzzle (Bash)
  • I am still using the arrow keys, I must be an idiot , too. If this script helps you with the vim movements, you can check out for the same reason two or three scripts of mine, in the same repo: tui-mines, mneme,tui-sudoku.

  • Nine: a tui sliding puzzle (Bash)

    https://gitlab.com/christosangel/nine

    nine is a tui implementation of the classic 3x3 sliding-puzzle, in Bash.

    There is a 3x3 grid that contains 8 tiles, and one position that is empty.

    !grid1 !grid2

    The user can move around the 8 tiles on the only one empty space, using the navigation keys.

    The player in order to win, has to put the numbered tiles in order.

    !win

    3
    Mneme: a tui memory game in Bash
  • I went on and added an if statement and a message to install.sh, just for the issue you mentioned...

  • Mneme: a tui memory game in Bash
  • De gustibus et coloribus... I like bash.

    It works for me.

    About .local/bin/ not existing, or not being in the $PATH, that is why I also propose running the script locally, from the same directory with ./mneme.sh

    Thanks, I am glad you like it.

  • Mneme: a tui memory game in Bash

    https://gitlab.com/christosangel/mneme

    mneme is a version of the classical memory game, that the user can play in a terminal window. It is a script written in Bash.

    !main menu

    The user by editing a configuration file, can select a wide range of character themes and levels of difficulty(matrix size).

    !main menu

    !main menu

    2
    Switched to Linux and I think I'm going back to Windows.
  • Please return to windows.

  • tui-mines: Sweep mines from a minefield, in the terminal (Bash)
  • Welp, also solves the 'Which distro to use?' issue.

  • tui-mines: Sweep mines from a minefield, in the terminal (Bash)
  • IMPORTANT UPDATE: Since many youngsters who unlike me, a senior citizen, live on the edge and hate vim keys or arrow keys, have requested an alternative navigation keys set up, I have just implemented a configuration option that satisfies just that.

    By editing the config file (either within the application or just editing ~/.config/tui-mines/tui-mines.config, and changing the NAVIGATION_KEYS value from vim+arrows (default) to aswd+arrows, the user can use the aswd keys to navigate in the game grid, just as requested.

    No other commands or hacks are needed.

    Arrow keys remain hardcoded, because they remind me of my youth, as an archer, during the Peloponnesian War

  • tui-mines: Sweep mines from a minefield, in the terminal (Bash)

    cross-posted from: https://lemmy.world/post/13597269

    https://gitlab.com/christosangel/tui-mines

    tui mines is evidently a text-based user interface implimentation of the classic mine sweeping puzzle game.

    The user has to clear a board, square by square, flagging the squares suspected to hide mines on the way.

    If the user opens a mine square, things go KABOOM! and the game is lost.

    The user uses hints from the numbered squares. This numbers how many bombs are touching that square in every direction ( 8 in total).

    Through logic, and a bit of luck, the player ends up clearing all the squares, while flagging all the mines.

    1
    tui-mines: Sweep mines from a minefield, in the terminal (Bash)
  • And to see the correct cheatsheet as well: sed -i 's/hjkl/awsd/' tui-mines.sh

  • tui-mines: Sweep mines from a minefield, in the terminal (Bash)
  • Here is the solution just for you:

    • get to the tui-mines/ directory
    • open a terminal there
    • run this command sed -i 's/k|A/w|A/;s/h|D/a|D/;s/j|B/s|B/;s/l|C/d|C/' tui-mines.sh

    Run the script ./tui-mines.sh

    You can now play using lower case awsd.

  • tui-mines: Sweep mines from a minefield, in the terminal (Bash)
  • Wait up, I am preparing one command for you, you run it, and you use your keys as you wish. Just don' put caps lock!

  • tui-mines: Sweep mines from a minefield, in the terminal (Bash)

    https://gitlab.com/christosangel/tui-mines

    tui mines is evidently a text-based user interface implimentation of the classic mine sweeping puzzle game.

    The user has to clear a board, square by square, flagging the squares suspected to hide mines on the way.

    If the user opens a mine square, things go KABOOM! and the game is lost.

    The user uses hints from the numbered squares. This numbers how many bombs are touching that square in every direction ( 8 in total).

    Through logic, and a bit of luck, the player ends up clearing all the squares, while flagging all the mines.

    17
    How to install Ueberzug

    The ueberzug project has been archived. However, in order to install ueberzug one can follow these steps:

    • Install dependencies

    sudo apt install libx11-dev libxres-dev libxext-dev If during the installation process, errors appear due to absence of other depedencies, the user is encouraged to search the error message in the internet in order to locate the misssing dependency.

    ``` git clone "https://github.com/gokberkgunes/ueberzug-tabbed.git"

    cd ueberzug-tabbed

    python -m pip install .

    ```

    NOTE: One may need to call above pip install commands as pip install --break-system-packages to successfully install the packages.

    0
    Basht, a tui file manager bash script that supports image previews (among other features)

    cross-posted from: https://lemmy.world/post/12108185

    https://gitlab.com/christosangel/basht

    This tui file manager bash script, provides image preview, theme selection, smooth directory navigation, opening files with default and other programs and easy configuring of keybindings.

    It uses fzf to navigate to and select files and directories.

    Image rendering can be done with the use of ueberzugpp, ueberzug, kitty terminal or chafa.

    !basht_img_3.png

    The script also provides content preview for directories, and text files:

    !basht_text.png

    As one can see in the screenshots, thanks to Nerd Fonts, each type of selection (directory, text file, office document, image file etc) is represented with the respective symbol.

    Configuring of preferences can be done through editing a psv file.

    Any feedback / suggestion will be appreciated.

    5
    Basht, a tui file manager bash script that supports image previews (among other features)

    cross-posted from: https://lemmy.world/post/12108185

    > https://gitlab.com/christosangel/basht > > This tui file manager bash script, provides image preview, theme selection, smooth directory navigation, opening files with default and other programs and easy configuring of keybindings. It uses fzf to navigate to and select files and directories. Image rendering can be done with the use of ueberzug, kitty terminal or chafa. > > !basht_img_3.png > > The script also provides content preview for directories, and text files: > > !basht_text.png > > As one can see in the screenshots, thanks to Nerd Fonts, each type of selection (directory, text file, office document, image file etc) is represented with the respective symbol. > > Configuring of preferences can be done through editing a psv file. > > Any feedback / suggestion will be appreciated.

    0
    Basht, a tui file manager bash script that supports image previews (among other features)

    https://gitlab.com/christosangel/basht

    This tui file manager bash script, provides image preview, theme selection, smooth directory navigation, opening files with default and other programs and easy configuring of keybindings. It uses fzf to navigate to and select files and directories. Image rendering can be done with the use of ueberzugpp, ueberzug, kitty terminal or chafa.

    !basht_img_3.png

    The script also provides content preview for directories, and text files:

    !basht_text.png

    As one can see in the screenshots, thanks to Nerd Fonts, each type of selection (directory, text file, office document, image file etc) is represented with the respective symbol.

    Configuring of preferences can be done through editing a psv file.

    Any feedback / suggestion will be appreciated.

    16
    Pyradion, internet radio TUI client, with recording functionality, written in Python

    cross-posted from: https://lemmy.world/post/8393990

    > https://gitlab.com/christosangel/pyradion > > Through the menus, the user can : > > - Select directly a station from the Favorites list (which is configurable). > > - Select a random station out of this list of Favorite stations. > > - Select a tag to pick a station from. > > - Select to pick a station from All Stations. > > - Select a random station out of this list of #tag stations. > > - ❌ Quit pyradion. > > --- > #### Recording > > Recording a radio stream in pyradion can be done easily, just by hitting r or R. > > !record.png > > The user will be notified through the status line of the recording taking place, and of the output file name. > > Editing the pyradion.config file, the user will be able to define output audio file directory. > > If the title is available by the stream, the file will take its name by it. > > If title is Not Available, the file will take a date/time for name. > > #### Output File Format > > In order for recording to work for mpv, output file format must be the same with stream format. > > Therefore stream format is recognised, and passed to the output file (e.g. mp3, ogg, aac). > > --- > > This project shares more or less the same logic with a previous project in Bash: > > https://gitlab.com/christosangel/radion > > although with this Python script some more features are available. > > > > ___ > > >

    0
    Pyradion, internet radio TUI client, with recording functionality, written in Python

    https://gitlab.com/christosangel/pyradion

    Through the menus, the user can :

    • Select directly a station from the Favorites list (which is configurable).

    • Select a random station out of this list of Favorite stations.

    • Select a tag to pick a station from.

    • Select to pick a station from All Stations.

    • Select a random station out of this list of #tag stations.

    • ❌ Quit pyradion.

    ---

    Recording

    Recording a radio stream in pyradion can be done easily, just by hitting r or R.

    !record.png

    The user will be notified through the status line of the recording taking place, and of the output file name.

    Editing the pyradion.config file, the user will be able to define output audio file directory.

    If the title is available by the stream, the file will take its name by it.

    If title is Not Available, the file will take a date/time for name.

    Output File Format

    In order for recording to work for mpv, output file format must be the same with stream format.

    Therefore stream format is recognised, and passed to the output file (e.g. mp3, ogg, aac).

    ---

    This project shares more or less the same logic with a previous project in Bash:

    https://gitlab.com/christosangel/radion

    although with this Python script some more features are available.

    ___

    6
    Turnip-TV, a tui iptv client (Bash)

    cross-posted from: https://lemmy.world/post/7753968

    https://gitlab.com/christosangel/turnip-tv

    turnip-tv is a customizable tui iptv client, written in Bash.

    The user can (among other customizations) choose input program between

    • read

    !1read.png

    • fzf

    !1fzf.png

    • rofi

    !1rofi.png

    • dmenu

    !1dmenu.png

    --- This script was inspired by and is almost identical with another project called radion, which is a tui internet radio client.

    The channel list was found here, and was modified to fit the script's functionality.

    5
    Turnip-TV, a tui iptv client (Bash)

    https://gitlab.com/christosangel/turnip-tv

    turnip-tv is a customizable tui iptv client, written in Bash.

    The user can (among other customizations) choose input program between

    • read

    !1read.png

    • fzf

    !1fzf.png

    • rofi

    !1rofi.png

    • dmenu

    !1dmenu.png

    --- This script was inspired by and is almost identical with another project called radion, which is a tui internet radio client.

    The channel list was found here, and was modified to fit the script's functionality.

    3
    Radion, an internet radio CLI client, written in Bash.

    cross-posted from: https://lemmy.world/post/7130937

    radion is a customizable internet radio CLI client, written in Bash.

    https://gitlab.com/christosangel/radion

    Radion can be customized as far as the station selecting program is concerned. The user can choose between:

    • read

    !read

    • fzf

    !fzf

    • rofi

    !rofi

    • dmenu

    !dmenu

    --- Using another bash script included in the same repo, the user also has the ability to record parts of the radio stream.

    !record notifications

    8
    Radion, an internet radio CLI client, written in Bash.

    cross-posted from: https://lemmy.world/post/7130937

    radion is an internet radio CLI client, written in Bash.

    https://gitlab.com/christosangel/radion

    Radion can be costumized as far as the station selecting program is concerned. The user can choose between:

    • read

    !read

    • fzf

    !fzf

    • rofi

    !rofi

    • dmenu

    !dmenu

    ---

    Update: Introduced new feature: costumizing prompt text for fzf dmenu and rofi.

    Update: Recording functionality added, with the use of another (you guessed it) bash script

    !icy

    Also options in read as Preferred selector are also case insensitive.

    Any feedback is appreciated!

    12
    christos christos @lemmy.world
    Posts 75
    Comments 151