[SOLVED] Setting up an alarm
  • christos christos Now 100%

    A cron job would not be a bad idea.

    1
  • magic-tape: tui yt client/downloader, new feature: Show video description & comments in the terminal.
  • christos christos Now 100%

    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.

    2
  • magic-tape: tui yt client/downloader, new feature: Show video description & comments in the terminal.
  • christos christos Now 100%

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

    Been there, done that!

    2
  • magic-tape: tui yt client/downloader, new feature: Show video description & comments in the terminal.
  • christos christos Now 100%

    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}"

    5
  • cross-posted from: https://lemmy.world/post/20356859 [https://gitlab.com/christosangel/magic-tape](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](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/comments.png) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png](https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments2.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.

    20
    0

    cross-posted from: https://lemmy.world/post/20356859 [https://gitlab.com/christosangel/magic-tape](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](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/comments.png) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png](https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments2.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.

    49
    0

    [https://gitlab.com/christosangel/magic-tape](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](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/comments.png) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png](https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments1.png) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/comments2.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.

    44
    9
    Sapo3, a tui audiobook generator, in Bash
  • christos christos Now 100%

    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.

    4
  • Sapo3, a tui audiobook generator, in Bash
  • christos christos Now 50%

    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.

    0
  • Sapo3, a tui audiobook generator, in Bash
  • christos christos Now 100%

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

    2
  • Sapo3, a tui audiobook generator, in Bash
  • christos christos Now 100%

    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/

    3
  • Sapo3, a tui audiobook generator, in Bash
  • christos christos Now 100%

    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.

    6
  • gitlab.com

    [https://gitlab.com/christosangel/sapo3](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](https://github.com/rany2/edge-tts) 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: ![](https://lemmy.world/pictrs/image/9908ceff-5e77-4063-b295-9da1b1640ac8.png) - `o option`: Fix name pronunciation with Fix Names ![](https://lemmy.world/pictrs/image/1977483b-9616-4f49-b473-d73337a35ed7.png) - `c option`: Split text to chapters with Chapterize - `v option`: Convert File to audio - `f option`: Check every sentence outcome with Fix Audio option. ![](https://lemmy.world/pictrs/image/0ff12d27-90fc-47ef-840c-83a6a5a66fdd.png) - `m option`: Merging Audio Files - `p option`: Configuring Preferences

    33
    10
    magic-tape: YouTube TUI client (fzf, image support)
  • christos christos Now 100%

    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.

    11
  • 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) ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/1.png](https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/1.png) Image rendering can be done with the use of [ueberzugpp](https://github.com/jstkdng/ueberzugpp), [ueberzug](https://github.com/seebye/ueberzug), [kitty terminal](https://sw.kovidgoyal.net/kitty/) or [chafa](https://github.com/hpjansson/chafa/). ![https://gitlab.com/christosangel/magic-tape/-/raw/main/screenshots/fzf2.png](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.

    75
    5
    radion – internet radio TUI client written in Bash
  • christos christos Now 100%

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

    5
  • He set up shop right [here](https://www.google.com/maps/@38.080041,23.7929643,3a,45.7y,302.06h,80.41t/data=!3m6!1e1!3m4!1seu6ubB4AiOLRPUqDFkkPdQ!2e0!7i16384!8i8192?entry=ttu).

    106
    1
    looking for examples of countries whose governments, school system,health system, wjatever, use mostly GNU/Linux
  • christos christos Now 100%

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

    1
  • tui-battleship, the classic naval battle game (Bash).
  • christos christos Now 100%

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

    1
  • tui-battleship, the classic naval battle game (Bash).
  • christos christos Now 100%

    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.

    2
  • [https://gitlab.com/christosangel/tui-battleship](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](https://gitlab.com/christosangel/tui-battleship/-/raw/main/screenshots/win.png) You lose if the computer achieves sinking your ships first. ![lose](https://gitlab.com/christosangel/tui-battleship/-/raw/main/screenshots/lose.png)

    167
    6
    What distro should I use on my potato?
  • christos christos Now 90%

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

    8
  • cross-posted from: https://lemmy.world/post/13826157 > [https://gitlab.com/christosangel/nine](https://gitlab.com/christosangel/nine) > > **nine** is a tui implementation of the classic 3x3 [sliding-puzzle](https://en.wikipedia.org/wiki/Sliding_puzzle), in Bash. > > There is a 3x3 grid that contains 8 _tiles_, and one position that is _empty_. > > ![grid1](https://gitlab.com/christosangel/nine/-/raw/main/screenshots/grid1.png) > ![grid2](https://gitlab.com/christosangel/nine/-/raw/main/screenshots/grid2.png) > > > 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/-/raw/main/screenshots/win.png)

    27
    0

    [https://gitlab.com/christosangel/nine](https://gitlab.com/christosangel/nine) **nine** is a tui implementation of the classic 3x3 [sliding-puzzle](https://en.wikipedia.org/wiki/Sliding_puzzle), in Bash. There is a 3x3 grid that contains 8 _tiles_, and one position that is _empty_. ![grid1](https://gitlab.com/christosangel/nine/-/raw/main/screenshots/grid1.png) ![grid2](https://gitlab.com/christosangel/nine/-/raw/main/screenshots/grid2.png) 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/-/raw/main/screenshots/win.png)

    75
    3

    [https://gitlab.com/christosangel/mneme](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](https://gitlab.com/christosangel/mneme/-/raw/main/screenshots/main_menu.png) The user by editing a configuration file, can select a wide range of **character themes** and **levels of difficulty**(*matrix size*). ![main menu](https://gitlab.com/christosangel/mneme/-/raw/main/screenshots/win.png) ![main menu](https://gitlab.com/christosangel/mneme/-/raw/main/screenshots/quit.png)

    40
    2

    cross-posted from: https://lemmy.world/post/13597269 [https://gitlab.com/christosangel/tui-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.

    40
    1

    [https://gitlab.com/christosangel/tui-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.

    291
    17

    The [ueberzug](https://github.com/seebye/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. - Follow the install instructions found in [this ueberzug fork](https://github.com/gokberkgunes/ueberzug-tabbed): ``` 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.

    14
    0

    cross-posted from: https://lemmy.world/post/12108185 [https://gitlab.com/christosangel/basht](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](https://github.com/jstkdng/ueberzugpp), [ueberzug](https://github.com/seebye/ueberzug), [kitty terminal](https://sw.kovidgoyal.net/kitty/) or [chafa](https://github.com/hpjansson/chafa/). ![basht_img_3.png](https://gitlab.com/christosangel/basht/-/raw/main/screenshots/basht_img_3.png?ref_type=heads) The script also provides content preview for directories, and text files: ![basht_text.png](https://gitlab.com/christosangel/basht/-/raw/main/screenshots/basht_text.png?ref_type=heads) As one can see in the screenshots, thanks to [Nerd Fonts](https://www.nerdfonts.com/font-downloads), 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.

    49
    5

    cross-posted from: https://lemmy.world/post/12108185 > [https://gitlab.com/christosangel/basht](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](https://github.com/seebye/ueberzug), [kitty terminal](https://sw.kovidgoyal.net/kitty/) or [chafa](https://github.com/hpjansson/chafa/). > > ![basht_img_3.png](https://gitlab.com/christosangel/basht/-/raw/main/screenshots/basht_img_3.png?ref_type=heads) > > The script also provides content preview for directories, and text files: > > ![basht_text.png](https://gitlab.com/christosangel/basht/-/raw/main/screenshots/basht_text.png?ref_type=heads) > > As one can see in the screenshots, thanks to [Nerd Fonts](https://www.nerdfonts.com/font-downloads), 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
    0

    [https://gitlab.com/christosangel/basht](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](https://github.com/jstkdng/ueberzugpp), [ueberzug](https://github.com/seebye/ueberzug), [kitty terminal](https://sw.kovidgoyal.net/kitty/) or [chafa](https://github.com/hpjansson/chafa/). ![basht_img_3.png](https://gitlab.com/christosangel/basht/-/raw/main/screenshots/basht_img_3.png?ref_type=heads) The script also provides content preview for directories, and text files: ![basht_text.png](https://gitlab.com/christosangel/basht/-/raw/main/screenshots/basht_text.png?ref_type=heads) As one can see in the screenshots, thanks to [Nerd Fonts](https://www.nerdfonts.com/font-downloads), 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
    16

    cross-posted from: https://lemmy.world/post/8393990 > [https://gitlab.com/christosangel/pyradion](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](https://gitlab.com/christosangel/pyradion/-/raw/main/screenshots/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](https://gitlab.com/christosangel/radion) > > although with this Python script some more features are available. > > > > ___ > > >

    36
    0

    [https://gitlab.com/christosangel/pyradion](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](https://gitlab.com/christosangel/pyradion/-/raw/main/screenshots/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](https://gitlab.com/christosangel/radion) although with this Python script some more features are available. ___

    91
    6
    christos Now
    86 172

    christos

    christos@ lemmy.world