Open Artifacts is a free, open-source project that clones the functionality of Claude.ai while supporting the generation of Artifacts using the user's Claude API key.
The Artifact viewer is implemented using Open Artifacts Renderer.
- Claude.ai-like interface and functionality
- Support for Artifact generation
- Utilizes user's Claude API key for interactions
- Next.js - React framework
- Supabase - Database and Auth System
- Claude API - LLM API
- shadcn/ui - Component Library
- Vercel AI SDK - Toolkit for building AI-powered applications
-
Clone the repository:
git clone https://github.com/13point5/open-artifacts.git
-
Navigate to the project directory:
cd open-artifacts
-
Install the Supabase CLI
-
Create a Supabase project
-
Initialize Supabase locally
supabase init
-
Link your local project to your remote Supabase project
supabase link --project-ref <your-project-ref>
-
Apply Migrations
supabase db push
-
Copy env variables from your Supabase project
NEXT_PUBLIC_SUPABASE_URL= NEXT_PUBLIC_SUPABASE_ANON_KEY=
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Setup Open Artifacts Renderer and set the
NEXT_PUBLIC_ARTIFACT_RENDERER_URL
env variable to the URL of the renderer.NEXT_PUBLIC_ARTIFACT_RENDERER_URL=
-
Open http://localhost:3000 in your browser to see the application.
This project is licensed under the MIT License.