This Python project uses Pygame to create a customizable on-screen ticker display, similar to those seen on news channels. The ticker can be configured to scroll text across the top or bottom of the screen with customizable colors and direction.
- Customizable Ticker: Configure the ticker's background color, font color, text, direction, and position.
- Dynamic Sizing: The ticker height and font size adjust dynamically based on the screen height.
- Always on Top: The ticker window stays on top of other windows.
- YAML Configuration: Easily modify settings using a
config.yml
file with comments for clarity.
- Windows OS(recommended), but if you are using Linux based os then follow step 2 as Linux does not support Always on Top feature using python. It depends on which window manager you are using.
- Desktop Environment Like
Ubuntu(Gnome/Mate/Lite/etc) - with hidden decorators and alwaysOnTop support
,Fluxbox (window manager) - with hidden decorators and alwaysOnTop support
If you want to disable the decorator in Gnome then check my Stack Overflow solution over here : StackOverflow Link
-
Head over to Releases Section
-
Download the latest version of
tickerv2.exe
(for Windows) ortickerv2bin
(for Linux) depending on your OS -
Run the main file
-
You can edit config.yml to make changes in your ticker
-
Clone the repository:
git clone https://github.com/AmoghSaxena/ticker-v2.git cd ticker-v2
-
Install the required packages:
pip install -r requirements.txt
Edit the config.yml
file to customize the ticker:
# Configuration for ticker
background_color: [255, 165, 0] # Background color in RGB
font_color: [255, 255, 255] # Font color in RGB
direction: left # Direction of ticker: left(<--) or right(-->)
ticker_text: "Breaking News: This is a configurable ticker!" # Text to display
position: bottom # Position of ticker: top or bottom
logo_path: "" # Path to logo image (leave empty if no logo)
logo_position: left # Position of logo: left or right
Run the script to start the ticker:
python ticker.py
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please fork the repository and submit a pull request.
For questions or suggestions, please contact [email protected].