{"id":21666132,"url":"https://github.com/lumgashi/termina-ai","last_synced_at":"2026-04-15T18:02:21.644Z","repository":{"id":261455004,"uuid":"883677830","full_name":"lumgashi/termina-ai","owner":"lumgashi","description":"Termina AI: Your Personal Contract Simplifier – Transform dense legal language into clear, actionable insights. Upload contracts, highlight key points, uncover risks, and understand your obligations in minutes, not hours.","archived":false,"fork":false,"pushed_at":"2025-04-14T17:55:28.000Z","size":349,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T18:48:53.640Z","etag":null,"topics":["ai","assistant-personnel","jwt","jwt-authentication","mongodb","nestjs","oauth","openai","openai-api","prisma-orm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/lumgashi.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}},"created_at":"2024-11-05T11:41:10.000Z","updated_at":"2025-04-14T17:55:32.000Z","dependencies_parsed_at":"2024-11-06T17:19:59.472Z","dependency_job_id":"c09f98e2-81f4-403f-b4d8-8a515e0679b0","html_url":"https://github.com/lumgashi/termina-ai","commit_stats":null,"previous_names":["lumgashi/termina-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lumgashi/termina-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumgashi%2Ftermina-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumgashi%2Ftermina-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumgashi%2Ftermina-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumgashi%2Ftermina-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lumgashi","download_url":"https://codeload.github.com/lumgashi/termina-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumgashi%2Ftermina-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31853279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-personnel","jwt","jwt-authentication","mongodb","nestjs","oauth","openai","openai-api","prisma-orm"],"created_at":"2024-11-25T11:19:44.406Z","updated_at":"2026-04-15T18:02:21.618Z","avatar_url":"https://github.com/lumgashi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eTermina AI: Your Personal Contract Simplifier\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003cb\u003eStreamline the complexity of contracts with AI-powered insights.\u003c/b\u003e\u003cbr\u003e\n    \u003ci\u003eUpload contracts, uncover key points, assess risks, and get clear answers to your questions.\u003c/i\u003e\n\u003c/p\u003e\n\n---\n\n\u003ch2\u003eAbout Termina AI\u003c/h2\u003e\n\u003cp\u003eTermina AI is an advanced contract simplification tool, built with \u003cb\u003eNestJS, Prisma, MongoDB, OpenAI\u003c/b\u003e, and OpenAI's \u003cb\u003eAssistant API\u003c/b\u003e. Termina AI transforms dense legal documents into easy-to-understand summaries, helping freelancers, small businesses, and individuals make informed decisions without needing extensive legal expertise.\u003c/p\u003e\n\n\u003ch2\u003eKey Features\u003c/h2\u003e\n\u003cul\u003e\n    \u003cli\u003e\u003cb\u003eDocument Summarization:\u003c/b\u003e Upload contracts and receive clear, concise summaries that capture the essentials.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eKey Points \u0026 Obligations:\u003c/b\u003e Highlights obligations, deadlines, and responsibilities for each party in the contract.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eRisk Analysis:\u003c/b\u003e Identifies potential risks or restrictive clauses to assist in contract evaluation and negotiation.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eInteractive Q\u0026A:\u003c/b\u003e Ask specific questions about the document and get responses within the context of your contract.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eSecure Authentication:\u003c/b\u003e User data is protected with \u003cb\u003eJWT-based Authentication\u003c/b\u003e and \u003cb\u003eGoogle OAuth\u003c/b\u003e for secure access.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eHow It Works\u003c/h2\u003e\n\u003col\u003e\n    \u003cli\u003e\u003cb\u003eUpload a Document:\u003c/b\u003e Users start by uploading a contract file (PDF or DOCX format).\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eThread Creation:\u003c/b\u003e For each document, a dedicated thread is created with additional instructions specific to the document's context.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eFile Attachment:\u003c/b\u003e The file is attached to the thread, enabling the assistant to access and analyze it.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eRun the Assistant:\u003c/b\u003e A run is created, and the assistant is activated to generate a response, analyzing the document and extracting key insights.\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eAsk Follow-Up Questions:\u003c/b\u003e Users can ask specific questions related to the contract, receiving tailored responses in a chat-like interface.\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003ch2\u003eTech Stack\u003c/h2\u003e\n\u003cul\u003e\n    \u003cli\u003e\u003cb\u003eBackend:\u003c/b\u003e NestJS for server-side processing\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eDatabase:\u003c/b\u003e MongoDB with Prisma for seamless data handling\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eAI Integration:\u003c/b\u003e OpenAI's Assistant API for powerful language processing\u003c/li\u003e\n    \u003cli\u003e\u003cb\u003eAuthentication:\u003c/b\u003e JWT and Google OAuth for secure user authentication and authorization\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eGetting Started\u003c/h2\u003e\n\u003cp\u003eTo get started with Termina AI, follow these steps:\u003c/p\u003e\n\u003col\u003e\n    \u003cli\u003eClone the repository: \u003ccode\u003egit clone https://github.com/your-username/termina-ai.git\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003eInstall dependencies: \u003ccode\u003enpm install\u003c/code\u003e\u003c/li\u003e\n    \u003cli\u003eSet up environment variables:\n        \u003cul\u003e\n            \u003cli\u003e\u003ccode\u003eOPENAI_API_KEY\u003c/code\u003e: Your OpenAI API key\u003c/li\u003e\n            \u003cli\u003e\u003ccode\u003eMONGODB_URI\u003c/code\u003e: Your MongoDB connection string\u003c/li\u003e\n            \u003cli\u003e\u003ccode\u003eJWT_SECRET\u003c/code\u003e: Secret key for JWT authentication\u003c/li\u003e\n            \u003cli\u003e\u003ccode\u003eGOOGLE_CLIENT_ID\u003c/code\u003e and \u003ccode\u003eGOOGLE_CLIENT_SECRET\u003c/code\u003e: For Google OAuth\u003c/li\u003e\n        \u003c/ul\u003e\n    \u003c/li\u003e\n    \u003cli\u003eRun the application: \u003ccode\u003enpm run start\u003c/code\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003ch2\u003eUsage\u003c/h2\u003e\n\u003cp\u003eAfter setting up, users can:\u003c/p\u003e\n\u003cul\u003e\n    \u003cli\u003eSign up and log in using email/password or Google OAuth\u003c/li\u003e\n    \u003cli\u003eUpload contract documents for analysis\u003c/li\u003e\n    \u003cli\u003eView summaries, key points, and risk analysis generated by the assistant\u003c/li\u003e\n    \u003cli\u003eEngage in interactive Q\u0026A with the assistant for further clarification on contract terms\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch2\u003eContributing\u003c/h2\u003e\n\u003cp\u003eWe welcome contributions! Please fork the repository and submit a pull request with your updates. For major changes, open an issue first to discuss what you would like to change.\u003c/p\u003e\n\n\u003ch2\u003eLicense\u003c/h2\u003e\n\u003cp\u003eThis project is licensed under the MIT License. See the \u003ccode\u003eLICENSE\u003c/code\u003e file for details.\u003c/p\u003e\n\n---\n\n\u003cp align=\"center\"\u003eMade with ❤️ by the Lum Gashi\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumgashi%2Ftermina-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flumgashi%2Ftermina-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumgashi%2Ftermina-ai/lists"}