{"repo":"liut/morign","free":true,"listed":false,"github":"https://github.com/liut/morign","clone":"git clone https://github.com/liut/morign.git","description":"AI chat backend with knowledge base Q&A, MCP tools, and OAuth authentication.","language":"Go","stars":42,"topics":["openai","chatgpt","chatgpt-api","golang","restful-api","knowledge-base","rag","sse"],"license":"MIT","category":"ai-agents","readme_excerpt":"Morign AI chat backend with knowledge base Q&A, MCP tools, and OAuth authentication. Features - Import documents of knowledge base from a table (CSV), save them into PostgreSQL - Based on the title and content of the document, generate vector of documents with Embedding API - Generate document vectors using Embedding API - Implement high-quality Q&A using vector search - Welcome message and preset messages - Chat History for Conversation (based on redis) - RESTful API - Support text/event-stream - Login with OAuth2 client for general Security Provider - Built-in MCP (Model Context Protocol) tool support - Multi-channel adapter support (WeCom WebSocket/Webhook, Feishu WebSocket/Webhook) - Preset config ${VAR} env var expansion for secrets Supported Frontend chatgpt-svelte based on Svelte ⤸ https://github.com/liut/chatgpt-svelte Calisyn based on Vue.js ⤸ https://github.com/liut/calisyn APIs Get session information GET /api/session Parameters None Description Returns current login status and user info. If not logged in and auth is true, redirect to the URI in data.uri for OAuth login. Responses http code content-type response --------------- ----------------------------------- --------------------------------------------------------------------- 200 application/json {\"status\":\"Success\",\"data\":{\"auth\":false,\"user\":{...}}} (logged in) 200 application/json {\"status\":\"Success\",\"data\":{\"auth\":true,\"uri\":\"/api/auth/login\"}} (not logged in) Get user information of that has been verifie","default_branch":null,"files":null,"tree":[],"storefront":"/r/liut","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/liut/morign/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."}