Coder Social home page Coder Social logo

boohub's Introduction

BooHub

BooHub is a one-stop application for all your Halloween needs, built with Streamlit. It provides a variety of features to get you into the Halloween spirit, including a Halloween movie suggester, a spooky story generator, and a section for Halloween history, recipes, and DIY decoration ideas.

Features

Home: The landing page of the application that sets the mood with a Halloween theme.

Halloween Movie Suggester: This page uses The Movie Database (TMDB) API to suggest Halloween-themed movies based on user-selected genre and sorting options.

Spooky Story Generator: This page uses OpenAI's GPT-3 model to generate spooky stories based on a user-provided starting phrase and the chosen story style.

History/Recipes/DIY: This page provides a history of Halloween, along with recipes and DIY decoration ideas. It uses the Streamlit Session State feature to store user interactions across reruns of the application.

Getting Started

Prerequisites

Python 3.6 or higher Streamlit An API key for The Movie Database (TMDB) API An API key for OpenAI

Installation

Clone the repo

git clone https://github.com/qepting91/BooHub.git

Install Python packages

pip install -r requirements.txt

Create a .env file in the root directory and enter your TMDB and OpenAI API keys:

OPENAI_API_KEY = 'YOUR_OPENAI_API_KEY'
TMDB_API_KEY = 'YOUR_TMDB_API_KEY'

Usage

Run the following command in your terminal:

streamlit run app.py

Then navigate to localhost:8501 in your web browser to view the application.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

Streamlit OpenAI TMDB

boohub's People

Contributors

qepting91 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.