Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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!