Starry
Turn your ideas into Van Gogh's Starry Night - Powered by Vercel, AuthKit and Replicate 💫
Install / Use
/learn @LauraBeatris/StarryREADME
<p align="center">
<a href="https://my-starry.com">
<img width="500" alt="Starry – Generate pictures based on Van Gogh's Starry Night." src="./.github/images/preview.gif">
<h1 align="center">Starry 💫</h1>
</a>
</p>
<p align="center">
Turn your ideas into Van Gogh's Starry Night
</p>
<p align="center">
<a href="https://twitter.com/lauradotjs">
<img src="https://img.shields.io/twitter/follow/lauradotjs?style=flat&label=lauradotjs&logo=twitter&color=0bf&logoColor=fff" alt="Laura Twitter followers count" />
</a>
<a href="https://github.com/laurabeatris/starry">
<img src="https://img.shields.io/github/stars/laurabeatris/starry?label=laurabeatris%2Fstarry" alt="Spirals repository stars count" />
</a>
</p>
How it works
This application leverages an AI model, specifically Stable Diffusion hosted on Replicate, to transform your images into art inspired by Van Gogh's Starry Night. Simply enter a prompt, and it will be processed through this AI model via a Next.js server action and an API route that listens to Replicate's webhook.
🎥 Walkthrough videos
<!-- TODO -> Add link -->Powered by
- Bun for compilation
- Replicate for AI API
- Vercel
- Next.js App Router
- Next.js Server Actions
- Vercel Blob for image storage
- Vercel KV for redis
- WorkOS
- AuthKit for user management
How to run on your own machine
1. Install Bun for compilation
2. Install ngrok to listen to Replicate's webhook events while developing locally
2. Cloning the repository
git clone
3. Sign up for the services mentioned in the Powered by section
4. Storing API keys in .env file.
Copy the .env.example file and update with your own API keys.
5. Installing the dependencies.
bun install
6. Running the application.
Then, run the application in the command line and it will be available at http://localhost:3000.
bun run dev
Also, run ngrok http 3000 to create a tunnel to listen to Replicate's webhook events.
Author
- Laura Beatris (@lauradotjs)
