glean

作者 LeslieLeung已验证

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

855
Stars
63
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/LeslieLeung/glean

快速入门

使用 glean 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

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

One-Command Deployment

# Download docker-compose.yml
curl -fsSL https://raw.githubusercontent.com/LeslieLeung/glean/main/docker-compose.yml -o docker-compose.yml

# Start Glean (full deployment with Milvus)
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!

Lite Deployment (without Milvus, if you don't need Phase 3 features):

# Download lite version
curl -fsSL https://raw.githubusercontent.com/LeslieLeung/glean/main/docker-compose.lite.yml -o docker-compose.yml

# Start Glean
docker compose up -d

# 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

The default deployment includes all services (full version):

  • 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
  • Milvus - Vector database for smart recommendations and preference learning (Phase 3)

Lite deployment (without Milvus) is also available using docker-compose.lite.yml.

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

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🚧 WIPEmbedding 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

See Product Requirements for detailed feature specifications.

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.

常见问题

What is glean?

glean is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by LeslieLeung. A self-hosted RSS reader and personal knowledge management tool. It has 855 GitHub stars.

Is glean safe to use?

Yes. glean passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install glean?

Clone the repository with "git clone https://github.com/LeslieLeung/glean" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is glean written in?

glean is primarily written in TypeScript. It is open-source under LeslieLeung on GitHub, so you can review or fork the full source.

Are there alternatives to glean?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh glean against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP 服务器
查看详情

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP 服务器
查看详情

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP 服务器
查看详情

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP 服务器
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情