glean

LeslieLeungAGPL-3.0活跃维护

自托管的 RSS 阅读器兼个人知识管理工具,内置 MCP Server,可让 AI Agent 直接读取订阅内容并整理知识。

A self-hosted RSS reader and personal knowledge management tool.

v0.3.0-alpha.1发布于 2026-11-03 10:00 UTC874star64fork同步于 2026-11-10 23:53 UTC

怎么上手

由 README 提炼,执行前请确认
curl -fsSL https://raw.githubusercontent.com/LeslieLeung/glean/main/docker-compose.pgvector.yml -o docker-compose.yml
docker compose up -d
硬件要求按 README 说明

README 未说明具体硬件要求;提供 linux/amd64 与 linux/arm64 的 Docker 镜像,需通过 Docker Compose 部署,依赖 PostgreSQL、Redis 及 pgvector 或 Milvus 向量库。

有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

自托管 RSS 阅读器与个人知识管理工具,帮信息密集用户高效聚合、整理和阅读订阅内容

自托管的 RSS 阅读器兼个人知识管理工具,内置 MCP Server,可让 AI Agent 直接读取订阅内容并整理知识。

核心能力

  • 支持 RSS/Atom 订阅与 OPML 导入导出
  • 多级文件夹与标签组织文章
  • 后台每 15 分钟自动同步订阅源
  • 书签与稍后读,稍后读自动清理
  • 内置管理后台做用户管理与系统监控

容易踩的坑

项目仍在开发中,README 明确说明尚不适合生产使用;默认管理员账号为 admin/Admin123!,生产环境必须修改密码并更换 SECRET_KEY 与数据库密码;默认占用 80 和 3001 端口,可通过 WEB_PORT、ADMIN_PORT 调整。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.3.0-alpha.1
  1. v0.3.0-alpha.5⚠️ v0.3.0-alpha.5 (Alpha)pre-release2026-11-09 · 2026-11-09 10:28 UTC
    查看更新说明

    ⚠️ This is a Alpha

    Warning: This is a pre-release version intended for testing purposes only. Do not use in production environments.

    Docker Images

    This pre-release includes the following Docker images:

    # Pull images
    docker pull ghcr.io/LeslieLeung/glean-backend:v0.3.0-alpha.5
    docker pull ghcr.io/LeslieLeung/glean-web:v0.3.0-alpha.5
    docker pull ghcr.io/LeslieLeung/glean-admin:v0.3.0-alpha.5
    

    Testing with Docker Compose

    Create a docker-compose.override.yml file:

    version: '3.8'
    
    services:
      backend:
        image: ghcr.io/LeslieLeung/glean-backend:v0.3.0-alpha.5
    
      web:
        image: ghcr.io/LeslieLeung/glean-web:v0.3.0-alpha.5
    
      admin:
        image: ghcr.io/LeslieLeung/glean-admin:v0.3.0-alpha.5
    

    Then run:

    docker compose up -d
    

    Desktop Apps

    Download the desktop application for your platform from the assets below.

    Note: Desktop apps for pre-release versions will NOT auto-update.

    Feedback

    Found an issue? Please report it at: https://github.com/LeslieLeung/glean/issues


    Changelog

    What's Changed

    Full Changelog: https://github.com/LeslieLeung/glean/compare/v0.3.0-alpha.4...v0.3.0-alpha.5

  2. v0.3.0-alpha.4⚠️ v0.3.0-alpha.4 (Alpha)pre-release2026-11-05 · 2026-11-05 02:58 UTC
    查看更新说明

    ⚠️ This is a Alpha

    Warning: This is a pre-release version intended for testing purposes only. Do not use in production environments.

    Docker Images

    This pre-release includes the following Docker images:

    # Pull images
    docker pull ghcr.io/LeslieLeung/glean-backend:v0.3.0-alpha.4
    docker pull ghcr.io/LeslieLeung/glean-web:v0.3.0-alpha.4
    docker pull ghcr.io/LeslieLeung/glean-admin:v0.3.0-alpha.4
    

    Testing with Docker Compose

    Create a docker-compose.override.yml file:

    version: '3.8'
    
    services:
      backend:
        image: ghcr.io/LeslieLeung/glean-backend:v0.3.0-alpha.4
    
      web:
        image: ghcr.io/LeslieLeung/glean-web:v0.3.0-alpha.4
    
      admin:
        image: ghcr.io/LeslieLeung/glean-admin:v0.3.0-alpha.4
    

    Then run:

    docker compose up -d
    

    Desktop Apps

    Download the desktop application for your platform from the assets below.

    Note: Desktop apps for pre-release versions will NOT auto-update.

    Feedback

    Found an issue? Please report it at: https://github.com/LeslieLeung/glean/issues


    Changelog

    What's Changed

  3. v0.3.0-alpha.2⚠️ v0.3.0-alpha.2 (Alpha)pre-release2026-11-03 · 2026-11-03 10:32 UTC
    查看更新说明

    ⚠️ This is a Alpha

    Warning: This is a pre-release version intended for testing purposes only. Do not use in production environments.

    Docker Images

    This pre-release includes the following Docker images:

    # Pull images
    docker pull ghcr.io/LeslieLeung/glean-backend:v0.3.0-alpha.2
    docker pull ghcr.io/LeslieLeung/glean-web:v0.3.0-alpha.2
    docker pull ghcr.io/LeslieLeung/glean-admin:v0.3.0-alpha.2
    

    Testing with Docker Compose

    Create a docker-compose.override.yml file:

    version: '3.8'
    
    services:
      backend:
        image: ghcr.io/LeslieLeung/glean-backend:v0.3.0-alpha.2
    
      web:
        image: ghcr.io/LeslieLeung/glean-web:v0.3.0-alpha.2
    
      admin:
        image: ghcr.io/LeslieLeung/glean-admin:v0.3.0-alpha.2
    

    Then run:

    docker compose up -d
    

    Desktop Apps

    Download the desktop application for your platform from the assets below.

    Note: Desktop apps for pre-release versions will NOT auto-update.

    Feedback

    Found an issue? Please report it at: https://github.com/LeslieLeung/glean/issues


    Changelog

    What's Changed

    Full Changelog: https://github.com/LeslieLeung/glean/compare/v0.3.0-alpha.1...v0.3.0-alpha.2

  4. v0.3.0-alpha.10.3.0-alpha.1最新正式版2026-11-03 · 2026-11-03 10:00 UTC

    这个版本没有写更新说明。

  5. v0.2.70.2.72026-06-28 · 2026-06-28 17:27 UTC

    这个版本没有写更新说明。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Glean 拾灵

    English | 中文

    [!IMPORTANT] Join our Discord to stay updated on the latest developments and get support.

    This project is still in development and is not ready for production use.

    A self-hosted RSS reader and personal knowledge management tool.

    Glean (拾灵) helps information-heavy consumers efficiently manage their reading through intelligent RSS aggregation.

    Glean

    Features

    Core Features

    • 📰 RSS Subscription - Subscribe and organize RSS/Atom feeds with OPML import/export
    • 📚 Smart Reading - Clean reading experience with content filtering
    • 🔖 Read Later - Save articles for later reading with auto-cleanup
    • 📁 Folders & Tags - Multi-level folders and tags for organization
    • ⭐ Bookmarks - Save articles from feeds or external URLs
    • 🔧 Background Sync - Automatic feed updates every 15 minutes
    • 🔒 Self-hosted - Full data ownership with Docker deployment
    • 🎨 Modern UI - Beautiful, responsive warm dark theme interface
    • 👨‍💼 Admin Dashboard - User management and system monitoring

    Planned Features (WIP)

    • 🧠 Smart Recommendations - AI-powered preference learning and article scoring
    • ⚙️ Rule Engine - Automated processing with Jinja2-style conditions
    • 🤖 AI Features - Summary generation, auto-tagging, keyword extraction (BYOK)
    • 📄 Full Content Fetch - Fetch complete article content for RSS summaries
    • 🔌 Chrome Extension - One-click bookmarking from browser
    • 📱 Mobile PWA - Progressive Web App for mobile devices

    Quick Start

    Using pgvector (Recommended)

    Uses PostgreSQL's built-in pgvector extension — no extra infrastructure required:

    # Download pgvector compose
    curl -fsSL https://raw.githubusercontent.com/LeslieLeung/glean/main/docker-compose.pgvector.yml -o docker-compose.yml
    
    # Start Glean
    docker compose up -d
    
    # Access:
    # - Web App: http://localhost
    # - Admin Dashboard: http://localhost:3001 (default: admin/Admin123!)
    

    Default Admin Account: An admin account is automatically created with:

    • Username: admin
    • Password: Admin123!
    • ⚠️ Change this password in production!

    Using Milvus

    For deployments that prefer a dedicated Milvus vector database:

    # Download docker-compose.yml
    curl -fsSL https://raw.githubusercontent.com/LeslieLeung/glean/main/docker-compose.yml -o docker-compose.yml
    
    # Start Glean
    docker compose up -d
    
    # Access:
    # - Web App: http://localhost
    # - Admin Dashboard: http://localhost:3001 (default: admin/Admin123!)
    

    Customize Admin Account (Optional)

    To use custom admin credentials instead of the defaults, create a .env file before starting:

    # Set custom admin credentials in .env
    cat > .env << EOF
    ADMIN_USERNAME=admin
    ADMIN_PASSWORD=YourSecurePassword123!
    SECRET_KEY=$(openssl rand -base64 32)
    EOF
    
    # Start services
    docker compose up -d
    

    To disable auto-creation and create admin manually:

    # Disable auto-creation in .env
    echo "CREATE_ADMIN=false" >> .env
    
    # Start services
    docker compose up -d
    
    # Create admin manually
    docker exec -it glean-backend /app/scripts/create-admin-docker.sh
    

    Configuration

    For production, customize your deployment with environment variables. Download the example file:

    curl -fsSL https://raw.githubusercontent.com/LeslieLeung/glean/main/.env.example -o .env
    

    Important settings to change:

    VariableDescriptionDefault
    SECRET_KEYJWT signing keyMust change in production!
    POSTGRES_PASSWORDDatabase passwordglean (Change in production!)
    ADMIN_PASSWORDAdmin passwordAdmin123! (Change!)
    WEB_PORTWeb interface port80
    ADMIN_PORTAdmin dashboard port3001
    CREATE_ADMINAuto-create admintrue (set false to disable)

    For all configuration options, see .env.example.

    Docker Images

    Pre-built images are available on GitHub Container Registry:

    • ghcr.io/leslieleung/glean-backend:latest - API server & worker
    • ghcr.io/leslieleung/glean-web:latest - Web frontend
    • ghcr.io/leslieleung/glean-admin:latest - Admin dashboard

    Supported architectures: linux/amd64, linux/arm64

    Testing Pre-release Versions

    Want to test upcoming features? Use pre-release versions (alpha/beta/rc):

    Method 1: Using environment variable (recommended)

    # Set the IMAGE_TAG in .env file
    echo "IMAGE_TAG=v0.3.0-alpha.1" >> .env
    
    # Or export it directly
    export IMAGE_TAG=v0.3.0-alpha.1
    
    # Start with pre-release images
    docker compose up -d
    

    Method 2: Inline environment variable

    IMAGE_TAG=v0.3.0-alpha.1 docker compose up -d
    

    Note: Pre-release versions are for testing only. They won't trigger auto-updates for Electron apps and are not recommended for production use.

    See available pre-release versions on the Releases page.

    Deployment

    Both deployments include the same core services:

    • Web App (port 80) - Main user interface
    • Admin Dashboard (port 3001) - User management and system monitoring
    • Backend API - FastAPI server
    • Worker - Background task processor (feed fetching, cleanup)
    • PostgreSQL - Database
    • Redis - Task queue

    The difference is the vector backend: docker-compose.pgvector.yml uses PostgreSQL's pgvector extension (recommended), while docker-compose.yml uses a dedicated Milvus vector database.

    For detailed deployment instructions and configuration, see DEPLOY.md.

    Already running Milvus? Follow the pgvector migration guide to migrate with one script, including backup, restore, resumable execution, and rollback.

    Tech Stack

    Backend:

    • Python 3.11+ / FastAPI / SQLAlchemy 2.0
    • PostgreSQL / Redis / arq (task queue)

    Frontend:

    • React 18 / TypeScript / Vite
    • Tailwind CSS / Zustand / TanStack Query

    Development

    See DEVELOPMENT.md for complete development setup instructions.

    Quick start:

    # Clone and setup
    git clone https://github.com/LeslieLeung/glean.git
    cd glean
    npm install
    
    # Start infrastructure
    make up
    
    # Initialize database (first time only)
    make db-upgrade
    
    # Install pre-commit hooks (optional but recommended)
    make pre-commit-install
    
    # Start all services
    make dev-all
    
    # Access:
    # - Web: http://localhost:3000
    # - Admin: http://localhost:3001
    # - API Docs: http://localhost:8000/api/docs
    

    Pre-commit Hooks

    The project uses pre-commit hooks to ensure code quality:

    # Install hooks (one-time setup)
    make pre-commit-install
    
    # Run hooks manually on all files
    make pre-commit-run
    
    # Uninstall hooks (if needed)
    make pre-commit-uninstall
    

    Hooks automatically run on commit and check:

    • Backend: ruff format, ruff linter, pyright type checking
    • Frontend: ESLint, Prettier formatting
    • General: trailing whitespace, file endings, YAML/JSON/TOML validation

    Roadmap

    PhaseStatusFeatures
    Phase 1: MVP✅ DoneUser system, RSS subscription, reader, admin dashboard
    Phase 2: Organization✅ DoneBookmarks, folders, tags, read later
    Phase 3: Preferences✅ DoneEmbedding pipeline, preference learning, smart recommendations
    Phase 4: Rules📋 PlannedRule engine, Jinja2 conditions, automated actions
    Phase 5: AI📋 PlannedAI summaries, auto-tagging, keyword extraction, BYOK support
    Phase 6: Extensions📋 PlannedChrome extension, PWA, web snapshots

    Documentation

    Contributing

    Contributions are welcome! Please read our Development Guide first.

    1. Fork the repository
    2. Create a feature branch
    3. Make your changes
    4. Run tests and linting
    5. Submit a Pull Request

    License

    This project is licensed under the AGPL-3.0 License - see the LICENSE file for details.