deepankarvarma / Random-Quote-Generator-using-Python

This repository contains code for a minimalistic quote generator website that displays a new quote every 5 seconds. The quotes are fetched from the quotable API and displayed on a clean background image. The website is built using Streamlit, a Python web framework for data science and machine learning applications.

Home Page:https://deepankarvarma-random-quote-generator-using-python-app-pko9mm.streamlit.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Random Quote Generator

This repository contains code for hosting a minimal quote generator website that displays a new quote every 5 seconds. The quotes are fetched from the quotable API.

Installation

To run this project locally, you will need Python 3 and Streamlit. You can install Streamlit using the following command:

pip install streamlit

You can then clone this repository using:

git clone https://github.com/{your-username}/minimal-random-quote-generator.git

Navigate to the repository directory and run the following command to start the Streamlit app:

streamlit run app.py

Dependencies

The following Python libraries are required to run the application:

  • streamlit
  • requests
  • time
  • base64

You can install all these dependencies by running:

pip install -r requirements.txt

Usage

Once the Streamlit app is running, a random quote will be displayed along with its author. The quote will change every 5 seconds.

The app also features a background image, which can be customized by changing the image URL in the main() function.

Demo

You can try out the live demo of this app at the following link: https://deepankarvarma-random-quote-generator-using-python-app-pko9mm.streamlit.app/

Credits

This project uses the quotable API, which is a free, open-source API for quotes.

About

This repository contains code for a minimalistic quote generator website that displays a new quote every 5 seconds. The quotes are fetched from the quotable API and displayed on a clean background image. The website is built using Streamlit, a Python web framework for data science and machine learning applications.

https://deepankarvarma-random-quote-generator-using-python-app-pko9mm.streamlit.app/


Languages

Language:Python 100.0%