whatisgithub

What is weloom?

clearyss/weloom — explained in plain English

Analysis updated 2026-05-18

16PythonAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A local-first tool that turns exported chat history into a searchable memory system and an AI companion that talks in that person's style.

Mindmap

mindmap
  root((repo))
    What it does
      Local chat memory system
      AI companion clone
      Five stage pipeline
    Tech stack
      Python
      SQLite FTS5
      OpenAI compatible API
    Use cases
      Search past chats
      Generate relationship reports
      Chat with AI clone
    Audience
      Developers
      Personal data hobbyists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Import your WeChat or QQ chat exports to build a searchable local archive of past conversations.

USE CASE 2

Generate long-form reports summarizing communication patterns in a relationship.

USE CASE 3

Chat with an AI companion that responds in the style of a specific person from your exports.

What is it built with?

PythonSQLiteFTS5

How does it compare?

clearyss/weloomadya84/ha-world-cup-2026afk-surf/safeclipper
Stars161616
LanguagePythonPythonPython
Setup difficultymoderateeasymoderate
Complexity3/52/53/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs Python 3.10 and an OpenAI-compatible API key for chat and report features.

So what is it?

WeLoom is a Python tool that turns your personal chat history into a local-first memory system and AI companion. You export conversations from messaging platforms, feed them into WeLoom, and can then chat with an AI that responds in the style of the person whose messages were in those exports, a digital clone built from real conversation data. The pipeline runs in five stages: import (load chat JSON files into a local SQLite database), index (build a full-text search index using SQLite's FTS5 engine), distill (extract reply samples and build a personality profile), analyze (generate long-form reports summarizing the relationship and communication patterns), and chat (run a conversation session where the AI uses the indexed memories and personality profile to reply authentically). All data, the database, profile, reports, and cache, is stored locally in a storage folder. The AI model calls out to an OpenAI-compatible API only when you explicitly run commands that need it. Search is done with SQLite FTS5 (a built-in full-text search engine), with fallbacks to keyword matching and LIKE queries if FTS5 is not available. The system retrieves relevant past messages as evidence before generating each reply, and you can pass a flag to see the retrieval trace for any response. It currently supports chat exports in WeChat (via WeFlow) and QQ (via QQChatExporter V5) JSON formats. The only hard dependencies are Python 3.10 and SQLite, both standard. An AI API key is required only for report generation and chat. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Walk me through exporting my WeChat chats and importing them into WeLoom.
Prompt 2
Explain what happens at each of the five pipeline stages: import, index, distill, analyze, chat.
Prompt 3
Show me how to connect WeLoom to an OpenAI-compatible API for chat and report generation.
Prompt 4
Help me set up SQLite FTS5 search over my imported chat history.

Frequently asked questions

What is weloom?

A local-first tool that turns exported chat history into a searchable memory system and an AI companion that talks in that person's style.

What language is weloom written in?

Mainly Python. The stack also includes Python, SQLite, FTS5.

How hard is weloom to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is weloom for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.