https://github.com/zaselalk/animal-inspired-ai-quote
Quote generator web application base on Cloudflare AI
https://github.com/zaselalk/animal-inspired-ai-quote
ai cloudflare hono nodejs
Last synced: 4 months ago
JSON representation
Quote generator web application base on Cloudflare AI
- Host: GitHub
- URL: https://github.com/zaselalk/animal-inspired-ai-quote
- Owner: zaselalk
- Created: 2024-04-13T08:41:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-16T07:25:50.000Z (5 months ago)
- Last Synced: 2026-01-16T22:27:35.833Z (5 months ago)
- Topics: ai, cloudflare, hono, nodejs
- Language: HTML
- Homepage:
- Size: 175 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# AI Animal Quote generator with image
simple cloudfare worker application that randomly generated quote with nice looking image for background base on openchat-3.5-0106 and dreamshaper-8-lcm models.
## Demo
https://cloudfareworkers.infoaselalk.workers.dev
## Run locally
## Trying this on your own machine
This guide will walk you through setting up and running the code on your local machine.
### Prerequisites
* Downloaded code (or access to git)
### Steps
1. **Get the code:**
* Download the code directly, or
* Clone the code using git (instructions not covered here).
2. **Locate the code:**
* Open the folder where you saved the downloaded code.
3. **Install Wrangler :**
* If you don't have Wrangler installed yet, install it following.
```
npm install wrangler --save-dev
```
4. **Create a new project:**
* Open a terminal and navigate to your folder with the downloaded code.
* Run the following command to create a new project for Cloudflare Workers, choosing TypeScript if prompted:
```bash
npm create cloudflare@latest
```
5. **Copy the code:**
* Copy the code from the downloaded `/src` folder into the newly created project's `/src` folder.
6. **Run the code:**
* In your terminal, run the following command to start the development server and open the project in your browser:
```bash
npx wrangler dev
```
or
```
npm run dev
```
7. **Open in browser:**
* A local web address will be displayed in your terminal. Open this address in your browser to see the code running.
8. **Deploy online (optional):**
```
npm run deploy
```