{"id":32624136,"url":"https://github.com/faraz-awan/contextmate","last_synced_at":"2026-04-12T17:35:09.675Z","repository":{"id":320674037,"uuid":"1081621346","full_name":"Faraz-Awan/ContextMate","owner":"Faraz-Awan","description":"Your personal AI knowledge assistant: chat with your notes, manuals, or stories.","archived":false,"fork":false,"pushed_at":"2025-10-30T01:09:11.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T03:12:42.626Z","etag":null,"topics":["ai-assistant","docker","fastapi","google-cloud-run","llm","openai","pinecone","python","rag","retrieval-augmented-generation","semantic-search"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Faraz-Awan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-23T03:36:42.000Z","updated_at":"2025-10-30T01:06:12.000Z","dependencies_parsed_at":"2025-10-30T03:14:21.729Z","dependency_job_id":null,"html_url":"https://github.com/Faraz-Awan/ContextMate","commit_stats":null,"previous_names":["faraz-awan/rag","faraz-awan/contextmate"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Faraz-Awan/ContextMate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faraz-Awan%2FContextMate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faraz-Awan%2FContextMate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faraz-Awan%2FContextMate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faraz-Awan%2FContextMate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Faraz-Awan","download_url":"https://codeload.github.com/Faraz-Awan/ContextMate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Faraz-Awan%2FContextMate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281873493,"owners_count":26576262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-assistant","docker","fastapi","google-cloud-run","llm","openai","pinecone","python","rag","retrieval-augmented-generation","semantic-search"],"created_at":"2025-10-30T19:59:28.044Z","updated_at":"2026-04-12T17:35:09.602Z","avatar_url":"https://github.com/Faraz-Awan.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ContextMate\n\n\u003e Your personal AI knowledge assistant: chat with your notes, manuals, or stories.\n\n[![Built with FastAPI](https://img.shields.io/badge/FastAPI-005571?logo=fastapi\u0026logoColor=white)]()\n[![Pinecone](https://img.shields.io/badge/Pinecone-00BFA5?logo=pinecone\u0026logoColor=white)]()\n[![OpenAI](https://img.shields.io/badge/-OpenAI%20API-eee?style=flat-square\u0026logo=openai\u0026logoColor=412991)]()\n[![Deployed on Cloud Run](https://img.shields.io/badge/Google%20Cloud%20Run-4285F4?logo=googlecloud\u0026logoColor=white)]()\n\n**ContextMate** is a full-stack retrieval-augmented generation (RAG) web app built with **FastAPI**, **Pinecone**, and **GPT-4o**, deployed on **Google Cloud Run**.\nIt creates per-user semantic namespaces so you can upload any text (study notes, technical manuals, or fiction) and ask natural-language questions with streaming answers.\n\n\n\n\n## Key Features  \n- **Multi-Tenant Namespaces**: Each user/team gets their own isolated namespace for knowledge storage.  \n- **Streaming API Responses**: Receive streaming responses for long-running or large search results.  \n- **Namespace Creation Endpoint**: Dynamically create new namespaces via the API.  \n- **Dockerized \u0026 Cloud Ready**: Fully containerized with Docker, ready to deploy to Google Cloud Run.  \n\n## Tech Stack  \n- Python 3.x  \n- FastAPI\n- Pinecone\n- GPT-4o\n- LangChain\n- Docker\n- Google Cloud Run\n\n## Future Work\n- Switch from OpenAI Completions API to Responses API\n- Observability with Grafana Cloud\n- Hybrid Search (Semantic + Lexical Search)\n- \"Delete my Namespace\" button\n- Content Moderation System\n- Terms of Service\n- Authentication \u0026 Rate Limiting\n- UI/UX Polish\n\n## Getting Started (Local)\n\nTo run **ContextMate** locally using Docker:\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/Faraz-Awan/ContextMate.git\ncd ContextMate\n\n# 2. Build the Docker image\ndocker build -t contextmate-api .\n\n# 3. Run the container\ndocker run --rm -p 8000:8000 contextmate-api\n\n# 4. Open in your browser\n# → http://localhost:8000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaraz-awan%2Fcontextmate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaraz-awan%2Fcontextmate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaraz-awan%2Fcontextmate/lists"}