Skip to content

A modern chat interface for Anthropic's Claude AI models built with Nuxt.js. Experience seamless conversations with Claude in a clean user interface.

License

Notifications You must be signed in to change notification settings

chihebnabil/claude-ui

Repository files navigation

Claude UI

A modern chat interface for Anthropic's Claude AI models built with Nuxt.js. Experience seamless conversations with Claude in a clean user interface.

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • Anthropic API key

Claude UI Screenshot

🌟 Features

  • 💾 Conversation history management
  • 🎭 Multiple Claude model support
  • 📝 Markdown and code syntax highlighting
  • 🌙 Dark/Light mode toggle
  • 🤖 Personlize behavior using system prompts for each chat
  • 🎯 Limit output tokens for each chat
  • 🔄 Custome temperature (Randomness) for each chat
  • 📎💾 Prompt Caching for attachments
  • 📝🔍 Text extraction and parsing

Tech Stack

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Parsing PDFs

Ensure poppler-utils is part of your environment by installing it:

sudo apt update
sudo apt install poppler-utils

ENV

Create a .env file in the root directory and add your ANTHROPIC_KEY API key.

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

Database

The application uses a SQLite database to store thread and message data.

Database Management

This project uses Drizzle ORM for database management. Available commands:

# Generate database schema
npm run db:generate

# Migrate database schema
npm run db:migrate

Todo

  • Add streaming support for long-running chats
  • Add server-side validation for form inputs
  • Add user authentication

About

A modern chat interface for Anthropic's Claude AI models built with Nuxt.js. Experience seamless conversations with Claude in a clean user interface.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published