christos

joined 1 year ago
[–] [email protected] 2 points 2 months ago
[–] [email protected] 11 points 2 months ago

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.

 

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.

[–] [email protected] 5 points 3 months ago (1 children)

Hey, I know the guy who wrote the script, he is great.

 

He set up shop right here.

[–] [email protected] 1 points 4 months ago (1 children)

I have never tried it. But debian based + xfce, so you know what to expect.

[–] [email protected] 1 points 4 months ago

Sure, it is a Potatomatic 4000, 2nd edition. No, not Alacrity. Thx though.

[–] [email protected] 2 points 4 months ago (2 children)

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.

 

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

[–] [email protected] 7 points 4 months ago (1 children)

Someone should come up with a new distro with the name potatOS, just for cases like this .

 

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

[–] [email protected] 5 points 4 months ago (1 children)

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.

 

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

[–] [email protected] 2 points 4 months ago

I went on and added an if statement and a message to install.sh, just for the issue you mentioned...

[–] [email protected] 5 points 4 months ago

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.

40
submitted 4 months ago* (last edited 4 months ago) by [email protected] to c/[email protected]
 

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

 

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.

 

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.

 
 
 

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.

 

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.

view more: next ›