Skip to content

TGlide/thom-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

thom.chat

thom.chat

Open-source self-hostable T3 Chat.

SvelteKit TypeScript Tailwind Convex

License Stars Forks Issues


โœจ About

thom.chat is an open-source alternative/clone to T3 Chat, built for Theo's cloneathon.

It is self-hostable, by self-hosting your own app and https://www.convex.dev/ instance.

While thom.chat is a clone, the featureset is not identical to T3 Chat.

๐ŸŽฏ Key Features

๐Ÿค– AI & Models

  • 400+ AI Models via OpenRouter integration
  • Free Tier with 10 messages using premium models
  • Unlimited Free Models (models ending in :free)
  • Bring Your Own Key for unlimited access

๐Ÿ’ฌ Chat Experience

  • Real-time streaming responses
  • Streaming on the server for interruption-free chats, even when reloading
  • Chat branching for exploring different conversation paths
  • Full-text search across your entire chat history
  • Privacy mode for secure screen sharing

๐Ÿ“ Rich Content

  • File uploads with image support
  • Web search integration for real-time information
  • Markdown rendering with syntax highlighting
  • Chat sharing with public links

โšก Productivity

  • Cursor-like rules for consistent AI behavior
  • Keyboard shortcuts for power users
  • Enhance prompt button for better prompts
  • Message regeneration capabilities

๐Ÿ› ๏ธ Tech Stack

Frontend

  • ๐Ÿ”ฅ SvelteKit
  • ๐Ÿ“ TypeScript
  • ๐ŸŽจ Tailwind CSS
  • ๐Ÿจ Melt UI Components

Backend

  • ๐Ÿ”ง Convex Database
  • ๐Ÿ” BetterAuth
  • ๐Ÿค– OpenRouter API
  • ๐Ÿฆพ Blood, sweat, and tears

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • pnpm (recommended)
  • OpenRouter API key (optional for free tier)

Installation

  1. Clone the repository

    git clone https://github.com/tglide/thom-chat.git
    cd thom-chat
  2. Install dependencies

    pnpm install
  3. Environment setup

    cp .env.example .env
    # Edit .env with your configuration
  4. Start development server

    pnpm dev
  5. Open your browser

    http://localhost:5173
    

๐ŸŽฎ Usage

Free Tier

  • Sign up and get 10 free messages with premium models
  • Use unlimited free models (ending in :free)
  • No credit card required

Premium Features

  • Add your own OpenRouter API key for unlimited access
  • Access to all 400+ models

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ™ Acknowledgments


About

Open-source T3 chat alternative

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published