https://github.com/m-ah07/random-quote-generator
A lightweight Python-based Random Quote Generator that reads quotes from a JSON file and displays a random one every time it is run. Perfect for inspiration, fun, or learning how to work with JSON in Python.
https://github.com/m-ah07/random-quote-generator
open-source python python-project quote-generator random-quotes
Last synced: 14 days ago
JSON representation
A lightweight Python-based Random Quote Generator that reads quotes from a JSON file and displays a random one every time it is run. Perfect for inspiration, fun, or learning how to work with JSON in Python.
- Host: GitHub
- URL: https://github.com/m-ah07/random-quote-generator
- Owner: m-ah07
- License: mit
- Created: 2024-12-11T15:27:31.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-16T07:51:48.000Z (about 1 year ago)
- Last Synced: 2025-09-11T14:48:47.813Z (6 months ago)
- Topics: open-source, python, python-project, quote-generator, random-quotes
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Quote Generator
A simple Python project to display random inspirational quotes. This project is great for learning how to handle JSON data and work with randomization in Python.
---
## ✨ Features
- Loads quotes from a JSON file.
- Displays a random quote in the console.
- Easily extendable with more quotes.
## 📖 Usage
1. Clone the repository:
```bash
git clone https://github.com/m-ah07/random-quote-generator.git
cd random-quote-generator
```
2. Run the script:
```bash
python random_quote.py
```
3. Example output:
```bash
"The best way to predict the future is to invent it." - Alan Kay
```
## 🤝 Contributing
Feel free to add more quotes to `quotes.json` or improve the code!
## 🌟 Show Your Support
If you found this project helpful, please consider giving it a ⭐ on GitHub. Your support means the world to us!