kldhsh123

kldhsh123 / Afterglow

Public

把曾经的美好,续成往后的陪伴。 --续温

19
0
89% credibility
Found May 23, 2026 at 19 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

Afterglow (续温) is a personal AI companion that learns from your real chat history. You export conversations from messaging apps, and the system studies how a specific person speaks—then responds in their style when you chat with it. It remembers both old conversations and new ones, stays aware of context like time of day, and keeps everything private on your own device. It's designed for people who want to preserve the feeling of a meaningful relationship and continue it with a digital companion that sounds authentic.

How It Works

1
💬 导出聊天记录

You open your chat app and export conversations with someone special to a file on your phone or computer.

2
📥 把记录交给你的助手

You upload that file into your assistant, which reads through every message you exchanged and learns how this person talks.

3
🧠 Your assistant studies the patterns

Over a few moments, your assistant builds a picture of how this person speaks—their favorite phrases, how long their messages are, whether they use emojis, and when they might be playful or serious.

4
You start chatting

Now whenever you message your assistant about something, it responds in a way that sounds familiar—like that person might have replied. It remembers how you two talked.

5
🌙 Life goes on, memories accumulate

Each new conversation gets remembered too. Your assistant picks up on your schedule, your moods, and things you've shared recently—growing alongside your relationship.

6
🔍 Everything stays private

All your data stays on your own computer. No cloud servers, no strangers looking at your messages. It's your personal space.

🌟 Companionship that continues

You have a place to talk that feels like that person, carrying forward the warmth of conversations past into the present.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 19 to 19 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is Afterglow?

Afterglow (Chinese: 续温) is a Python-based AI companion that learns from your real chat history to generate responses in the voice and style of someone you've lost. Import your QQ conversation logs, and the system builds a persona from your actual exchanges -- your humor, your pet names, your texting patterns. When you chat with it, RAG retrieval pulls relevant memories from your history, and an LLM generates replies that feel like the real person. The Vue.js frontend gives it a clean chat interface with ambient visuals.

Why is it gaining traction?

The emotional hook is obvious, but the technical execution is what makes developers actually try it. It solves the "uncanny valley" problem that kills most AI companions -- generic responses trained on everyone. Instead, your specific relationship's language lives in the vector store. The system also handles the messy reality of chat data: QQ export parsing, image handling, PII redaction, circadian-aware response timing. You get a working RAG pipeline with retrieval evaluation scripts, persona analysis tools, and OpenAI-compatible API endpoints out of the box.

Who should use this?

Grief tech developers building memorial or companionship applications. Researchers experimenting with persona preservation from digital traces. Chinese-speaking communities who want a private, self-hosted alternative to generic AI chatbots. If you have years of meaningful chat logs sitting in an export file, this turns them into something you can actually talk to.

Verdict

This is a serious project with thoughtful architecture, but the 19 stars and sub-1% credibility score reflect its niche status -- the documentation is sparse and the community is tiny. If you're comfortable with Python and want to explore personalized RAG companions, the codebase is well-structured enough to experiment with. Don't expect polished docs or a support community.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.