Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marwan-ahmed-23/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/marwan-ahmed-23/random-quote-generator
open-source python python-project quote-generator random-quotes
Last synced: 23 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/marwan-ahmed-23/random-quote-generator
- Owner: marwan-ahmed-23
- License: mit
- Created: 2024-12-11T15:27:31.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-25T05:49:12.000Z (about 1 month ago)
- Last Synced: 2024-12-25T06:29:44.763Z (about 1 month ago)
- Topics: open-source, python, python-project, quote-generator, random-quotes
- Language: Python
- Homepage:
- Size: 2.93 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/marwan-ahmed-23/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!