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
↓ 5 callers
Method
feeds
Retrieve a list of feeds to which a user is actively subscribed. Includes the 3 unread counts (positive, neutral, negative), as well
archive/api/newsblur.py:73
↓ 5 callers
Method
fetch_headers
(self, fake=False, plain=False)
apps/rss_feeds/models.py:1614
↓ 5 callers
Method
fetch_page
(self, urllib_fallback=False, requests_exception=None)
apps/rss_feeds/page_importer.py:70
↓ 5 callers
Method
fetch_playlist_videos
Fetch videos from a playlist.
utils/youtube_fetcher.py:395
↓ 5 callers
Method
fetch_story
(self)
apps/rss_feeds/page_importer.py:203
↓ 5 callers
Function
find_paypal_user
Find user from PayPal webhook data with fallbacks. Tries multiple methods to find the user: 1. custom_id or custom field (set during subscrip
apps/profile/views.py:437
↓ 5 callers
Function
format_date
(date_str)
utils/backups/offsite_status.py:56
↓ 5 callers
Function
format_size
(size_bytes)
utils/backups/offsite_status.py:46
↓ 5 callers
Method
get
(self, url, check=False)
utils/feedfinder_pilgrim.py:117
↓ 5 callers
Method
getFolderIcon
Get custom icon for a folder, or null if none set.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:117
↓ 5 callers
Function
getNativeEvent
(event)
media/js/mobile/jquery.mobile-1.0b1.js:544
↓ 5 callers
Method
getUserBlocklist
* Get user's custom blocklist * @returns {Promise<string[]>} Blocked domains
clients/browser-extension/src/lib/storage.js:104
↓ 5 callers
Method
get_auto_mark_read_cutoff
Returns the unread cutoff date based on auto_mark_read_days setting. Takes into account feed, folder, and site-wide settings.
apps/reader/models.py:1699
↓ 5 callers
Method
get_category_breakdown
Get count of archives by AI category for a user. Args: user_id: User ID to filter by domain: Optional domain
apps/archive_extension/models.py:311
↓ 5 callers
Function
get_fragment
( url )
media/js/mobile/jquery.mobile-1.0b1.js:1343
↓ 5 callers
Method
get_trending_stories_detailed
Get trending stories with full metrics: total seconds, reader count, and avg per reader.
apps/statistics/rtrending.py:212
↓ 5 callers
Function
hasClass
(img, className)
clients/android/NewsBlur/app/src/main/assets/storyDetailView.js:8
↓ 5 callers
Function
i
(a)
clients/ios/static/zepto.js:2
↓ 5 callers
Method
infrequentCutoffChanged
(int newValue)
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/InfrequentCutoffDialogFragment.java:119
↓ 5 callers
Method
isAllSocial
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:251
↓ 5 callers
Method
isDailyBriefing
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:259
↓ 5 callers
Method
isFilterSaved
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FeedSet.java:355
↓ 5 callers
Method
isRowLongReads
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:604
↓ 5 callers
Method
isRowWidelyReadStories
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:600
↓ 5 callers
Method
is_followed_by_user
(self, user_id)
apps/social/models.py:622
↓ 5 callers
Function
j
(b,c,d)
clients/ios/static/zepto.js:2
↓ 5 callers
Function
j
(b,c,d)
clients/ios/Resources/zepto.js:2
↓ 5 callers
Function
l
(a,b,d,e)
clients/ios/static/zepto.js:2
↓ 5 callers
Function
l
(a,b,d,e)
clients/ios/Resources/zepto.js:2
↓ 5 callers
Function
load_scoped_classifiers
Load all global and folder-scoped classifiers for a user. Returns a dict with keys: 'titles', 'texts', 'urls', 'authors', 'tags' each contain
apps/analyzer/models.py:1169
↓ 5 callers
Function
make_story
(attrs)
node/tests/story_selection_utils.test.js:6
↓ 5 callers
Function
markText
(mk, text, score)
clients/android/NewsBlur/app/src/main/assets/classifierHighlights.js:24
↓ 5 callers
Method
mark_stories_as_unread
(cls, user_id, feed_ids, days)
apps/reader/models.py:1543
↓ 5 callers
Method
mark_story_as_starred
Mark a story as starred (saved).
archive/api/newsblur.py:194
↓ 5 callers
Function
merge_clusters
Merge title-based and semantic clusters using union-find. If any story appears in both a title cluster and a semantic cluster, the two cluste
apps/clustering/models.py:628
↓ 5 callers
Function
merge_feeds
(original_feed_id, duplicate_feed_id, force=False)
apps/rss_feeds/models.py:4980
↓ 5 callers
Method
newInstance
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:156
↓ 5 callers
Method
parseColor
Parse a hex color string to an integer color value.
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/CustomIconRenderer.java:207
↓ 5 callers
Method
prepareReadingSession
Populates the reading session table with hashes of already-fetched stories that meet the criteria for the given FeedSet and filters; these hashes will
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1442
↓ 5 callers
Method
process_request
(self, request)
apps/profile/middleware.py:604
↓ 5 callers
Method
pushUnreadCounts
Every time unread counts are updated in the adapter, ping the Main activity with the new data. It is, unfortunately, quite expensive to compute given
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/FolderListFragment.java:635
↓ 5 callers
Method
put
(self, bucket, key, object, headers={})
utils/S3.py:197
↓ 5 callers
Method
record_failure
(self)
apps/webfeed/models.py:56
↓ 5 callers
Method
redeem
(cls, user, gift_code)
apps/profile/models.py:5044
↓ 5 callers
Method
redirect
Override redirect to allow chrome-extension:// and moz-extension:// schemes.
apps/oauth/views.py:918
↓ 5 callers
Method
refund_prorated_store_payment_for_provider_switch
Refund the unused portion of an App Store / Google Play subscription when a user upgrades or switches to a Stripe subscription. Apple
apps/profile/models.py:2089
↓ 5 callers
Method
retrieve_paypal_ids
(self)
apps/profile/models.py:2405
↓ 5 callers
Function
route_scoped_item
(item, type, value_key)
media/js/newsblur/reader/reader_classifier.js:4340
↓ 5 callers
Function
seconds_timesince
(value)
utils/feed_functions.py:165
↓ 5 callers
Method
send_opml_export_email
(self, reason=None, force=False)
apps/profile/models.py:2875
↓ 5 callers
Function
setup_common
()
archive/fabfile.py:232
↓ 5 callers
Function
setup_gunicorn
(supervisor=True, restart=True)
archive/fabfile.py:903
↓ 5 callers
Function
sort_classifiers_by_feed
( user, feed_ids=None, classifier_feeds=None, classifier_authors=None, classifier_titles=N
apps/analyzer/models.py:1385
↓ 5 callers
Function
store_clusters_to_redis
Write cluster memberships to Redis. When candidate_cluster_map is provided, detects when a newly computed cluster contains stories that alrea
apps/clustering/models.py:740
↓ 5 callers
Method
store_paypal_sub_id
(self, paypal_sub_id, skip_save_primary=False)
apps/profile/models.py:1231
↓ 5 callers
Method
storyHeaderPalette
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:889
↓ 5 callers
Method
switch_stripe_subscription
(self, plan, proration_behavior="always_invoice")
apps/profile/models.py:1058
↓ 5 callers
Function
union
(a, b)
apps/clustering/models.py:256
↓ 5 callers
Method
updateStorySearchPillState
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:554
↓ 4 callers
Function
B
(a)
clients/ios/static/zepto.js:2
↓ 4 callers
Function
B
(a)
clients/ios/Resources/zepto.js:2
↓ 4 callers
Function
GenerateBriefings
Periodic task that runs every minute. Finds users who need a briefing generated and dispatches per-user tasks.
apps/briefing/tasks.py:13
↓ 4 callers
Function
L
(b,d)
clients/ios/static/zepto.js:2
↓ 4 callers
Function
L
(b,d)
clients/ios/Resources/zepto.js:2
↓ 4 callers
Method
__get__
(self, instance, instance_type=None)
utils/fields.py:19
↓ 4 callers
Method
__get_value
(self, enum)
utils/mongoengine_fields.py:80
↓ 4 callers
Method
__init__
(self, id="", display_name="")
utils/S3.py:425
↓ 4 callers
Function
_apply_discover_filters
(pf_qs)
apps/discover/views.py:1139
↓ 4 callers
Method
_date_key
(cls, date=None)
apps/statistics/rdiscover_usage.py:33
↓ 4 callers
Function
_discover_feeds
Discover new feeds by searching, finding similar feeds, or browsing trending.
newsblur_mcp/newsblur_mcp/tools/discovery.py:8
↓ 4 callers
Method
_fetcher
(self)
apps/rss_feeds/test_reddit_fetcher.py:196
↓ 4 callers
Method
_fetcher
(self)
apps/rss_feeds/test_reddit_fetcher.py:342
↓ 4 callers
Method
_get_avg_cost
Get actual average cost per request from LLM cost records, or use fallback.
apps/analyzer/vlm_usage.py:130
↓ 4 callers
Method
_get_redis
(cls)
apps/statistics/rmcp_usage.py:29
↓ 4 callers
Method
_get_top_merged
Get top items by reading top-N from each daily key and merging in Python. No ZUNIONSTORE — just pipelined ZREVRANGE reads. O(days * fetch_lim
apps/statistics/rtrending.py:29
↓ 4 callers
Method
_instrument
(self, original_method)
utils/mongo_raw_log_middleware.py:61
↓ 4 callers
Function
_is_placeholder
Check if a key is a placeholder (e.g. 'sk-ant-XXXXXXXX...' from settings template).
apps/ask_ai/providers.py:15
↓ 4 callers
Function
_list
(data)
utils/json_functions.py:107
↓ 4 callers
Method
_make_mock_response
Create a mock requests response with given raw bytes and encoding.
apps/rss_feeds/test_rss_feeds.py:660
↓ 4 callers
Function
_normalize_image_url_for_dedup
Strip scheme, query params, fragments, www., and CDN proxy hosts to get a canonical host+path.
utils/story_functions.py:43
↓ 4 callers
Function
_publish_archive_event
Publish archive events via Redis PubSub for real-time WebSocket updates. Args: user: The user object archives_data: List of
apps/archive_extension/views.py:32
↓ 4 callers
Method
_save_cache
Save Feedly results to cache.
apps/discover/management/commands/discover_real_feeds.py:778
↓ 4 callers
Method
_save_cache
Save results to cache.
apps/discover/management/commands/backfill_underpopulated_feeds.py:410
↓ 4 callers
Method
_save_times
(self, db_times, prefix="")
apps/profile/middleware.py:115
↓ 4 callers
Function
_staleness_cutoff
Return a datetime cutoff for the requested 'staleness' window, or None for 'any time'.
apps/discover/views.py:101
↓ 4 callers
Function
_subscribed_feed_ids
Return the set of feed_ids the user already subscribes to when the 'exclude_subscribed' flag is set, or None when the filter is off. Used
apps/discover/views.py:110
↓ 4 callers
Method
_ttl
(cls)
apps/statistics/rtrending_webfeeds.py:38
↓ 4 callers
Method
access_token
Return a cached OAuth2 app-only token, fetching a new one when needed.
utils/reddit_fetcher.py:549
↓ 4 callers
Method
activate_android_premium
(self, order_id=None, product_id=None, amount=None)
apps/profile/models.py:2600
↓ 4 callers
Method
add_host
Helper method to reduce host duplication
archive/ansible/do_inventory.py:453
↓ 4 callers
Function
ajaxComplete
(a,b,c)
clients/ios/static/zepto.js:2
↓ 4 callers
Function
ajaxComplete
(a,b,c)
clients/ios/Resources/zepto.js:2
↓ 4 callers
Method
applyPillStyle
(MaterialButton button, int backgroundColor, int borderColor, int textColor)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:878
↓ 4 callers
Function
apply_classifier_author_regex
Apply author regex classifiers to a story. Matches story_authors string. Args: classifiers: List of MClassifierAuthor objects with i
apps/analyzer/models.py:784
↓ 4 callers
Method
attach_users_to_stories
(stories, profiles)
apps/social/models.py:2420
↓ 4 callers
Function
blank_authenticate
(username, password="")
apps/profile/models.py:4628
↓ 4 callers
Method
build_feed
Render Reddit listing children into an Atom feed string.
utils/reddit_fetcher.py:369
↓ 4 callers
Function
calculate_width
(count)
media/js/newsblur/reader/reader_statistics.js:249
↓ 4 callers
Method
cancelInteractiveStoryListSwipe
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1102
↓ 4 callers
Method
cancelPendingSyncStatusHide
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/Main.java:462
← previous
next →
501–600 of 5,735, ranked by callers