Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ASCII Flix is a terminal-based video player that converts videos into ASCII art. This project allows users to watch videos in their terminal by displaying them as ASCII characters.
pygame
.You can use ASCII Flix by running the command ascii-flix
after installing the package.
To play a video on ASCII Flix, the video must be downloaded on your device in MP4 format.
For those who are unsure how to get the path of the video file:
Windows:
C:\Users\YourName\Videos
and the file name is example.mp4
, the full path will be C:\Users\YourName\Videos\example.mp4
.Mac/Linux:
cd
command.pwd
command to print the current directory path.pwd
outputs /home/yourname/videos
and your file is example.mp4
, the full path will be /home/yourname/videos/example.mp4
.In rare cases where the ascii-flix
command does not work after installation, you can manually add the script:
Locate your Python scripts directory:
C:\Users\YourName\AppData\Local\Programs\Python\PythonXX\Scripts
or C:\Users\YourName\AppData\Roaming\Python\PythonXX\Scripts
(replace XX
with your Python version)./usr/local/bin
or /usr/bin
.Create a new script file named ascii-flix
(without any extension) in the scripts directory.
Open the file in a text editor and add the following lines:
#!/usr/bin/env python
from modules import HomeScreen, VideoPlayer
def main_function():
video_player = VideoPlayer()
homescr = HomeScreen()
homescr.create_logo()
homescr.display_home_screen(video_player=video_player)
if __name__ == "__main__":
main_function()
Save the file and make it executable:
chmod +x /path/to/ascii-flix
in the terminal.Ensure the scripts directory is in your PATH:
export PATH="/path/to/scripts:$PATH"
to your ~/.bashrc
or ~/.zshrc
file and run source ~/.bashrc
or source ~/.zshrc
.After these steps, you should be able to run the ascii-flix
command from any terminal window.
FAQs
A terminal-based video player that converts videos to ASCII art.
We found that ascii-flix demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.