[-] christos@lemmy.world 11 points 3 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.

75
submitted 3 months ago by christos@lemmy.world to c/opensource@lemmy.ml

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.

110
submitted 5 months ago by christos@lemmy.world to c/futurama@lemmy.world

He set up shop right here.

167
submitted 5 months ago by christos@lemmy.world to c/linux@lemmy.ml

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

26
submitted 5 months ago by christos@lemmy.world to c/linux@lemmy.world

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

75
submitted 5 months ago by christos@lemmy.world to c/linux@lemmy.ml

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

40
submitted 5 months ago* (last edited 5 months ago) by christos@lemmy.world to c/linux@lemmy.ml

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

41
submitted 5 months ago by christos@lemmy.world to c/linux@lemmy.world

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.

[-] christos@lemmy.world 11 points 5 months ago

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.

291
submitted 5 months ago by christos@lemmy.world to c/linux@lemmy.ml

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.

16
submitted 6 months ago by christos@lemmy.world to c/linux@lemmy.ml
14
submitted 6 months ago by christos@lemmy.world to c/linux@lemmy.world

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.

54
submitted 6 months ago by christos@lemmy.world to c/linux@lemmy.world

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.

179
submitted 7 months ago* (last edited 6 months ago) by christos@lemmy.world to c/linux@lemmy.ml

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.

[-] christos@lemmy.world 58 points 10 months ago

Somehow things seem similar (perhaps better) in Greece:

[-] christos@lemmy.world 10 points 11 months ago
  • Excellent catch! This one slipped through! I just fixed the bug, thank you very much!

I am happy you like it!

[-] christos@lemmy.world 13 points 11 months ago

Maybe. Respectfuly, feel free to move along. I fail to see the aim of your message.

[-] christos@lemmy.world 15 points 11 months ago

Don't give me new ideas...

[-] christos@lemmy.world 26 points 11 months ago

Of course, next time I feel like writing a script, I will make sure that I let you know first, and get your approval.

[-] christos@lemmy.world 9 points 11 months ago

I like xed for coding. Simple, costumisable enough, great experience.

[-] christos@lemmy.world 15 points 1 year ago

Oh, the FUN parts.

I initially tried to incorporate past attempts to generate a sudoku 9x9 matrix, even added a backtracking routine that would detect and exclude duplicate solutions. Unfortunately, the whole process of generating a new puzzle was taking about 30". What is more, the outcome, although symmetrical and all, was not what I wanted. The routines were in c. You can have a look if you like:

https://gitlab.com/christosangel/c-sudoku

[-] christos@lemmy.world 11 points 1 year ago* (last edited 1 year ago)

Thanx for pointing out, it is now fixed in the repo and in the script, however I cannot update the preview image here on Lemmy... so this spelling error will stick out like a sore thumb.

Update: Fixed.

[-] christos@lemmy.world 13 points 1 year ago
[-] christos@lemmy.world 53 points 1 year ago

It is up again!

view more: next ›

christos

joined 1 year ago