Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

NewsBlur

> 数据库
Open source

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.

7.6K stars0 likes1 views
WebsiteGitHub

About

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.

NewsBlur

About

NewsBlur is a personal news reader with intelligence. It's an RSS feed reader and social news network that shows the original site while giving you powerful filtering tools. Train NewsBlur to learn what you like and dislike, and it will automatically highlight and hide stories.

NewsBlur is free to use at newsblur.com (up to 64 sites) with premium plans available, or you can self-host your own instance using this repository.

Features

  • Real-time RSS - Stories are pushed directly to you, so you can read news as it comes in
  • Original Site View - Read the content in context, the way it was meant to be seen
  • Training - Hide the stories you don't like and highlight the stories you do
  • Shared Stories - Reading news is better with friends. Share stories on your public blurblog
  • Full Text Search - Quickly find stories across all of your subscriptions
  • Story Tagging - Save stories with custom tags for fast references
  • Blurblog Privacy - Share stories with the world or only with your friends
  • Saved Searches - Regularly used searches are conveniently given their own feeds
  • Read the Full Story - The original story from truncated RSS feeds is seamlessly expanded
  • Track Changes - See how a story evolved since it was first published
  • Email Newsletters - Read your email newsletters where they belong, in a news reader
  • Multiple Layouts - Grid, List, Split, or Magazine view for each site
  • Dark Mode - Easy on the eyes and built into the web, iOS, and Android
  • YouTube Channels - Even sites that don't publish RSS feeds can be followed
  • Third-party Apps - Supports Reeder, ReadKit, Unread, and many more
  • IFTTT Integration - Hook NewsBlur up to nearly every service on the web
  • MCP Server - Connect AI agents to your feeds, stories, and classifiers
  • Native Mobile Apps - Free iOS, macOS, and Android apps jam-packed with features

Technology

NewsBlur is a Django application (Python 3.7+) with a Backbone.js frontend. It uses:

  • PostgreSQL for relational data (feeds, subscriptions, accounts)
  • MongoDB for stories and read states
  • Redis for story assembly and caching
  • Elasticsearch for search (optional)
  • Celery for background tasks (feed fetching)
  • Node.js services for text extraction and image processing

Self-Hosted Installation

This repository contains everything you need to run your own NewsBlur instance with complete control over your data.

Prerequisites: Docker and Docker Compose

bash
git clone https://github.com/samuelclay/NewsBlur.git
cd NewsBlur
make

Visit https://localhost (type thisisunsafe to bypass the self-signed certificate warning).

Common commands:

  • make - Start/update and apply migrations (run after git pull)
  • make log - View web and node logs
  • make logall - View all container logs
  • make shell - Django shell with auto-imported models
  • make bash - Bash shell in web container
  • make test - Run tests
  • make lint - Format code (isort, black, flake8)
  • make down - Stop containers

Bootstrap discover feeds (without fetching):

bash
docker exec -t newsblur_web python manage.py bootstrap_popular_feeds --skip-fetch

This creates PopularFeed records from the curated fixtures file without fetching any feed content. You can filter by type with --type youtube, --type reddit, --type podcast, --type newsletter, or --type rss.

Database access:

  • make mongo - MongoDB shell
  • make redis - Redis CLI
  • make postgres - PostgreSQL shell

See AGENTS.md for detailed development guidelines.

Configuration

To customize your NewsBlur installation, create newsblur_web/local_settings.py to override settings from docker_local_settings.py.

Settings for self-hosted installations:

  • NEWSBLUR_URL - Your domain (default: https://localhost). Also used for Archive browser extension OAuth.
  • SESSION_COOKIE_DOMAIN - Cookie domain for authentication
  • AUTO_PREMIUM - Give new users premium features (default: True)
  • AUTO_ENABLE_NEW_USERS - Auto-activate new accounts (default: True)
  • ENFORCE_SIGNUP_CAPTCHA - Require captcha on signup (default: False)
  • OPENAI_API_KEY - AI features and Discover for related stories
  • DAYS_OF_UNREAD - Story retention for premium users in days (default: 30)
  • DAYS_OF_UNREAD_FREE - Story retention for free users in days (default: 14)
  • HOMEPAGE_USERNAME - Username shown on homepage to unauthenticated users (default: "popular")

Uncommon settings (for running full newsblur.com):

  • EMAIL_BACKEND - Email delivery method
  • STRIPE_SECRET / STRIPE_PUBLISHABLE - Stripe payment processing
  • PAYPAL_API_CLIENTID / PAYPAL_API_SECRET - PayPal payment processing
  • S3_* settings - AWS S3 bucket configuration for backups, icons, avatars
  • FACEBOOK_APP_ID / TWITTER_CONSUMER_KEY / YOUTUBE_API_KEY - Social API keys

See the full list in docker_local_settings.py and settings.py.

Development with Worktrees

NewsBlur supports Git worktrees for working on multiple features simultaneously, with each worktree running on its own set of ports. This is ideal when working with AI coding assistants like Claude Code.

Create and start a worktree:

bash
git worktree add .worktree/feature-name
cd .worktree/feature-name
make worktree

Each worktree automatically gets unique ports based on its directory name:

  • Main repo: https://localhost (ports 80/443)
  • Worktree: https://localhost:XXXX (unique ports)

View your worktree's URLs:

bash
make worktree

Follow the worktree logs:

bash
make worktree-log

Close a worktree:

bash
make worktree-close  # Stops containers and removes worktree if no uncommitted changes

All worktrees share the same database services (PostgreSQL, MongoDB, Redis, Elasticsearch), so you can test multiple features without duplicating data.

MCP Server & CLI

NewsBlur includes an MCP server that lets AI agents (Claude Desktop, Claude Code, Cursor, or any MCP-compatible client) interact with your feeds, stories, and classifiers. Premium subscription required.

Connect

Claude Code:

bash
claude mcp add --transport http newsblur https://newsblur.com/mcp/

Codex: Add to ~/.codex/config.toml:

toml
[mcp_servers.newsblur]
url = "https://newsblur.com/mcp"

On first use, a browser window opens for you to log in to NewsBlur and authorize access.

What you can do

Read your feeds - Get unread stories from any feed or folder, search across all subscriptions, retrieve saved stories by tag.

Take action - Mark stories as read, save stories with tags and notes, subscribe to new feeds, share stories to your blurblog.

Train intelligence - View and update classifiers to like/dislike authors, tags, titles, and feeds. Let an AI agent analyze your reading patterns and suggest training rules.

Discover - Find new feeds by topic, see trending feeds, find feeds similar to ones you already follow.

Available tools

Tool Description
newsblur_list_feeds All subscribed feeds with folders and unread counts
newsblur_get_stories Load stories from feeds, folders, or all subscriptions
newsblur_get_saved_stories Saved stories filtered by tag
newsblur_search_stories Full-text search across feeds
newsblur_get_original_text Fetch full article from source website
newsblur_get_feed_info Detailed feed metadata and statistics
newsblur_get_account_info User profile and subscription tier
newsblur_mark_stories_read Mark stories read by hash, feed, or folder
newsblur_save_story Save a story with tags, notes, and highlights
newsblur_unsave_story Remove from saved stories
newsblur_subscribe Subscribe to a feed by URL
newsblur_unsubscribe Remove a feed subscription
newsblur_organize_feed Move feeds between folders, rename feeds/folders
newsblur_share_story Share to your blurblog with comments
newsblur_train_classifier Train like/dislike on title, author, tag, or feed
newsblur_get_classifiers View all trained intelligence classifiers
newsblur_discover_feeds Search, similar, or trending feed discovery
newsblur_manage_notifications View/configure per-feed notifications

Prompt templates

The MCP server includes prompt templates for common workflows:

  • Daily Briefing - Summarize today's unread stories by folder
  • Triage Inbox - Review and categorize unread stories, save interesting ones
  • Research Topic - Search feeds and saved stories on a topic
  • Train from Reading - Analyze reading patterns and suggest classifier rules
  • Feed Health Check - Audit subscriptions for dead or unused feeds
  • Discover New Feeds - Find feeds based on interests

Self-hosted MCP server

If you self-host NewsBlur, the MCP server runs as a separate container on port 8099:

bash
docker compose up newsblur_mcp

Point your MCP client to https://your-newsblur-domain/mcp/.

Contributing

NewsBlur welcomes contributions! The development workflow:

  • Web and Node servers restart automatically when code changes
  • Run make after git pull to apply migrations
  • See AGENTS.md for code style and development conventions

Support

  • Hosted service: newsblur.com (recommended)
  • Questions, suggestions, and bugs: forum.newsblur.com
  • Development questions: Check AGENTS.md first

Author

Created by Samuel Clay • [email protected] • @samuelclay

License

MIT License - see LICENSE file for details

Issues· 134 open

View all issuesOpen on GitHub
  • #1860

    [Enhancement] Unify information exposed via user domain and profile.

    Updated Oct 1, 2026
  • #2161

    [Bug] Profile URIs fail to render.

    Updated Oct 1, 2026
  • #2155

    [Bug] NB fails to extract the `//title` from `reliefweb.int/disasters/rss.xml?advanced-search=(C243)`.

    Updated Sep 27, 2026
  • #2154

    [Bug] NB silently fails to consume the most recent `//item` of `MI5.gov.UK/UKThreatLevel/UKThreatLevel.xml`.

    Updated Sep 27, 2026
  • #2151

    Fix iOS notification test doubles and investigate WebKit CI failures

    Updated Sep 23, 2026
  • #2150

    Evaluate RSS handoff recovery and coordinator refinements

    Updated Sep 23, 2026
  • #2149

    Preserve widget and share credentials during iOS session reauthentication

    Updated Sep 23, 2026
  • #2144

    Address folder-path edge cases from Android 15 review

    Updated Sep 22, 2026
  • #2129

    "Ask AI" in the mobile app

    Updated Sep 1, 2026
  • #2128

    Mastodon RSS posts: line breaks are removed when generating story titles

    Updated Sep 1, 2026

> Tags

Pythonandroidelasticsearchfeed-readerios

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 2, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库