{"repo":"2aluoy99-cpu/xiaoke","free":true,"listed":false,"github":"https://github.com/2aluoy99-cpu/xiaoke","clone":"git clone https://github.com/2aluoy99-cpu/xiaoke.git","description":"A self-hosted shared-con​text gateway for cross-w​indow and cross-client c​ontinuity.","language":"Python","stars":15,"topics":[],"license":null,"category":"self-hosted-apps","readme_excerpt":"xiaoke A self-hosted, OpenAI-compatible shared-context gateway. xiaoke sits between one or more chat clients and an upstream model. It keeps a durable local conversation Timeline, then supplies an appropriate recent slice when a client opens a new window or otherwise lacks the shared context. What it is — and is not xiaoke is shared infrastructure, not a persona or prompt manager. - Frontends keep their own system prompt, persona, memory mechanism, and interface. - xiaoke stores eligible completed text turns and manages cross-window context handoff. - It does not provide a model or an upstream API key. - Only requests that pass through this gateway can enter the shared Timeline. Existing history in another app is not imported automatically. Core behavior - OpenAI-compatible /v1/chat/completions gateway. - Local SQLite Timeline with monotonic ordering and durable storage. - Combined rolling shared context: the client history and xiaoke-injected Timeline records share one record limit, so the gateway fills only the gap instead of adding a second full history window. Old records can leave this window without being deleted from the database. - A handoff remains continuous after the first message: later turns in the same identified window rebuild the needed baseline rather than forgetting it on the second or third reply. - Successful user/assistant turns are committed together. Failed, disconnected, or incomplete streaming replies do not enter the Timeline. - Unknown OpenAI-compat","default_branch":null,"files":null,"tree":[],"storefront":"/r/2aluoy99-cpu","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/2aluoy99-cpu/xiaoke/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}