Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/samuelclay/NewsBlur
/ functions
Functions
5,735 in github.com/samuelclay/NewsBlur
⨍
Functions
5,735
◇
Types & classes
765
↳
Endpoints
185
↓ 3 callers
Method
secure_image_urls
(cls, urls)
apps/rss_feeds/models.py:2739
↓ 3 callers
Method
send_email
(self, story, usersub, classifier_match_desc=None)
apps/notifications/models.py:502
↓ 3 callers
Function
setImageClass
(img, className)
clients/android/NewsBlur/app/src/main/assets/storyDetailView.js:20
↓ 3 callers
Method
setSearchQuery
(String searchQuery)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:339
↓ 3 callers
Function
setTop
(el)
media/js/mobile/jquery.mobile-1.0b1.js:3381
↓ 3 callers
Method
set_content
Compress and store content.
apps/archive_extension/models.py:151
↓ 3 callers
Method
set_is_forbidden
(self)
apps/rss_feeds/models.py:523
↓ 3 callers
Method
setupCustomToolbar
(final AppCompatActivity activity, String title, boolean showHomeEnabled)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:201
↓ 3 callers
Method
setup_feeds_for_premium_subscribers
(cls, feed_ids, allow_skip_resync=False)
apps/rss_feeds/models.py:931
↓ 3 callers
Function
setup_hosts
()
archive/fabfile.py:655
↓ 3 callers
Function
setup_installs
()
archive/fabfile.py:420
↓ 3 callers
Function
setup_local_files
()
archive/fabfile.py:541
↓ 3 callers
Function
setup_openai_model
(openai_model)
utils/ai_functions.py:22
↓ 3 callers
Method
setup_push
(self)
apps/rss_feeds/models.py:3367
↓ 3 callers
Function
setup_sudoers
(user=None)
archive/fabfile.py:847
↓ 3 callers
Function
setup_usage_monitor
()
archive/fabfile.py:1755
↓ 3 callers
Function
startResetTimer
()
media/js/mobile/jquery.mobile-1.0b1.js:642
↓ 3 callers
Method
startSubscriptionActivity
(Context context)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:710
↓ 3 callers
Method
store_google_play_ids
(self, purchase_token, product_id=None, order_id=None)
apps/profile/models.py:1248
↓ 3 callers
Method
story_sent_key
(cls, user_id, story_hash, channel)
apps/notifications/models.py:760
↓ 3 callers
Function
strip_underscore_from_feed_address
(feed_address)
utils/feed_functions.py:449
↓ 3 callers
Function
stripe_checkout
(request)
apps/profile/views.py:1122
↓ 3 callers
Method
stylesheet_tag
(self, path)
archive/jammit.py:104
↓ 3 callers
Method
task_feeds
(cls, feeds, queue_size=12, verbose=True)
apps/rss_feeds/models.py:833
↓ 3 callers
Function
tier_from_score
Map a sorted-set score back to a tier label.
apps/clustering/models.py:60
↓ 3 callers
Function
to_basestring
Converts a string argument to a subclass of basestring. In python2, byte and unicode strings are mostly interchangeable, so functions that de
utils/tornado_escape.py:197
↓ 3 callers
Method
tokenize
(self, doc)
apps/analyzer/tokenizer.py:16
↓ 3 callers
Method
touch_discover_date
(self)
apps/search/models.py:107
↓ 3 callers
Method
touch_search_date
(self)
apps/search/models.py:76
↓ 3 callers
Method
trackMovement
(@NonNull MotionEvent event)
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:1146
↓ 3 callers
Function
triggerCustomEvent
(obj, eventType, event)
media/js/mobile/jquery.mobile-1.0b1.js:979
↓ 3 callers
Method
triggerRefresh
(int desiredStoryCount, Integer totalSeen)
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:316
↓ 3 callers
Function
truncateText
(text, maxLength = 100)
clients/browser-extension/src/shared/utils.js:191
↓ 3 callers
Function
truncate_content
Truncate text and indicate if it was truncated.
newsblur_mcp/newsblur_mcp/transforms.py:25
↓ 3 callers
Function
u
()
clients/android/NewsBlur/app/src/main/assets/mark.min.js:9
↓ 3 callers
Method
unmute_user
(self, muting_user_id)
apps/social/models.py:809
↓ 3 callers
Method
updateInteractiveStoryListSwipe
(float offsetPx)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1091
↓ 3 callers
Function
updateServerDisplay
* Update the server display text
clients/browser-extension/src/options/options.js:123
↓ 3 callers
Method
updateStatusIndicators
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/Main.java:330
↓ 3 callers
Method
updateStoryHeaderPillLabels
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:565
↓ 3 callers
Function
upload_to_s3
Upload a file to S3 with progress reporting.
utils/backups/backup_rotation.py:41
↓ 3 callers
Function
utf8
Converts a string argument to a byte string. If the argument is already a byte string or None, it is returned unchanged. Otherwise it must be
utils/tornado_escape.py:156
↓ 3 callers
Method
vector_query
(cls, query_vector, offset=0, max_results=10, feed_ids_to_exclude=None)
apps/search/models.py:1391
↓ 3 callers
Function
verify_target_states
( targets: Iterable[HaproxyTarget], states: dict[tuple[str, str], str], expected_admin_state: str,
utils/haproxy_batch_state.py:52
↓ 3 callers
Method
writeLatestLinesForAttachment
(File source, File target, int maxLines)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/Log.java:159
↓ 3 callers
Function
xpath_literal
(value: str)
clients/android/run_android.py:704
↓ 2 callers
Function
I
(a)
clients/ios/static/zepto.js:2
↓ 2 callers
Function
I
(a)
clients/ios/Resources/zepto.js:2
↓ 2 callers
Function
J
(a,b)
clients/ios/static/zepto.js:2
↓ 2 callers
Function
J
(a,b)
clients/ios/Resources/zepto.js:2
↓ 2 callers
Function
SchedulePremiumSetup
(feed_ids, allow_skip_resync=False)
apps/rss_feeds/tasks.py:229
↓ 2 callers
Method
__call__
(self, request)
utils/prometheus_middleware.py:116
↓ 2 callers
Method
_acquire_pricing_lock
Acquire a short-lived redis lock so only one beat scheduler runs a pricing-migration task at a time (all three htask-work hosts run their own
apps/profile/models.py:3794
↓ 2 callers
Method
_add_message_headers
(self, headers, message_headers)
apps/newsletters/models.py:323
↓ 2 callers
Method
_basic_queries_for_subcategory
Generate basic keyword queries for a single subcategory.
apps/discover/management/commands/backfill_underpopulated_feeds.py:388
↓ 2 callers
Method
_basic_search_queries
Generate basic search queries without Claude.
apps/discover/management/commands/backfill_underpopulated_feeds.py:379
↓ 2 callers
Function
_build_section_order
Build complete section_order list from prefs, falling back to default order.
apps/briefing/views.py:53
↓ 2 callers
Method
_cache_key
(cls, user_id, prompt_id, feed_id)
apps/analyzer/models.py:873
↓ 2 callers
Method
_categorize_batch
Categorize a batch of feeds using Claude.
apps/discover/management/commands/discover_podcasts.py:1558
↓ 2 callers
Function
_categorize_single_archive
Use AI to categorize a single archive using hybrid approach. 1. Checks user's existing categories first 2. Picks from existing when ther
apps/archive_extension/tasks.py:169
↓ 2 callers
Function
_clean_icon_payload
(icon_type, icon_data, icon_color, icon_set)
apps/reader/views.py:4131
↓ 2 callers
Method
_clean_path
(self, node, attrname)
utils/scrubber/__init__.py:310
↓ 2 callers
Method
_command
(self, cmd, term)
archive/munin/munin/__init__.py:77
↓ 2 callers
Method
_compute_feed_ttl
Compute cache TTL in seconds based on the feed's effective auto_mark_read_days.
apps/analyzer/models.py:981
↓ 2 callers
Method
_count_by_scope
Count documents by scope using estimated total and indexed minority counts. Uses estimated_document_count() for O(1) total, then fast indexed
apps/monitor/views/newsblur_classifiers.py:76
↓ 2 callers
Function
_cutoff_timestamp
(older_than_days: int | None)
newsblur_mcp/newsblur_mcp/tools/actions.py:17
↓ 2 callers
Method
_daily_count
(self)
apps/ask_ai/usage.py:161
↓ 2 callers
Method
_daily_count
(self)
apps/ask_ai/usage.py:425
↓ 2 callers
Method
_decode_response
(self, response)
apps/rss_feeds/page_importer.py:280
↓ 2 callers
Method
_delete_mcp_usage_keys
(self)
apps/statistics/tests.py:263
↓ 2 callers
Method
_delete_page_load_keys
(self)
apps/statistics/tests.py:51
↓ 2 callers
Function
_do_timesince
Started as a copy of django.util.timesince.timesince, but modified to only output one time unit, and use months as the maximum unit of measur
utils/feed_functions.py:104
↓ 2 callers
Function
_fallback_categorize
Simple rule-based fallback categorization based on domain. Used when AI categorization fails.
apps/archive_extension/tasks.py:308
↓ 2 callers
Method
_feed_address
(self, user, sender_email)
apps/newsletters/models.py:228
↓ 2 callers
Method
_feedly_get
Make a GET request to Feedly, optionally through ScrapingBee proxy.
apps/discover/management/commands/discover_real_feeds.py:784
↓ 2 callers
Method
_feedly_get
Make a GET request to Feedly, optionally through ScrapingBee proxy.
apps/discover/management/commands/discover_newsletters.py:987
↓ 2 callers
Method
_feedly_get
Make a GET request to Feedly, optionally through ScrapingBee proxy.
apps/discover/management/commands/backfill_underpopulated_feeds.py:416
↓ 2 callers
Method
_fetcher
(self)
apps/rss_feeds/test_reddit_fetcher.py:382
↓ 2 callers
Function
_flag
Check a flag in both the parent (global) and current command context.
newsblur_mcp/newsblur_mcp/cli/output.py:24
↓ 2 callers
Method
_force_update_parallel
(self, popular_feeds, workers, verbose)
apps/discover/management/commands/bootstrap_popular_feeds.py:411
↓ 2 callers
Method
_format_time_delta
Format a timedelta into human-readable string. Shows only the largest unit: days, hours, or minutes.
apps/ask_ai/usage.py:249
↓ 2 callers
Method
_format_time_until_reset
Format time until daily reset for premium users.
apps/ask_ai/usage.py:210
↓ 2 callers
Method
_format_time_until_weekly_reset
Format time until weekly reset for free users (Sunday night at midnight).
apps/ask_ai/usage.py:223
↓ 2 callers
Function
_get_account_info
Get information about the authenticated user's account.
newsblur_mcp/newsblur_mcp/tools/account.py:7
↓ 2 callers
Function
_get_base_url
(request)
apps/mcp/views.py:15
↓ 2 callers
Function
_get_briefing_notification_types
Return list of active notification types for the user's briefing feed.
apps/briefing/views.py:66
↓ 2 callers
Function
_get_classifiers
View all trained intelligence classifiers.
newsblur_mcp/newsblur_mcp/tools/classifiers.py:129
↓ 2 callers
Method
_get_content
(self, params, force_plain=False)
apps/newsletters/models.py:459
↓ 2 callers
Function
_get_content_preview
Get truncated content preview for display.
apps/archive_extension/views.py:1424
↓ 2 callers
Function
_get_daily_briefing
Get daily briefing with AI-curated story summaries and sections.
newsblur_mcp/newsblur_mcp/tools/briefing.py:8
↓ 2 callers
Function
_get_feed_info
Get detailed information about a specific feed.
newsblur_mcp/newsblur_mcp/tools/feeds.py:147
↓ 2 callers
Function
_get_icon_data_uri
(icon_file)
apps/briefing/summary.py:508
↓ 2 callers
Function
_get_infrequent_stories
Load stories from infrequently-publishing feeds.
newsblur_mcp/newsblur_mcp/tools/stories.py:285
↓ 2 callers
Function
_get_original_text
Fetch the full original text of a story from the source website.
newsblur_mcp/newsblur_mcp/tools/stories.py:354
↓ 2 callers
Method
_get_permanent_list_hashes
Fetch story hashes from a permanent trending sorted set with optional read filtering. Overfetches and filters for unread mode since we can't
apps/statistics/rtrending.py:436
↓ 2 callers
Function
_get_saved_stories
Retrieve saved/starred stories, optionally filtered by tag.
newsblur_mcp/newsblur_mcp/tools/stories.py:97
↓ 2 callers
Method
_get_scores_for_members
Get summed scores for specific members across daily sorted sets. Single pipelined call for all members across all days.
apps/statistics/rtrending.py:57
↓ 2 callers
Function
_get_stories
Load stories from feeds, folders, or all subscriptions.
newsblur_mcp/newsblur_mcp/tools/stories.py:9
↓ 2 callers
Function
_get_trending_scores
Batch-fetch trending scores from a Redis sorted set by key prefix.
apps/briefing/scoring.py:575
↓ 2 callers
Function
_get_user_info
Extract user ID, username, and premium indicator from the authenticated request.
newsblur_mcp/newsblur_mcp/server.py:56
← previous
next →
901–1,000 of 5,735, ranked by callers