Code Monkey home page Code Monkey logo

wordlol's Introduction

wordlol Netlify Status

https://word.lol

Invent words with wordlol

Open the page, invent a word, and get a definition.

wordlol

About

wordlol is built on the Lit Web Component library, it randomly generates definitions by calling the OpenAI Chat completion API, and it is bundled with Vite. API calls are made with Netlify functions and can be substituted for any serverless function provider.

Usage

To get started with wordlol follow these steps:

  • git clone https://github.com/WillsonSmith/wordlol.git
  • Add an OPENAI_API_KEY to your Environment variables (.env file).
    • Sign up for on OpenAI to get an API key.
  • npm install
  • npm start
    • This requires Netlify for functions. You can replace the API or run npm run dev to run the application without functions.
  • If you use Netlify the browser should automatically open, if not, follow the link in your terminal.
  • Enter a word or a phrase in the search bar and click the "Search" button.
  • The application will generate a definition for the word or phrase you entered.

Special thainks:

  • Lit Simple. Fast. Web Components.
  • Vite Next Generation Frontend Tooling
  • Shoelace A forward-thinking library of web components
  • OpenAI Chat completion API
  • Netlify The fastest way to combine your favorite tools and APIs to build the fastest sites, stores, and apps for the web.

wordlol's People

Contributors

willsonsmith avatar

Watchers

James Cloos 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.