Skip to content

Description ๐Ÿง ๐Ÿ’ป x00chat โ€” Open-source AI chat & automation platform with background agents, 40+ AI models, and deep app integrations. Self-hostable, privacy-first, and built for serious productivity.

License

Notifications You must be signed in to change notification settings

xwedx00/x00chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

647 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

x00chat ๐Ÿง ๐Ÿ’ป

Visit x00chat

Welcome to x00chat - Where AI meets productivity, and your digital life finally gets the upgrade it deserves! ๐Ÿš€ Think of it as your personal AI butler, but instead of bringing you tea, it automates your entire workflow while you binge-watch Netflix. โ˜•

x00chat โ€” Open-source AI chat app (x00chat.ai)

๐ŸŽฏ Why Your Life Needs x00chat (Trust Me, It Does)

  • ๐Ÿ”ฎ The Open-Source Crystal Ball - All the magic of premium AI tools, but open-source so you can peek behind the curtain (and fix our bugs) ๐Ÿ›
  • ๐Ÿค– Your Digital Sidekick - Like having JARVIS, but less British and more likely to help you organize your Gmail instead of saving the world ๐Ÿฆพ
  • ๐Ÿ•ธ๏ธ Web of Integrations - Connect everything from Gmail to GitHub - basically Spider-Man's web, but for productivity nerds ๐Ÿ•ท๏ธ
  • โฐ Background Agent Army - Deploy AI minions that work while you sleep. Finally, automation that doesn't require a CS degree! ๐Ÿ‘พ
  • ๐Ÿง  AI Model Buffet - 40+ models to choose from. It's like Pokรฉmon, but for language models (gotta catch 'em all!) ๐ŸŽฎ
  • ๐ŸŽจ Personality Plus - Customize your AI's personality because vanilla is for ice cream, not assistants ๐Ÿฆ
  • ๐Ÿ” Fort Knox Security - Open source + self-hostable = your data stays where you want it (hint: not in some random server farm) ๐Ÿฐ

โšก Features That'll Make You Go "Holy Recursion!"

๐Ÿค– Background Agents (AKA Your Digital Clone Army)

  • Smart Worker Bees ๐Ÿ - Set up agents to buzz around and get stuff done on schedules
  • Email Updates ๐Ÿ“ง - Get notified when your digital workforce completes missions
  • Cron Jobs, But Fun โฒ๏ธ - Daily, weekly, or "whenever Mercury isn't in retrograde" scheduling
  • Mission Control ๐ŸŽฎ - Track your agents like you're running NASA (minus the rocket science)
  • Pause & Resume โธ๏ธ - Because sometimes even robots need a coffee break

๐Ÿ”— Integration Station (Connect All The Things!)

  • Gmail Mastery ๐Ÿ“ฎ - Read, write, and organize emails like a digital Marie Kondo
  • Google Calendar ๐Ÿ“… - Schedule meetings without the existential dread of double-booking
  • Google Drive & Docs ๐Ÿ“„ - Access files faster than you can say "Where did I save that?"
  • Notion Ninja ๐Ÿ““ - Your second brain, now with AI-powered telepathy
  • GitHub Guru ๐Ÿ‘จโ€๐Ÿ’ป - Manage repos without leaving your chat (because context switching is the enemy)
  • Slack Whisperer ๐Ÿ’ฌ - Send messages that actually get responses
  • Linear Logic ๐Ÿ“Š - Project management that doesn't make you want to flip tables
  • Twitter/X Commander ๐Ÿฆ - Tweet into the void, but strategically
  • And 10+ More! ๐ŸŽช - We're basically the Swiss Army knife of integrations

๐Ÿš€ AI Model Marketplace (Choose Your Fighter)

  • 40+ AI Models ๐ŸŽญ - More variety than a Netflix catalog, and actually useful
  • Multi-Modal Magic ๐ŸŽจ - Text, images, and enough reasoning to make philosophers jealous
  • Image Generation ๐Ÿ–ผ๏ธ - Create art that would make DALL-E weep tears of joy
  • Reasoning Models ๐Ÿค” - Watch AI think harder than you did in calculus class
  • Model Hot-Swapping ๐Ÿ”„ - Switch between AIs like changing TV channels (but educational)
  • Web Search Powers ๐Ÿ” - Real-time internet knowledge without the rabbit holes

๐Ÿ’ฌ Chat Management (Because Chaos โ‰  Productivity)

  • Smart Organization ๐Ÿ—‚๏ธ - Auto-sorting that would make a librarian proud
  • Pin The Important Stuff ๐Ÿ“Œ - Like bookmarks, but for conversations that actually matter
  • Chat Branching ๐ŸŒณ - Explore alternative timelines in your conversations (multiverse theory, anyone?)
  • Search That Actually Works ๐Ÿ”Ž - Find that one conversation from three months ago in milliseconds
  • Bulk Operations โšก - Manage multiple chats like a database admin with superpowers
  • Data Freedom ๐Ÿ“ค - Export/import everything because vendor lock-in is so 2020

๐ŸŽจ Interface That Doesn't Hurt Your Eyes

  • Responsive Magic ๐Ÿ“ฑ - Works on everything from your phone to that ultrawide monitor you definitely need
  • Sidebar Sorcery ๐ŸŽญ - Collapsible, searchable, and more organized than your sock drawer
  • Theme Therapy ๐ŸŒ™ - Dark mode for vampires, light mode for the brave
  • Keyboard Ninja Moves โŒจ๏ธ - Shortcuts that'll make you feel like a terminal wizard
  • Real-Time Everything โšก - Streaming responses faster than your Twitter doom-scrolling
  • Mobile-First Design ๐Ÿ“ฒ - Because productivity shouldn't stop at your desk

โš™๏ธ Customization Station

  • AI Personality Designer ๐ŸŽญ - Make your assistant as quirky or professional as you want
  • Settings Galore โš™๏ธ - More configuration options than a Linux distro
  • Usage Tracking ๐Ÿ“Š - Know exactly how much you're chatting (spoiler: it's a lot)
  • API Key Fort Knox ๐Ÿ” - Your keys stay encrypted and safe from prying eyes
  • Prompt Inspiration ๐Ÿ’ก - When writer's block hits your conversations

๐Ÿ’Ž Premium Perks (For The Power Users)

  • Payment Processing ๐Ÿ’ณ - Polar integration smoother than a fresh git merge
  • Premium Model Access ๐ŸŽซ - The VIP lounge of AI models

๐Ÿค– The AI Model Buffet (40+ Flavors of Intelligence)

๐Ÿ—ฃ๏ธ Chat & Text Models (The Conversationalists)

  • OpenAI Squad: GPT-5, GPT-4o, o3 Pro (the overachievers) ๐Ÿง 
  • Anthropic Crew: Claude 4 Opus, Claude 3.5 Sonnet (the philosophers) ๐ŸŽญ
  • Google Gang: Gemini 2.5 Pro, Gemini Flash (the search experts) ๐Ÿ”
  • Meta Squad: Llama 4 variants (the social butterflies) ๐Ÿฆ™
  • Mistral Team: Pixtral Large (the French connection) ๐Ÿฅ
  • DeepSeek Division: V3.1 with reasoning (the deep thinkers) ๐Ÿค”
  • xAI Collective: Grok models (the witty ones) ๐Ÿ˜
  • Plus More: Moonshot, zAI, Qwen (the international crew) ๐ŸŒ

๐ŸŽจ Image Generation (The Artists)

  • OpenAI: GPT Image 1 (the precision painter) ๐ŸŽจ
  • Google: Imagen 4 Ultra (the detail master) ๐Ÿ–ผ๏ธ
  • Fal: Flux Schnell (the speed demon) โšก

๐Ÿ› ๏ธ Tech Stack (AKA Our Digital Lego Set)

Built with the finest tools that money can't buy (because they're open source):

  • Next.js - React, but with superpowers ๐Ÿฆธโ€โ™‚๏ธ
  • prompt-kit - AI components prettier than CSS Grid ๐Ÿ’„
  • shadcn/ui - Components so good, they're basically cheating ๐ŸŽฏ
  • motion-primitives - Animations smoother than jazz ๐ŸŽต
  • Vercel AI SDK - The AI Swiss Army knife ๐Ÿ”ง
  • Convex - Real-time backend magic โœจ
  • Cloudflare R2 - File storage that doesn't break the bank ๐Ÿ’ฐ
  • Polar - Payments without the payment nightmares ๐Ÿ’ณ
  • Phosphor Icons - Icons so beautiful, they deserve their own museum ๐Ÿ–ผ๏ธ
  • Tailwind CSS - CSS that doesn't make you cry ๐Ÿ˜ญ

๐Ÿ—บ๏ธ Roadmap to Digital Domination

  • Project Workspaces ๐Ÿ“ - Organize like a boss, not like your desktop
  • MCP Integration ๐Ÿ”Œ - Model Context Protocol (because protocols are cool)
  • More Agent Powers ๐Ÿค– - Background agents that might achieve sentience (kidding... maybe)

๐ŸŽ‰ Recent Updates (The Greatest Hits)

  • Image Generation ๐ŸŽจ - Now with 200% more pixels and 50% more "wow"
  • Advanced Search ๐Ÿ” - Find things faster than Google (don't tell them we said that)
  • Payment Magic ๐Ÿ’ฐ - Polar integration that actually works on first try
  • Settings Overhaul โš™๏ธ - More options than a gaming PC configurator
  • Chat Branching ๐ŸŒฟ - Multiverse conversations are finally here
  • Reasoning Visuals ๐Ÿง  - Watch AI think in real-time (it's oddly mesmerizing)
  • Mobile Perfection ๐Ÿ“ฑ - Mobile experience smoother than butter on toast

๐Ÿš€ Getting Started (Your Journey to AI Enlightenment)

Prerequisites (The Bare Essentials)

  • Node.js 18+ or Bun (because we're fancy like that) ๐Ÿฅ–
  • Git (hopefully you know what this is) ๐Ÿ“
  • Convex account (free tier = best tier) ๐Ÿ†“
  • API keys (the keys to the AI kingdom) ๐Ÿ”‘

Step 1: Clone & Install (The Digital DNA Transfer)

# Grab the code (it's open source, so it's yours now!)
git clone https://github.com/xwedx00/x00chat.git
cd X00Chat

# Install dependencies with Bun (because it's blazingly fastโ„ข)
bun install

Step 2: Convex Backend Setup (Building Your Digital Fortress)

x00chat runs on Convex - think Firebase, but for people who actually read the docs.

# Login to Convex (first time? It'll create an account!)
bunx convex login

# Initialize your digital empire
bunx convex dev --once

This magical incantation will:

  • Spawn a new Convex project in your dashboard ๐Ÿ“Š
  • Generate schema files (the blueprint of your data) ๐Ÿ“‹
  • Create .env.local with deployment URLs (guard this with your life) ๐Ÿ”

Step 3: Environment Variables (The Secret Sauce)

โš ๏ธ WARNING: Don't nuke your .env.local file! Convex already populated it with the good stuff.

# Check what you need (it's like a shopping list, but for APIs)
cat .env.example

# Manually add these to your existing .env.local:
# - AI API keys (OpenAI, Google, Anthropic, etc.)
# - Analytics keys (PostHog, Umami)
# - Search provider keys (Exa)
# - Other configuration magic โœจ

Step 4: Convex Configuration (The Ritual of Setup)

A. Authentication (Because Security Matters)

# Initialize the auth system
bunx @convex-dev/auth

# Set up Google OAuth (follow the guide, it's actually good!)
bunx convex env set AUTH_GOOGLE_ID your-super-secret-google-id
bunx convex env set AUTH_GOOGLE_SECRET your-even-more-secret-google-secret

# Generate encryption keys (this is where the magic happens)
bunx convex env set API_KEY_SECRET $(openssl rand -hex 64)

# Set your local development URL
bunx convex env set SITE_URL http://localhost:3000

B. Cloudflare R2 Storage (File Upload Central)

Because storing files shouldn't require a PhD in cloud architecture:

  1. Create Your Storage Empire:

    • Sign up for Cloudflare
    • Navigate to R2 (it's like S3, but cooler)
    • Create a bucket with a name that sparks joy
    • Make it public (trust me on this one)
    • Configure CORS (copy-paste from the docs)
  2. Get Your Secret Keys:

    bunx convex env set R2_BUCKET your-awesome-bucket-name
    bunx convex env set R2_TOKEN your-r2-api-token
    bunx convex env set R2_ACCESS_KEY_ID your-access-key
    bunx convex env set R2_SECRET_ACCESS_KEY your-secret-sauce
    bunx convex env set R2_ENDPOINT https://your-account.r2.cloudflarestorage.com
    bunx convex env set R2_PUBLIC_URL_BASE https://your-bucket.your-domain.com/

C. Polar Payments (Optional, But Nice)

# For when you want to monetize your genius
bunx convex env set POLAR_ORGANIZATION_TOKEN your-polar-token
bunx convex env set POLAR_PREMIUM_PRODUCT_ID your-product-id
bunx convex env set POLAR_WEBHOOK_SECRET your-webhook-secret

Step 5: Deploy the Backend (Launch Sequence Initiated)

# Deploy to the cloud! ๐Ÿš€
bunx convex deploy

# Or for development with hot-reload magic
bunx convex dev

Step 6: Fire Up the Dev Server

# Start your engines!
bun dev

Navigate to http://localhost:3000 and witness your creation! ๐ŸŽ‰

Step 7: Production Deployment (Going Live!)

# Deploy Convex to production
bunx convex deploy --prod

# Deploy frontend (Vercel is your friend)
bun add -g vercel
vercel --prod

Don't forget to update your production environment variables!

๐Ÿ› Troubleshooting (When Things Go South)

Convex Acting Up?

  • Double-check you're logged in: bunx convex login
  • Verify your deployment URLs in .env.local
  • Try turning it off and on again: bunx convex dev

Authentication Blues?

  • Check OAuth credentials in Convex dashboard
  • Make sure SITE_URL matches your current URL
  • Sometimes OAuth just needs a hug (restart everything)

API Keys Misbehaving?

  • Verify keys are correctly set and have proper permissions
  • Check if you've hit rate limits (it happens to the best of us)

File Upload Fails?

  • Ensure R2 bucket is public and CORS is configured
  • Check that R2_PUBLIC_URL_BASE ends with a trailing slash
  • Verify all R2 environment variables are set in Convex

๐Ÿค Contributing (Join the Resistance!)

We welcome contributions like a server welcomes uptime! Fork it, fix it, feature it, and send us a PR.

Development Philosophy

  • Write code like someone will have to debug it at 3 AM (because they will)
  • Test on mobile (your users aren't all on 4K monitors)
  • Document like your memory will be wiped tomorrow
  • Keep it accessible (not everyone can see your beautiful color choices)

Areas Where We Need Heroes

  • Stream resuming with Redis (because persistence is key)
  • Performance optimizations (faster is always better)
  • More AI model integrations (gotta catch 'em all)
  • Bug hunting (they're everywhere!)

โš ๏ธ Important Notes (The Fine Print)

Current Status: Beta Release - Like early access, but for productivity tools ๐ŸŽฎ

Compatibility: This version is a significant evolution from earlier releases. Think of it as x00chat 2.0, but we're too humble to call it that.

Performance: Built for scale and optimized for humans who actually want to get stuff done ๐Ÿ“ˆ

Privacy: Your data, your rules. We just provide the tools ๐Ÿ›ก๏ธ


This code started as work by Julien Thibeaut (Apache License 2.0) but has been heavily modified, improved, and enhanced by xwedx00 throughout 2025. It's like Ship of Theseus, but for code. ๐Ÿšข

P.S. If you made it this far, you deserve a cookie ๐Ÿช (and probably a raise for reading documentation this thoroughly).

About

Description ๐Ÿง ๐Ÿ’ป x00chat โ€” Open-source AI chat & automation platform with background agents, 40+ AI models, and deep app integrations. Self-hostable, privacy-first, and built for serious productivity.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Languages