Giter Site home page Giter Site logo

bachicha-daily's Introduction

Daily Image Fetcher

This is a Flask application that fetches an image from OpenAI's DALL-E API and displays it on a webpage. The image is of a chubby daschund wearing a sailor hat on the beach, with the caption being today's date.

Installation

Clone the repository and install the required packages:

git clone [email protected]:hart-venus/bachicha-daily.git 
cd bachicha-daily
pip install -r requirements.txt

Usage

Set up the environment variable OPENAI_API_KEY to your OpenAI API key. You can get an API key from https://platform.openai.com/. To run the application, use the following command:

python app.py

The application will start a server at http://localhost:5000/. Open this URL in a web browser to view the image.

API Routes

  • / - Displays the image fetched from the DALL-E API.
  • /get-image - Fetches a new image from the DALL-E API.

Contributing

Contributions are welcome.

License

MIT

Roadmap

  1. Image caching
  2. Image Rating System
  3. Custom prompts for server side (not just the daschund image)
  4. Custom prompts each day algorithmically generated
  5. Responsive design
  6. Image history
  7. Links to my social media
  8. Connect with weather API to display weather
  9. CI/CD pipeline
  10. Dockerize

bachicha-daily's People

Contributors

hart-venus 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.