Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brightbeanxyz/brightbean-studio
/ functions
Functions
3,156 in github.com/brightbeanxyz/brightbean-studio
⨍
Functions
3,156
◇
Types & classes
668
↳
Endpoints
120
↓ 1 callers
Function
gn
(e,t)
static/js/htmx.min.js:1
↓ 1 callers
Function
has_engagement_card
True if the platform has both engagement parts AND a reach-like denom. Bluesky/Mastodon/LinkedIn-Personal have no reach denom, so we render o
apps/analytics/metrics.py:145
↓ 1 callers
Function
head_object_size
ContentLength of the stored object, or ``None`` if it doesn't exist. ``None`` means the agent never completed the upload — the caller turns that
apps/media_library/storage.py:94
↓ 1 callers
Function
hero_card_metrics
Top-line "reach-like" metrics that get their own StatCard in the hero row. Engagement components and the rate itself live in the EngagementCard,
apps/analytics/metrics.py:132
↓ 1 callers
Function
hero_cards
List of {metric, label, derived} for the hero KPI cards. Pass ``series_map`` to reuse an already-fetched :func:`account_analytics_bundle` res
apps/analytics/services.py:307
↓ 1 callers
Function
hero_chart_metrics
Metric chips for the hero chart selector — counts only, no rates.
apps/analytics/services.py:366
↓ 1 callers
Function
hn
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
hn
(n,e)
static/js/htmx.min.js:1
↓ 1 callers
Function
ht
(e,t,r)
static/js/alpine.min.js:1
↓ 1 callers
Function
ht
(e,t)
static/js/htmx.min.js:1
↓ 1 callers
Function
i
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callers
Function
ie
(e=()=>{})
static/js/alpine.min.js:5
↓ 1 callers
Function
ii
(e,t,r)
static/js/alpine.min.js:5
↓ 1 callers
Method
is_expired
(self)
apps/members/models.py:158
↓ 1 callers
Function
is_failed_auth_ip_blocked
True iff the IP has accumulated ``>= _AUTH_FAIL_LIMIT`` failures in the current rolling window. Read-only — no increment.
apps/api/limits.py:312
↓ 1 callers
Function
is_meta_permission_error
Return true for Meta auth/scope errors that should trigger reconnect handling.
providers/meta_insights.py:47
↓ 1 callers
Function
is_notification
JSON-RPC: requests without ``id`` are notifications (no response). Note the spec quirk: ``id`` may legitimately be ``null``, so we check for
apps/mcp/protocol.py:82
↓ 1 callers
Function
it
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callers
Function
je
(e)
static/js/htmx.min.js:1
↓ 1 callers
Function
jn
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
jt
(t,e)
static/js/htmx.min.js:1
↓ 1 callers
Function
ke
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
ki
()
static/js/alpine.min.js:5
↓ 1 callers
Function
kn
()
static/js/alpine.min.js:1
↓ 1 callers
Method
list_niches
(self)
apps/intelligence/services/client.py:498
↓ 1 callers
Function
lr
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
lt
(e)
static/js/htmx.min.js:1
↓ 1 callers
Function
main
()
manage.py:8
↓ 1 callers
Function
make_response
(id_: Any, result: Any)
apps/mcp/protocol.py:71
↓ 1 callers
Function
me
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
me
(t,e,n)
static/js/htmx.min.js:1
↓ 1 callers
Function
mn
(t,n,r)
static/js/htmx.min.js:1
↓ 1 callers
Function
mr
({name:e})
static/js/alpine.min.js:5
↓ 1 callers
Function
ni
(e,t,r)
static/js/alpine.min.js:5
↓ 1 callers
Function
no
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
notification_drawer
HTMX partial: renders the 50 most recent notifications for the drawer.
apps/notifications/views.py:18
↓ 1 callers
Function
oi
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
onboarding_checklist
Inject onboarding checklist data into every template context.
apps/onboarding/context_processors.py:7
↓ 1 callers
Function
parse_token
Split a raw bearer string into its parts, or None on malformed input. Strict: exact prefix match, exact part count, lookup length, and a plau
apps/api_keys/services.py:93
↓ 1 callers
Function
pe
(t,e,n)
static/js/htmx.min.js:1
↓ 1 callers
Function
per_request_cache
Return ``producer()`` once per request for the given key. ``key`` is a tuple of stable identifiers (e.g. ``(org_id, "me")``).
apps/intelligence/services/cache.py:15
↓ 1 callers
Method
portal_session
(self, *, external_org_id: str)
apps/intelligence/services/client.py:249
↓ 1 callers
Function
post_detail
HTMX-loaded payload for the slide-over post-detail drawer.
apps/analytics/views.py:216
↓ 1 callers
Function
post_freshness
Return ``(captured_at, next_sync_eta)`` for a per-platform post. The cadence ladder is :func:`apps.analytics.tasks.post_sync_interval` so thi
apps/analytics/freshness.py:69
↓ 1 callers
Function
presign_upload
Presigned POST for a single object, size-capped at the edge. Returns ``{"method", "url", "fields"}`` — the client submits ``fields`` (which i
apps/media_library/storage.py:68
↓ 1 callers
Function
preview
Live preview endpoint - renders platform-specific preview from form state. Called via HTMX with debounced POST from the composer. Stateless -
apps/composer/views.py:1178
↓ 1 callers
Function
protected_resource_metadata
RFC 9728 protected-resource metadata for the /api/v1/mcp endpoint.
apps/oauth_server/metadata.py:36
↓ 1 callers
Method
publish_comment
(self, access_token: str, post_id: str, text: str)
providers/facebook.py:455
↓ 1 callers
Function
qn
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
qr
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
read_object_head_bytes
Range-GET the first ``n`` bytes for server-side magic-byte sniffing.
apps/media_library/storage.py:113
↓ 1 callers
Function
reconcile_intelligence_subscriptions
Catch drift between Intelligence and local IntelligenceSubscription rows that webhook-driven sync may have missed (e.g., a customer.subscripti
apps/intelligence/tasks.py:243
↓ 1 callers
Function
refresh_subscription_on_visit
Schedule a one-shot reconcile for ``org_id`` if not throttled. Called at the end of the playground view. The throttle (60s in cache) means a
apps/intelligence/tasks.py:306
↓ 1 callers
Method
refresh_token
Refresh an AT Protocol session using the refresh JWT.
providers/bluesky.py:146
↓ 1 callers
Function
reject_post
Reject a post or single platform post. Comment is required.
apps/approvals/services.py:228
↓ 1 callers
Method
render
Substitute variables in body with context values.
apps/inbox/models.py:204
↓ 1 callers
Method
reply_to_message
Reply to an inbox message.
providers/base.py:182
↓ 1 callers
Method
resolve_handle
Resolve a Bluesky handle to a DID. Uses bsky.social for resolution regardless of PDS URL.
providers/bluesky.py:110
↓ 1 callers
Function
restore_version
Restore a previous version by creating a new version from its file.
apps/media_library/services.py:281
↓ 1 callers
Function
resubmit_post
Resubmit a post after changes/rejection — or re-review an edited approved post.
apps/approvals/services.py:319
↓ 1 callers
Method
revoke_token
Revoke an OAuth token. Returns True if successful.
providers/base.py:190
↓ 1 callers
Function
ri
(e,t,r)
static/js/alpine.min.js:5
↓ 1 callers
Function
rn
(t,n,r)
static/js/htmx.min.js:1
↓ 1 callers
Function
ro
(e)
static/js/alpine.min.js:5
↓ 1 callers
Method
rotate_key
(self, *, user_id: int | str, external_org_id: str, idempotency_key: str)
apps/intelligence/services/client.py:231
↓ 1 callers
Function
run_publish_cycle
Poll for due posts and publish them. Registered as a recurring task (every 15s) so that ``python manage.py process_tasks`` handles publishing
apps/publisher/tasks.py:11
↓ 1 callers
Function
schedule_all_health_checks
Enqueue individual health checks for all active accounts.
apps/social_accounts/tasks.py:105
↓ 1 callers
Function
si
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
st
(e)
static/js/htmx.min.js:1
↓ 1 callers
Function
submit_for_review
Submit a post (or single platform post) for internal review.
apps/approvals/services.py:95
↓ 1 callers
Function
sweep_stale_idempotency_records
Delete ``IdempotencyRecord`` rows older than the TTL. Runs hourly via ``django-background-tasks``; the per-iteration cost is one indexed DELE
apps/api/tasks.py:34
↓ 1 callers
Function
ti
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
tn
(e)
static/js/htmx.min.js:1
↓ 1 callers
Function
to
(e,t,r,n)
static/js/alpine.min.js:5
↓ 1 callers
Method
to_mcp_dict
Wire shape returned by ``tools/list`` per the MCP spec.
apps/mcp/tools.py:29
↓ 1 callers
Function
touch_last_used
Update ``last_used_at`` / ``last_used_ip`` at most once per 60s. Uses a raw ``UPDATE`` (no signals, no full save). The debounce is **cache-k
apps/api_keys/services.py:418
↓ 1 callers
Function
tr
(e)
static/js/alpine.min.js:1
↓ 1 callers
Function
trigger_response
Return an empty response that fires the given ``HX-Trigger`` events. ``triggers`` maps event name → detail, e.g. ``{"showToast": {...}, "appr
apps/common/htmx.py:8
↓ 1 callers
Function
trim_video
Trim a video using ffmpeg.
apps/media_library/services.py:601
↓ 1 callers
Function
tt
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callers
Function
un
(e,t,n)
static/js/htmx.min.js:1
↓ 1 callers
Method
update_billing_contact
(self, *, external_org_id: str, billing_email: str, org_name: str)
apps/intelligence/services/client.py:256
↓ 1 callers
Function
ut
(e)
static/js/htmx.min.js:1
↓ 1 callers
Method
validate_token
Quick health check - try get_profile and see if it works.
providers/base.py:194
↓ 1 callers
Function
ve
(e,t)
static/js/alpine.min.js:1
↓ 1 callers
Function
vt
(e,t,n,r)
static/js/htmx.min.js:1
↓ 1 callers
Function
wn
(e,t)
static/js/htmx.min.js:1
↓ 1 callers
Function
wr
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
wt
(t,n,e)
static/js/htmx.min.js:1
↓ 1 callers
Function
xi
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
yi
()
static/js/alpine.min.js:5
↓ 1 callers
Function
yn
(e,t)
static/js/htmx.min.js:1
↓ 1 callers
Function
yt
()
static/js/htmx.min.js:1
↓ 1 callers
Function
zi
(e)
static/js/alpine.min.js:5
↓ 1 callers
Function
zn
(e,t)
static/js/alpine.min.js:5
↓ 1 callers
Function
zn
()
static/js/htmx.min.js:1
Function
$r
(e,t,r,n=!0)
static/js/alpine.min.js:5
Function
$t
static/js/alpine.min.js:5
Function
An
()
static/js/alpine.min.js:5
Function
Bn
(e)
static/js/htmx.min.js:1
← previous
next →
1,001–1,100 of 3,156, ranked by callers