Giter Club home page Giter Club logo

poemdle-app's Introduction

POEMDLE

In a world where words weave magic and poetry paints pictures, welcome to Poemdle - where the art of guessing meets the beauty of verse. Instead of guessing just one word, you unravel the mysteries of entire poems. Welcome to a new dimension of wordplay, where every guess is a step closer to unlocking the poet's heart.

Video

Try it live at Poemdle

Poemdle.mp4

Watch on YouTube

Technology Stack

  • MindsDB
  • Flagsmith
  • React
  • Javacript
  • Python
  • CSS

What will you need to run the app locally

  • MindsDB setup locally or access to cloud MindsDB.
  • Flagsmith account.
  • OpenAI API key.

Steps to reproduce

  1. Clone the Repository: git clone https://github.com/aj1904/poemdle-app.git

  2. Navigate to the Project Directory: cd poemdle-app

  3. Install Dependencies: npm install

  4. Setup MindsDB account, database and model

  • Run the SQL queries present in MindsDBSQLSetup.sql.
  • Use your OpenAI API key.
  1. Setup Flagsmith account
  • Use your Flagsmith environment id in index.js file.
  • Define these flags in your Flagsmith account:
    • footer: this determines whether to show footer or not.
    • help_popup: this determines whether to show help instructions or not (Work in progress).
    • hints: this determines whether to enable hints or not.
    • score_tracking: this determines whether to track scores or not.
  1. Setup Backend (Optional)
  • Not required necessarily, the app works without it.
  • But if you want to try your hands on new poems everyday, you can use this python script to connect to your MindsDB database and generate a new poem which will get updated in poemtoday.js file.
  • Pass a topic name to generate a poem of your wish. python backend.py 'love'
  • You also have an option to save generated poems in MongoDB database for future reference.
  1. Run the Application: npm start

poemdle-app's People

Contributors

aj1904 avatar

Stargazers

bhumiba padhiyar avatar  avatar Aditi Jain avatar  avatar  avatar

Watchers

 avatar

Forkers

adi1256

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.