Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

petercrackthecode/Clover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

27 Commits

Repository files navigation

Clover- Image generator

Clover ☘️ is an image generator app using the Stable Diffusion XL model via the RunPod API.

Installation

  1. Go to ./backend, follow the instruction within backend/README.mdto start the backend server.
    1b. Optional: If you are running this project on your local machine, you can usengrokto expose the server to the internet. This steps ensured that the/webhook callback by RunPod API is forwarded to your local machine.
  2. Go to ./frontend, follow the instruction within frontend/README.md` to start the frontend server.

Tech stacks

  1. Frontend: Next.js, React, TypeScript, TailwindCSS, ShadCN UI, RadixUI, Socket.io-client.
  2. Backend: Node.js with Express.js, TypeScript, Socket.io, Ngrok (Optional), RunPod API.
  3. Database: Browser's local storage- only accessible by the Frontend (for now).

Known Issues

  • The images only exist on Cloudflare for a short amount of time (24 hours). Afterward, the images url will expire, and image links become invalid.
  • Sometimes the RunPod API does return fail for a queued task, which you can see from the backend console. This issue is not handled yet.
  • There are 2 socket connections triggered each time client connects to the server. Potential fix: creating a React Hooks called useSocket to avoid duplicated connections.
  • The backend doesn't support multi-tenants within the socket part on the server.

About

Clover ☘️ is an image generator app using the Stable Diffusion XL model via the RunPod API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /