christos

joined 1 year ago
[–] christos@lemmy.world 0 points 4 days ago

A cron job would not be a bad idea.

[–] christos@lemmy.world 2 points 5 days ago

But if others take the chance and it sticks around a bit, I’ll come around ;-)

Hey, like many bash scripts, this one is just a glorifief one-liner. But I use it everyday, I am biased, of course, but it is rather convenient, and prevents me from getting lost in rabbit holes.

[–] christos@lemmy.world 2 points 5 days ago

given the number of stories I’ve heard (and experienced) about Bash’s tricky syntax leading to Bad Things,

Been there, done that!

[–] christos@lemmy.world 1 points 5 days ago

Thank you, I will definetely check it out.

[–] christos@lemmy.world 5 points 5 days ago (3 children)

Fair enough, you do you.

For the record, no rm -r in the script.

The only rm command, line 394: rm "${UEBERZUG_FIFO_MAGIC_TAPE}"

[–] christos@lemmy.world 2 points 5 days ago (2 children)

Thanks, any feedback is appreciated.

 

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

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

Magic-tape is an image supporting fuzzy finder tui YouTube client.

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



UPDATE

Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.

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

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

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

Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.

Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.

 

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

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

Magic-tape is an image supporting fuzzy finder tui YouTube client.

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



UPDATE

Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.

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

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

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

Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.

Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.

 

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

Magic-tape is an image supporting fuzzy finder tui YouTube client.

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



UPDATE

Now introducing a new feature: the video description as well as the comments written by YT viewers will be shown in the terminal window, while the video is reproduced.

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

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

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

Thus, the user can be satisfied reading other viewers having a swing at the politicians/celebrities/stars they love to hate, or, watch closely to their heart's content, as cyber nuclear attacks are launched between self-righteous, valiant and livid keyboard fighters.

Comment loading is asynchronous to video loading, so it is possible that there will be some delay in the appearence of the comments. That depends on the number of comments, network speed etc.

[–] christos@lemmy.world 4 points 1 week ago

piper

Indeed piper performs very well. Thank you for the input, I will most certainly consider adding the option to select tts engine in the near future, piper sounds totally worth it.

[–] christos@lemmy.world 0 points 1 week ago (2 children)

speech-dispatcher

If you are referring to locally generated speech synthesis, the respecting outcome as far as I am concerned generally sounds generally poorer, and is more difficult to manage. However you can check out the original project https://gitlab.com/christosangel/sapo, where the audio files are generated locally.

[–] christos@lemmy.world 2 points 1 week ago (4 children)

Do you mean an option to choose between various tts methods?

[–] christos@lemmy.world 3 points 1 week ago

And, as far as

send-your-text-to-Microsoft bit

goes, well, if MS wants a copy of Brothers Karamazov, they can save themselves the trouble and get it here , it is free https://www.gutenberg.org/

[–] christos@lemmy.world 6 points 1 week ago (7 children)

I totally undersand what you are saying. Initially, the original project used local text-to-speech, but was less than perfect, slower and cpu-costly.

You can check it out here https://gitlab.com/christosangel/sapo

Once a FOSS solution gets better and more usable, swapping the tts conversion is not a great deal.

31
submitted 1 week ago* (last edited 1 week ago) by christos@lemmy.world to c/linux@lemmy.ml
 

https://gitlab.com/christosangel/sapo3

  • Sapo3 is a suite of scripts-tools that can help the user convert a text file to an audio file.

  • It uses the tts-edge API for text-to-speech conversion.

  • Big txt files can be easily converted to audio books, using a wide range of customization capabilities.

When the user runs Sapo3, they will be presented with a menu of options:

  • o option: Fix name pronunciation with Fix Names

  • c option: Split text to chapters with Chapterize

  • v option: Convert File to audio

  • f option: Check every sentence outcome with Fix Audio option.

  • m option: Merging Audio Files

  • p option: Configuring Preferences

[–] christos@lemmy.world 2 points 3 months ago
 

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.

 

He set up shop right here.

 

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

 

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

 

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

39
submitted 6 months ago* (last edited 6 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

 

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.

view more: next ›