Skip to content

Closet Ai | Revamp your style effortlessly | Designed with ❤️ for Supabase Open Source Hackathon 2024

Notifications You must be signed in to change notification settings

ineffablesam/closet-ai

Repository files navigation

Closet Ai | Revamp your style effortlessly

Syno Logo Flutter Logo


Demo APK Download Link



app-icon

👾 ClosetAi - Your Virtual Wardrobe

Introducing Closet AI: the ultimate style companion 🌟. Upload images, choose your desired topwear or bottomwear, then watch as our cutting-edge AI replaces your outfit in an instant! 🔥 Seamlessly integrated with Supabase for secure authentication, lightning-fast image storage, and dynamic edge functions, our project is a game-changer for the Supabase Hackathon. Join us and revolutionize your wardrobe with the power of AI and Supabase!

Designed with ❤️ for Supabase Open Source Hackathon 2024

🔥 Supercharged with

  • Supabase
  • Flutter

💚 Usage of Supabase

In our app, Supabase serves as the backbone for secure user authentication, efficient image storage, and enables dynamic edge functions, ensuring seamless and reliable functionality for our users' virtual wardrobe transformations.

🚀 Examples

thumbnail
thumbnail

📺 Watch Demo

Youtube Link

thumbnail

Quick Look 👀

Promo 2 Image

screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm
screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm
screen shot 2017-08-07 at 12 18 15 pm screen shot 2017-08-07 at 12 18 15 pm

How to setup ClosetAi ?

Setup Instructios: Supabase

1. Create Profile table:

create table
  profile (
    id bigint primary key generated always as identity,
    username text not null,
    email text not null,
    date_joined timestamp with time zone default current_timestamp
  );

2. Create the storage bucket 'closet-generations'

3. Add Bucket Policies:

-- Add policies for managing access to the storage bucket 'closet-generations'

create policy "Generations images are publicly accessible." on storage.objects
  for select using (bucket_id = 'closet-generations');

create policy "Anyone can upload an generations." on storage.objects
  for insert with check (bucket_id = 'closet-generations');

create policy "Anyone can update their own generations." on storage.objects
  for update using ((select auth.uid()) = owner) with check (bucket_id = 'closet-generations');

Setup Instructios: Flutter

1. Copy Environment Variables:

Copy the contents of env.example to a new file named .env.

REPLICATE_KEY=''
SUPABASE_URL=''
SUPABASE_ANON_KEY=''

Get the keys for REPLICATE_KEY, SUPABASE_URL, and SUPABASE_ANON_KEY from your Supabase project and Replicate dashboard Replace the placeholders in the .env file with the actual keys. Then Continue with below steps

  1. Install Flutter for your platform.
  2. Clone this repository or download the source code.
  3. Open a terminal window and navigate to the project directory.
  4. Run flutter pub get to install dependencies.
  5. Copy the Contents of .
  6. Run flutter run to start the app.

Roadmap

  • Refactor the whole Codebase 😅
  • Add Webhooks for triggering Emails when Generations are completed
  • Add Supabase magic login
  • Implement Local Image saving

🧑🏻‍💻 Team

🔗 My Social Links

About

Closet Ai | Revamp your style effortlessly | Designed with ❤️ for Supabase Open Source Hackathon 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published