christos

joined 1 year ago
 

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

https://gitlab.com/christosangel/chaftrix

This program written in C will render the matrix effect in the terminal window in the background, while rendering an image in the foreground, allowing animation of this image in one or two dimensions.

video.png

Image rendering is done with chafa.

This program is the continuation and evolution of other projects:

https://gitlab.com/christosangel/matrix_clone

https://gitlab.com/christosangel/ascii-matrix

https://gitlab.com/christosangel/animatrix

[–] christos@lemmy.world 1 points 1 month ago

UPDATE: I have just added another animation option (hop), you can check it out here.

[–] christos@lemmy.world 10 points 1 month ago* (last edited 1 month ago)

cmatrix has it's own features, and has most certainly been an inspiration. At first I made a project as a matrix-clone, in c.

Later on I added an extra feature in another project, rendering ascii-art in the foreground. In this step I tried taking a step further on.

 

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

https://gitlab.com/christosangel/animatrix

This program written in C will create some basic animation of ascii-art loaded from a txt file, while rendering the matrix effect in the terminal window.


video


[–] christos@lemmy.world 6 points 1 month ago

I am a linux user, this is a FOSS project that I created.

This is a project that makes my linux experience more pleasant.

Is this a project that might interest other linux users, or might make their experience better?

Judging from the 49 upvotes so far, yes.

Do you share the same opinion? I don't know.

If not, feel free to downvote, and/or move on.

[–] christos@lemmy.world 1 points 1 month ago

I stand corrected.

 

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

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

c-squares written in the C language will render random coloured rectangulars in the terminal, while the font, speed, density, color, ratio and number of the shapes drawn are fully costumizable.

Every time a rectangular is complete, a new one starts to take shape.

1.png

Click on image to play video


https://gitlab.com/christosangel/c-squares/-/raw/main/screenshots/2.png

https://gitlab.com/christosangel/c-squares/-/raw/main/screenshots/3.png


Feel free to explore the endless variations.

[–] christos@lemmy.world 1 points 1 month ago

A cron job would not be a bad idea.

 

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.

[–] christos@lemmy.world 4 points 1 month 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 month 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 month ago (4 children)

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

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

32
submitted 1 month ago* (last edited 1 month 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 5 months ago
 

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

 

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

 

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/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.

 

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.


view more: next ›