MCPcopy Create free account

hub / github.com/samuelclay/NewsBlur / functions

Functions5,735 in github.com/samuelclay/NewsBlur

↓ 2 callersFunctionwait_for_boot
(runtime: RuntimeConfig, serial: str)
clients/android/run_android.py:425
↓ 2 callersFunctionwelcome
(request, **kwargs)
apps/reader/views.py:344
↓ 2 callersMethodwidelyReadStories
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:120
↓ 2 callersMethodxls_query_popularity
(cls, queries, limit)
apps/rss_feeds/models.py:2388
↓ 1 callersFunctionC
(b)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionC
(b)
clients/ios/Resources/zepto.js:2
↓ 1 callersFunctionD
(a)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionD
(a)
clients/ios/Resources/zepto.js:2
↓ 1 callersFunctionF
(b)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionF
(b)
clients/ios/Resources/zepto.js:2
↓ 1 callersFunctionG
(a)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionG
(a)
clients/ios/Resources/zepto.js:2
↓ 1 callersFunctionK
(a)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionK
(a)
clients/ios/Resources/zepto.js:2
↓ 1 callersFunctionN
(a,b,d)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionN
(a,b,d)
clients/ios/Resources/zepto.js:2
↓ 1 callersFunctionO
(a,b)
clients/ios/static/zepto.js:2
↓ 1 callersFunctionO
(a,b)
clients/ios/Resources/zepto.js:2
↓ 1 callersMethod__init__
Create a new, empty Counter object. And if given, count elements from an input iterable. Or, initialize the count from another mapping
utils/feed_functions.py:266
↓ 1 callersMethod__init__
(self, base_url=None, autolink=True, nofollow=True, remove_comments=True)
utils/scrubber/__init__.py:220
↓ 1 callersMethod__init__
(self, upstream_base_url: str, timeout_seconds: int = 10)
newsblur_mcp/newsblur_mcp/auth.py:39
↓ 1 callersMethod__init__
(self, user, feed, phrases)
apps/analyzer/classifier.py:9
↓ 1 callersMethod__str__
(self)
apps/rss_feeds/models.py:138
↓ 1 callersMethod_add_aws_auth_header
(self, headers, method, bucket, key, query_args)
utils/S3.py:294
↓ 1 callersFunction_as_resource_result
(result)
newsblur_mcp/tests/test_resources.py:57
↓ 1 callersMethod_assign_by_target
Fallback: assign feeds to their search target subcategory without Claude.
apps/discover/management/commands/backfill_underpopulated_feeds.py:931
↓ 1 callersFunction_build_categorization_prompt
Build the categorization prompt with hybrid approach. If user has existing categories, instructs AI to reuse them only when accurate. Ot
apps/archive_extension/tasks.py:228
↓ 1 callersFunction_build_merged_dict
Merge duplicate keys from _SUBREDDITS_RAW into a single dict. The raw list alternates between (category, subcategory) tuples and [name] lists.
apps/discover/management/commands/fill_reddit_gaps.py:1652
↓ 1 callersFunction_build_merged_dict
Merge duplicate keys from _PODCASTS_RAW into a single dict.
apps/discover/management/commands/fill_podcast_gaps.py:774
↓ 1 callersFunction_build_merged_dict
Merge duplicate keys from _NEWSLETTERS_RAW into a single dict.
apps/discover/management/commands/fill_newsletter_gaps.py:410
↓ 1 callersFunction_build_merged_dict
Merge duplicate keys from _CHANNELS_RAW into a single dict.
apps/discover/management/commands/fill_youtube_gaps.py:447
↓ 1 callersMethod_build_search_queries
Build Feedly search queries from taxonomy. Feedly search works best with short queries (1-2 words).
apps/discover/management/commands/discover_real_feeds.py:749
↓ 1 callersFunction_build_tool_summary
Build a human-readable summary and preview from tool result. Returns tuple: (summary_string, preview_list_or_none)
apps/archive_assistant/tasks.py:386
↓ 1 callersFunction_build_unicode_map
()
utils/tornado_escape.py:346
↓ 1 callersFunction_call_claude_with_tools
Call Claude API with tools using streaming for real-time response delivery. Args: user_id: User ID for tool execution messag
apps/archive_assistant/tasks.py:186
↓ 1 callersMethod_categorize_and_assign
Use Claude to categorize discovered feeds into target subcategories.
apps/discover/management/commands/backfill_underpopulated_feeds.py:866
↓ 1 callersMethod_categorize_batch
Categorize a batch of feeds using Claude.
apps/discover/management/commands/categorize_subreddits.py:219
↓ 1 callersMethod_categorize_batch
Categorize a batch of feeds using Claude.
apps/discover/management/commands/discover_real_feeds.py:1104
↓ 1 callersMethod_categorize_batch
Categorize a batch of feeds using Claude.
apps/discover/management/commands/discover_newsletters.py:1571
↓ 1 callersMethod_categorize_batch
Categorize a batch of feeds using Claude.
apps/discover/management/commands/backfill_underpopulated_feeds.py:959
↓ 1 callersMethod_categorize_batch
Categorize a batch of feeds using Claude.
apps/discover/management/commands/discover_subreddits.py:1022
↓ 1 callersMethod_categorize_feeds
Use Claude to categorize feeds that don't have categories.
apps/discover/management/commands/discover_podcasts.py:1475
↓ 1 callersMethod_categorize_feeds
Use Claude to categorize feeds that don't have categories from Feedly search.
apps/discover/management/commands/discover_real_feeds.py:1060
↓ 1 callersMethod_categorize_feeds
Use Claude to categorize feeds that don't have categories.
apps/discover/management/commands/discover_newsletters.py:1528
↓ 1 callersMethod_categorize_feeds
Use Claude to categorize feeds that don't have categories.
apps/discover/management/commands/discover_subreddits.py:976
↓ 1 callersMethod_check_cached_limit_status
Check Redis cache for limit status, fall back to MongoDB.
apps/profile/models.py:145
↓ 1 callersMethod_check_if_first_newsletter
(self, user, force=False)
apps/newsletters/models.py:169
↓ 1 callersMethod_clean_content
(self, content)
apps/newsletters/models.py:500
↓ 1 callersMethod_clean_story_date
apps/newsletters/models.py: Convert timestamp to datetime. If timestamp is empty or invalid, use current date.
apps/newsletters/models.py:446
↓ 1 callersMethod_cleanup_old_files
Clean up old prometheus files from dead processes
utils/prometheus_middleware.py:61
↓ 1 callersFunction_compute_story_clusters_inner
Inner clustering logic, separated so SoftTimeLimitExceeded is caught cleanly.
apps/clustering/tasks.py:60
↓ 1 callersFunction_compute_trending_scores
Compute composite trending scores for PopularFeed entries on-the-fly. Combines three signals (normalized to 0.0-1.0): - Subscription vel
apps/discover/views.py:34
↓ 1 callersMethod_count_regex_by_scope
Count regex classifiers by scope. Very few regex docs exist so all counts are fast.
apps/monitor/views/newsblur_classifiers.py:93
↓ 1 callersMethod_daily_limit_message
Generate error message for archive/pro users hitting daily limit.
apps/ask_ai/usage.py:270
↓ 1 callersMethod_daily_window
(self)
apps/ask_ai/usage.py:147
↓ 1 callersMethod_daily_window
(self)
apps/ask_ai/usage.py:411
↓ 1 callersFunction_date_key
(date=None)
newsblur_mcp/newsblur_mcp/metrics.py:22
↓ 1 callersMethod_decode_google_news_url
Decode a Google News redirect URL to the actual article URL. Uses Google's batchexecute API with signature/timestamp from the article page.
apps/rss_feeds/models.py:4202
↓ 1 callersMethod_delay_paypal_renewal
(self, days)
apps/profile/models.py:800
↓ 1 callersMethod_delay_stripe_renewal
(self, days)
apps/profile/models.py:766
↓ 1 callersMethod_detect_platform
Detect newsletter platform from feed URL.
apps/discover/management/commands/discover_newsletters.py:1517
↓ 1 callersFunction_dict
(data)
utils/json_functions.py:113
↓ 1 callersMethod_discover_by_genre
Phase 1: Search iTunes by genre with multiple keywords per genre.
apps/discover/management/commands/discover_podcasts.py:1369
↓ 1 callersMethod_discover_by_keywords
Phase 2: Search by taxonomy keywords to fill niche categories.
apps/discover/management/commands/discover_podcasts.py:1423
↓ 1 callersMethod_discover_by_search
Search by taxonomy keywords to fill niche categories.
apps/discover/management/commands/discover_subreddits.py:919
↓ 1 callersMethod_discover_ghost_explore
Discover Ghost publications via the Ghost Explore sitemap. 1. Fetch https://explore.ghost.org/sitemap.xml for all /p/{slug} URLs 2. F
apps/discover/management/commands/discover_newsletters.py:1347
↓ 1 callersMethod_discover_medium_toppub
Discover Medium publications by scraping TopPub.xyz tag pages. TopPub.xyz is a leaderboard of ~20,000 Medium publications organized by tags.
apps/discover/management/commands/discover_newsletters.py:1172
↓ 1 callersMethod_discover_popular
Paginate through /subreddits/popular to get top subreddits.
apps/discover/management/commands/discover_subreddits.py:854
↓ 1 callersMethod_discover_rss_feeds
Query the Feed table for well-read RSS feeds and output JSON candidates.
apps/discover/management/commands/bootstrap_popular_feeds.py:433
↓ 1 callersMethod_discover_substack
Browse Substack categories to discover top newsletters.
apps/discover/management/commands/discover_newsletters.py:851
↓ 1 callersMethod_discover_via_llm_suggestions
Ask Claude to suggest real RSS feed URLs, then verify each one via HTTP. For each underpopulated subcategory, Claude suggests feeds it knows
apps/discover/management/commands/backfill_underpopulated_feeds.py:675
↓ 1 callersMethod_exists_story
(self, story, story_content, existing_stories, new_story_hashes, lightweight=False)
apps/rss_feeds/models.py:2814
↓ 1 callersFunction_expiry_timestamp
(date=None)
newsblur_mcp/newsblur_mcp/metrics.py:28
↓ 1 callersMethod_expiry_timestamp
(cls, date=None)
apps/statistics/rmcp_usage.py:44
↓ 1 callersMethod_expiry_timestamp
(cls, date=None)
apps/statistics/rdiscover_usage.py:39
↓ 1 callersMethod_expiry_timestamp
Get expiry timestamp for keys.
apps/statistics/rllm_costs.py:41
↓ 1 callersMethod_extract_content_type
(self, filename)
utils/s3_utils.py:63
↓ 1 callersMethod_extract_headers
(self, params)
apps/newsletters/models.py:300
↓ 1 callersMethod_extract_stories
Apply stored XPaths to HTML and extract story dicts.
utils/webfeed_fetcher.py:144
↓ 1 callersMethod_feed_link
(self, newsletter_identity, sender_domain)
apps/newsletters/models.py:231
↓ 1 callersMethod_feed_title_map
(self)
apps/clustering/tests.py:460
↓ 1 callersMethod_fetch_feeds_parallel
(self, feeds_to_fetch, workers, verbose)
apps/discover/management/commands/bootstrap_popular_feeds.py:256
↓ 1 callersMethod_fetch_github_opmls
Fetch and parse OPML files from GitHub repositories.
apps/discover/management/commands/discover_real_feeds.py:987
↓ 1 callersMethod_fetch_github_opmls
Fetch and parse GitHub OPML collections for feed discovery.
apps/discover/management/commands/backfill_underpopulated_feeds.py:596
↓ 1 callersMethod_fetch_html
Fetch page HTML with proxy fallbacks for forbidden feeds.
utils/webfeed_fetcher.py:82
↓ 1 callersFunction_fetch_image_as_base64
Download an image and return it as a base64-encoded string with its media type. VLMs accept images in two ways: 1. By URL ({"type": "url",
utils/ai_functions.py:158
↓ 1 callersMethod_fetch_playlist_snippet
Fetch playlist snippet from the YouTube API.
utils/youtube_fetcher.py:224
↓ 1 callersMethod_fetch_story
(self)
apps/rss_feeds/page_importer.py:215
↓ 1 callersMethod_fetch_story_with_scrapingbee
Fetch a story page using ScrapingBee residential proxy.
apps/rss_feeds/page_importer.py:324
↓ 1 callersMethod_find_feed
(self, user, feed_address, sender_name, sender_email)
apps/newsletters/models.py:251
↓ 1 callersMethod_find_gaps
Identify subcategories with fewer than min_feeds feeds.
apps/discover/management/commands/backfill_underpopulated_feeds.py:225
↓ 1 callersMethod_flatten_category_feeds
Convert category feeds response into flat list of feed entries.
apps/discover/management/commands/generate_popular_feeds_taxonomy.py:379
↓ 1 callersFunction_format_date
convert a datetime into an RFC 822 formatted date Input date must be in GMT.
utils/PyRSS2Gen.py:51
↓ 1 callersMethod_format_time_until_reset
Format time remaining until daily reset at midnight in user's timezone.
apps/ask_ai/usage.py:470
↓ 1 callersFunction_generate_conversation_title
Generate a short title from the first query.
apps/archive_assistant/tasks.py:452
↓ 1 callersMethod_generate_feeds_for_category
Phase 2: Generate feeds for one category with its subcategories.
apps/discover/management/commands/generate_popular_feeds_taxonomy.py:288
↓ 1 callersMethod_generate_search_queries
Generate effective Feedly search queries for each subcategory. Uses Claude to generate short, keyword-based queries that work well with
apps/discover/management/commands/backfill_underpopulated_feeds.py:254
↓ 1 callersMethod_generate_taxonomy_structure
Phase 1: Generate taxonomy structure (categories + subcategories, no feeds).
apps/discover/management/commands/generate_popular_feeds_taxonomy.py:202
↓ 1 callersMethod_get_access_token
Get Reddit OAuth2 app-only access token.
apps/discover/management/commands/discover_subreddits.py:763
↓ 1 callersFunction_get_archive_content
Get full content of a specific archive.
apps/archive_assistant/tools.py:355
← previousnext →1,501–1,600 of 5,735, ranked by callers