Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/aniket-0411_zypher-agent-website-summarizer.json

1 line
1.9 KiB
JSON

{"repo": "aniket-0411/zypher-agent-website-summarizer", "files": {"README.md": {"b1fb57c247661fa248e2883a156d073a1c50de58": {"t": 1785674377.4816964, "n": 1664, "h": "7d18142024581d49", "c": "# Website Summarizer Agent\n\nAI-powered website content summarization using the Zypher framework and OpenAI-compatible APIs.\n\n## Setup\n\n### 1. Prerequisites\n\n- [Deno](https://deno.land/) v1.40+\n- API key for OpenAI, Groq, or local model provider\n\n### 2. Install\n\n```bash\ngit clone https://github.com/Aniket-0411/zypher-agent-website-summarizer\ncd zypher-agent-website-summarizer\n```\n\n### 3. Configure\n\nCopy the example environment file:\n```bash\ncp .env.example .env\n```\n\nEdit `.env` with your credentials:\n```env\nAPI_KEY=your-api-key-here\nOPENAI_BASE_URL=https://api.openai.com/v1\nOPENAI_MODEL_NAME=gpt-4o\nMAX_CONTENT_LENGTH=50000\n```\n\n**Provider Examples:**\n\n**OpenAI:**\n```env\nAPI_KEY=sk-proj-...\nOPENAI_BASE_URL=https://api.openai.com/v1\nOPENAI_MODEL_NAME=gpt-4o\n```\n\n**Groq (Free & Fast):**\n```env\nAPI_KEY=gsk_...\nOPENAI_BASE_URL=https://api.groq.com/openai/v1\nOPENAI_MODEL_NAME=llama3-70b-8192\n```\n## Usage\n\n### Web UI (Recommended)\n\nStart the server:\n```bash\ndeno run -A server.ts\n```\n\nOpen your browser to: `http://localhost:8000`\n\n### CLI Mode\n\nWith URL argument:\n```bash\ndeno run -A main.ts https://example.com\n```\n\nInteractive mode:\n```bash\ndeno run -A main.ts\n```\n\n## Features\n\n- 🌐 Fetches and extracts website content\n- 🤖 AI-powered summarization with streaming\n- 🎨 Beautiful web interface with markdown rendering\n- 💻 CLI mode for developers\n- ⚙️ Configurable content length and models\n- 🪟 Windows compatible\n\n## How It Works\n\n1. Validates and fetches URL content (30s timeout)\n2. Extracts visible text (removes scripts/styles)\n3. Truncates to configured length if needed\n4. Sends to AI model for summarization\n5. Streams formatted summary in real-time\n"}}}}