Skip to content

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.

Notifications You must be signed in to change notification settings

deepankarvarma/Random-Quote-Generator-using-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages