{"id":26678293,"url":"https://github.com/telexintegrations/legaldoc-ai-summarizer","last_synced_at":"2025-03-26T05:15:24.306Z","repository":{"id":278942202,"uuid":"937065400","full_name":"telexintegrations/LegalDoc-AI-Summarizer","owner":"telexintegrations","description":"A Telex Modifier Integration that summarizes text messages, uploaded files (PDF and DOCX), and provides legal assistance via `/legal` commands.","archived":false,"fork":false,"pushed_at":"2025-02-22T17:26:55.000Z","size":74,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-22T18:18:56.966Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://legal-doc-ai-summarizer.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/telexintegrations.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-02-22T08:47:32.000Z","updated_at":"2025-02-22T17:26:58.000Z","dependencies_parsed_at":"2025-02-22T18:19:01.157Z","dependency_job_id":"58cc3398-caa0-4735-9f0d-49de834b5aab","html_url":"https://github.com/telexintegrations/LegalDoc-AI-Summarizer","commit_stats":null,"previous_names":["telexintegrations/legaldoc-ai-summarizer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FLegalDoc-AI-Summarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FLegalDoc-AI-Summarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FLegalDoc-AI-Summarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/telexintegrations%2FLegalDoc-AI-Summarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/telexintegrations","download_url":"https://codeload.github.com/telexintegrations/LegalDoc-AI-Summarizer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245591533,"owners_count":20640692,"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","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":[],"created_at":"2025-03-26T05:15:23.871Z","updated_at":"2025-03-26T05:15:24.294Z","avatar_url":"https://github.com/telexintegrations.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿# LegalAidSummaryBot\n\nA Telex Modifier Integration that summarizes text messages, uploaded files (PDF and DOCX), and provides legal assistance via `/legal` commands.\n\n## Description\nThis integration enhances Telex channels by:\n- Summarizing text messages and files (`.pdf`, `.docx`) using Hugging Face’s `facebook/bart-large-cnn`.\n- Providing legal answers via `deepset/roberta-base-squad2`.\n\n## Prerequisites\n- Node.js (LTS)\n- Git\n- Hugging Face API Token\n\n## Setup\n1. Clone: `git clone https://github.com/telexintegrations/LegalDoc-AI-Summarizer.git`\n2. Install: `npm install`\n3. Configure `.env`: `HUGGING_FACE_TOKEN=your_token_here`\n4. Start: `npm start`\n\n## Testing Locally\n- Use Postman with `http://localhost:5577/webhook`.\n- Examples in README (from previous versions).\n\n## Deployment\n- **Vercel URL**: `https://legaldoc-ai-summarizer.onrender.com/webhookk`\n- **integration.json URL**: `https://raw.githubusercontent.com/telexintegrations/LegalDoc-AI-Summarizer/main/integration.json`\n- **Steps**:\n  1. Deployed with Render (Build Command: `npm install \u0026\u0026 npm run build`, Start Command: `node ./dist/index.js`).\n  2. Set `HUGGING_FACE_TOKEN` in Render Environment Variables.\n\n## Screenshots\n- **Text Summary**: ![Text Summary](screenshots/text-summary.png)\n- **PDF Summary**: ![PDF Summary](screenshots/pdf-summary.png)\n- **Chatbot Response**: ![Chatbot Response](screenshots/chatbot-response.png)\n\n[Paste your current README.md content, adding:]\\n\\n## Telex Testing\\n- Tested in Telex test organization with channel ID: [your-telex-channel-id].\\n- Webhook URL: https://ping.telex.im/v1/webhooks/0195387e-00d5-733c-b972-d824624c6dbd.\\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Flegaldoc-ai-summarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftelexintegrations%2Flegaldoc-ai-summarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftelexintegrations%2Flegaldoc-ai-summarizer/lists"}