Skip to content

Invent new words with wordlol - Enter a word and watch as wordlol creates a definition.

License

Notifications You must be signed in to change notification settings

WillsonSmith/wordlol

Repository files navigation

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.

About

Invent new words with wordlol - Enter a word and watch as wordlol creates a definition.

Topics

Resources

License

Stars

Watchers

Forks