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
extract_listing_path_and_sort
Map a Reddit feed URL to an OAuth API listing path and sort. Examples: https://www.reddit.com/r/python/.rss -> ("r/pytho
utils/reddit_fetcher.py:100
↓ 3 callers
Function
extract_user_agent
(request)
utils/user_functions.py:135
↓ 3 callers
Method
feature_count
(self, feature, category)
apps/analyzer/classifier.py:38
↓ 3 callers
Method
feed
Retrieve the stories from a single feed.
archive/api/newsblur.py:100
↓ 3 callers
Method
feedSetFromFolderName
(@NonNull String folderName)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1906
↓ 3 callers
Method
feed_guid_hash_unsaved
(cls, feed_id, guid)
apps/rss_feeds/models.py:3608
↓ 3 callers
Method
fetch_channel_icon_url
Fetch the YouTube channel thumbnail URL for use as a feed favicon.
utils/youtube_fetcher.py:165
↓ 3 callers
Method
fetch_manually
(self, skip_save=False, return_document=False)
apps/rss_feeds/text_importer.py:115
↓ 3 callers
Method
fetch_original_text
(self, force=False, request=None, debug=False)
apps/rss_feeds/models.py:4261
↓ 3 callers
Method
find_similar_feeds
(cls, feed_ids=None, offset=0, limit=5)
apps/rss_feeds/models.py:1321
↓ 3 callers
Method
flat
(self)
apps/reader/models.py:2972
↓ 3 callers
Function
follow_host
(hosts, streams, found, hostname, command=None, path=None)
utils/tlnb.py:126
↓ 3 callers
Function
formatRelativeTime
(date)
clients/browser-extension/src/shared/utils.js:167
↓ 3 callers
Method
format_db_time
(self, seconds)
utils/request_introspection_middleware.py:104
↓ 3 callers
Function
format_size
(size_bytes)
utils/backups/offsite_verify.py:73
↓ 3 callers
Method
fromCursor
(final Cursor cursor)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Story.java:184
↓ 3 callers
Method
fromCursor
(Cursor cursor)
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Feed.java:108
↓ 3 callers
Method
generate_post_to_service_message
(self, truncate=None, include_url=True)
apps/social/models.py:2487
↓ 3 callers
Method
generate_token
(self, mode)
apps/push/models.py:138
↓ 3 callers
Method
getCacheDir
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/FileCache.java:188
↓ 3 callers
Method
getFeedIcon
Get custom icon for a feed, or null if none set.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:125
↓ 3 callers
Method
getFeedSet
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:260
↓ 3 callers
Method
getFeedsUnreadCount
(@NonNull StateFilter stateFilter, @Nullable String selection, @Nullable String[] selArgs)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/BlurDatabaseHelper.java:1004
↓ 3 callers
Method
getFirstParentName
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/Folder.java:66
↓ 3 callers
Method
getGroupUniqueName
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:570
↓ 3 callers
Method
getRootFolderIndex
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:642
↓ 3 callers
Method
getSavedSearch
Get the cached SavedSearch object at the given saved search list location.
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:982
↓ 3 callers
Method
getServerUrl
* Get the configured server URL * @returns {Promise<string>} Server URL
clients/browser-extension/src/lib/storage.js:196
↓ 3 callers
Method
getSizeInBytes
(Bitmap bitmap)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/MemoryCache.java:58
↓ 3 callers
Function
get_briefing_provider
Get a provider instance and model ID for the given briefing model name.
apps/ask_ai/providers.py:614
↓ 3 callers
Method
get_cached_scores
Fetch cached classification scores from Redis. Returns dict of {story_hash: int_score} for cached stories only.
apps/analyzer/models.py:877
↓ 3 callers
Method
get_cost_estimate
Get cost estimate for AI classifiers, optionally scoped to a specific feed.
apps/analyzer/vlm_usage.py:17
↓ 3 callers
Method
get_current_window
(self)
utils/ip_rate_tracker.py:434
↓ 3 callers
Method
get_daily_totals
Get daily totals for analyses, subscriptions, and unique users.
apps/statistics/rtrending_webfeeds.py:104
↓ 3 callers
Method
get_effective_auto_mark_read_days
Returns the effective auto_mark_read_days setting following inheritance: feed -> folder (walking up nested hierarchy) -> site-wide
apps/reader/models.py:1626
↓ 3 callers
Method
get_feed
(self, url, skip_user_agent=False)
utils/feedfinder_forman.py:40
↓ 3 callers
Method
get_last_usage
Get token usage from the last API call. Returns: Tuple of (input_tokens, output_tokens)
apps/ask_ai/providers.py:60
↓ 3 callers
Method
get_or_create_user
(cls, user_id)
apps/media_player/models.py:93
↓ 3 callers
Function
get_prompt_scores_or_queue
Read cached AI prompt classifier scores (cache-read-only). Classification happens at FeedFetch time, not at read time. This function only rea
apps/reader/views.py:995
↓ 3 callers
Function
get_readonly
Return True if readonly mode is enabled.
newsblur_mcp/newsblur_mcp/cli/auth.py:268
↓ 3 callers
Method
get_stats_for_prometheus
(cls)
apps/statistics/rtrending_webfeeds.py:127
↓ 3 callers
Method
get_tokens_for_user
(cls, user_id)
apps/notifications/models.py:83
↓ 3 callers
Method
get_trending_stories
Get top trending stories based on accumulated read time over past N days.
apps/statistics/rtrending.py:175
↓ 3 callers
Method
get_unique_users_for_period
Get unique user count for a period using set union. More accurate than summing daily counts.
apps/statistics/rllm_costs.py:566
↓ 3 callers
Method
get_usage_billing_spend
Get current billing cycle spend from MLLMCost MongoDB records. Returns (current_spend_usd, limit_usd, is_limit_reached) tuple.
apps/profile/models.py:122
↓ 3 callers
Method
get_usage_message
(self)
apps/ask_ai/usage.py:68
↓ 3 callers
Method
hideStorySearch
(boolean clearText)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:539
↓ 3 callers
Method
index_archive
Index a single archive document. Args: archive: MArchivedStory instance
apps/archive_extension/search.py:481
↓ 3 callers
Method
index_story_for_discover
(self, verbose=False)
apps/rss_feeds/models.py:3735
↓ 3 callers
Method
isAuthenticated
* Check if user is authenticated * @returns {boolean} True if authenticated
clients/browser-extension/src/lib/api.js:84
↓ 3 callers
Method
isNormalFolder
(int groupPosition)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:620
↓ 3 callers
Method
isRowRootFolder
Determines if the row at the specified position is last of the special rows, under which un-foldered "root level" feeds are created as children. Thes
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:638
↓ 3 callers
Method
isValid
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/domain/CustomIcon.java:31
↓ 3 callers
Method
is_feed_data
(self, text)
utils/feedfinder_forman.py:54
↓ 3 callers
Function
json_encode
The main issues with django's default json serializer is that properties that had been added to an object dynamically are being ignored (and
utils/json_functions.py:43
↓ 3 callers
Function
k
(b,d,e,g,i,k)
clients/ios/static/zepto.js:2
↓ 3 callers
Function
k
(b,d,e,g,i,k)
clients/ios/Resources/zepto.js:2
↓ 3 callers
Method
latest_for_user
(cls, user_id, limit=10, offset=0)
apps/briefing/models.py:69
↓ 3 callers
Method
latest_premium_payment_amount
Most recent real (non-refunded, positive) payment amount, or None. Used to identify grandfathered $12/$24 subscribers (apps/profile/models.py)
apps/profile/models.py:3712
↓ 3 callers
Method
launchReadingActivity
(FeedSet feedSet, String storyHash)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:1078
↓ 3 callers
Method
lhood
(self, doc_smoothing, voc_smoothing)
apps/analyzer/archive/lda.py:148
↓ 3 callers
Function
list_avds
(runtime: RuntimeConfig)
clients/android/run_android.py:275
↓ 3 callers
Function
loadBlocklist
* Load blocklist
clients/browser-extension/src/options/options.js:249
↓ 3 callers
Function
loadDataStats
* Load data statistics
clients/browser-extension/src/options/options.js:306
↓ 3 callers
Function
markRegex
(mk, pattern, score)
clients/android/NewsBlur/app/src/main/assets/classifierHighlights.js:45
↓ 3 callers
Method
mark_story_sent
Mark channels as sent for a story so notification triggers don't re-send.
apps/notifications/models.py:738
↓ 3 callers
Method
measureDesiredWidth
(View view)
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:723
↓ 3 callers
Method
midnightToday
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/StoryUtils.java:107
↓ 3 callers
Function
midnight_today
(now=None)
utils/story_functions.py:102
↓ 3 callers
Method
migrate_openrss_feed_address
Persist the Open RSS /feed/ correction for a legacy feed cached at the preview path, so it migrates once instead of re-correcting on every fet
utils/feed_fetcher.py:952
↓ 3 callers
Method
move_feed_to_folder
(self, feed_id, in_folder=None, to_folder=None)
apps/reader/models.py:2914
↓ 3 callers
Method
needsSubscriptionAccess
(FeedSet feedSet, PrefsRepo prefsRepo)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:703
↓ 3 callers
Method
newInstance
(Feed feed, String folderName)
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/DeleteFeedFragment.java:37
↓ 3 callers
Function
normalizeUrl
(url)
clients/browser-extension/src/shared/utils.js:113
↓ 3 callers
Method
normalize_attrs
(self, attrs)
utils/feedfinder_pilgrim.py:138
↓ 3 callers
Function
normalize_reader_metrics_read_filter
(read_filter, query=False)
apps/reader/metrics.py:69
↓ 3 callers
Function
normalize_reader_metrics_source
(source)
apps/reader/metrics.py:63
↓ 3 callers
Method
openExternalBrowserApp
(Context context, Uri uri, String packageName)
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/UIUtils.java:680
↓ 3 callers
Method
openrss_corrected_address
Rewrite a legacy Open RSS preview address to its actual /feed/ form. Open RSS serves a human-readable preview at the bare path and the real
utils/feed_fetcher.py:201
↓ 3 callers
Function
parse_show_servers_state
(output: str)
utils/haproxy_batch_state.py:32
↓ 3 callers
Method
preCheck
Synchronously check a URL/View pair to ensure the view isn't showing a stale mapping. Useful for legacy listviews that aren't smart enough to un-map
clients/android/NewsBlur/app/src/main/java/com/newsblur/util/ImageLoader.java:66
↓ 3 callers
Method
process
(self)
apps/feed_import/models.py:145
↓ 3 callers
Method
read
(JsonReader in)
clients/android/NewsBlur/app/src/main/java/com/newsblur/serialization/BooleanTypeAdapter.java:17
↓ 3 callers
Method
redis_connection
(self)
utils/reddit_fetcher.py:528
↓ 3 callers
Method
refresh_feed
(self)
utils/feed_fetcher.py:946
↓ 3 callers
Method
refund_premium
(self, partial=False, provider=None)
apps/profile/models.py:1853
↓ 3 callers
Function
removeActiveLinkClass
( forceRemoval )
media/js/mobile/jquery.mobile-1.0b1.js:2383
↓ 3 callers
Method
render
(self, context)
utils/templatetags/utils_tags.py:361
↓ 3 callers
Function
representative_title_words
Pre-compute the significant-word set for a representative story title. Exposed so callers iterating many siblings against the same representative
apps/clustering/models.py:69
↓ 3 callers
Method
require_archive
Raise ArchiveRequiredError if the user is not premium archive.
newsblur_mcp/newsblur_mcp/client.py:58
↓ 3 callers
Method
resetEmptyState
Indicate that the DB was cleared.
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:329
↓ 3 callers
Method
returnPendingArchives
* Return archives to the front of the queue (on sync failure) * @param {object[]} archives - Archives to return
clients/browser-extension/src/lib/storage.js:95
↓ 3 callers
Method
rss_url
(self, secret_token=None)
apps/rss_feeds/models.py:4816
↓ 3 callers
Method
runStorySearchNow
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/activity/ItemsList.java:956
↓ 3 callers
Function
run_cmd
( runtime: RuntimeConfig, cmd: list[str], description: str | None = None, *, cwd: Path | N
clients/android/run_android.py:193
↓ 3 callers
Method
safeFolderFeedIds
(@Nullable Folder folder)
clients/android/NewsBlur/app/src/main/java/com/newsblur/database/FolderListAdapter.java:967
↓ 3 callers
Function
save_token
Save token data to disk with restricted permissions (0600).
newsblur_mcp/newsblur_mcp/cli/auth.py:117
↓ 3 callers
Method
schedule_count_tags_for_user
(cls, user_id)
apps/rss_feeds/models.py:4589
↓ 3 callers
Method
scrollToTop
()
clients/android/NewsBlur/app/src/main/java/com/newsblur/fragment/ItemSetFragment.java:357
↓ 3 callers
Method
secure_image_thumbnails
(cls, urls, size=192)
apps/rss_feeds/models.py:2746
← previous
next →
801–900 of 5,735, ranked by callers