The Fake News Headline Generator is a fun Python project that creates hilarious, random “Breaking News” headlines by combining quirky subjects, actions, and places.
Users can add their own custom inputs, save headlines to a file, and generate endless funny combinations — all through a simple interactive console interface.
- Randomly generates funny news headlines using Python’s
randommodule - Allows custom user input for subjects, actions, and places
- Option to save headlines to a text file (
saved_headlines.txt) - Interactive loop for continuous headline generation
- Built-in default lists of humorous subjects, actions, and places
- Python 3.14.2 – Core programming language
- random – For random selection of subjects, actions, and places
- File handling (open/write) – To store generated headlines
- Input/Output functions – For user interaction
- UTF-8 encoding – Ensures proper text storage
- Created a fully functional headline generator with user interaction.
- Implemented randomized humor logic using Python lists.
- Enabled saving headlines for later use or sharing.
- Designed a loop-based system for continuous generation.
- Delivered a lightweight, console-based entertainment tool.
- Clone the repository:
git clone https://github.com/msriv6-prog/fake_headline_generator.git cd fake_headline_generator
- Add a GUI dashboard using Tkinter or Streamlit
- Integrate AI humor scoring for smarter headline generation
- Enable category-based headline themes (politics, sports, Bollywood, etc.)
- Add export options (CSV, PDF) for saved headlines
👨💻 Developed by Mohit
📌 Connect with me on LinkedIn