Skip to content

Receive AI-driven critiques, enhancements, and freshly generated designs for your UI/UX designs.

License

Notifications You must be signed in to change notification settings

ipenywis/roastui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoastUI Logo

RoastUI is an innovative tool that offers AI-driven analysis for UI/UX designs. It's crafted to provide comprehensive insights, allowing you to refine your designs and quickly produce enhanced layouts.

The full project has been built in public on YouTube, you can watch the full video tutorial from here (~10hrs 😬).

Features

  • Completely built with Next.js
  • Vercel AI SDK for running AI models
  • Openrouter for unified access to all AI models
  • Deployed on VPS on fly.io across multiple regions
  • Compiles, runs and renders AI-generated code in the browser using esbuild WASM
  • Uses SQLite with Fly.io LiteFS for distributed database access

Running The Project

If you want to play around with RoastUI locally, roast your own designs on your machine or contributing, this guide will help you properly setup and run the project.

The project runs on Next.js with ai-sdk from Vercel and it is deployed on fly.io (VPS).

1. Clone the repository

First, you need to clone the repository to your local machine, you can use the following command

$ git clone https://github.com/ipenywis/roastui.git

This will clone the project to the roastui folder.

2. Install dependencies

The project uses PNPM to manage dependencies, make sure to install it from here first.

Then simply run

$ pnpm install

3. Setup environment variables

There are plenty of environment variables that are required in order to run the project, you can check the .env.example file to see the list of the variables that you need to populate for the app to properly run.

We use openrouter for running AI models, since it provides almost all AI models within one single API.

For authentication, we use next-auth.

For Object storage, we use Cloudflare R2, which is an AWS S3 compatible object storage.

4. Run the development server

Once you have set up your environment variables, you can start the development server by running:

# pnpm is preferred over other package managers
$ pnpm dev

This will start the Next.js development server on http://localhost:3000. You can now open your browser and navigate to that address to see RoastUI running locally.

Contributing

We welcome your contributions toward improving RoastUI! You can read the CONTRIBUTING guide to know how to contribute to the project.

License

This project is licensed under the Elastic License 2.0. See the LICENSE file for details.

About

Receive AI-driven critiques, enhancements, and freshly generated designs for your UI/UX designs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages