MCPcopy Create free account

hub / github.com/bluesky-social/cookbook / functions

Functions129 in github.com/bluesky-social/cookbook

↓ 10 callersFunctionis_safe_url
(url)
python-oauth-web-app/atproto_security.py:7
↓ 9 callersFunctionis_valid_did
(did: str)
python-oauth-web-app/atproto_identity.py:17
↓ 8 callersFunctionparse_urls
(text: str)
python-bsky-post/create_bsky_post.py:62
↓ 7 callersFunctionparse_mentions
(text: str)
python-bsky-post/create_bsky_post.py:30
↓ 6 callersFunctionis_valid_handle
(handle: str)
python-oauth-web-app/atproto_identity.py:13
↓ 6 callersFunctionquery_db
(query, args=(), one=False)
python-oauth-web-app/app.py:89
↓ 6 callersFunctionuseSession
()
react-native-oauth/components/SessionProvider.tsx:160
↓ 4 callersFunctionauth_server_post
( authserver_url: str, client_id: str, client_secret_jwk: JsonWebKey, dpop_private_jwk: JsonWe
python-oauth-web-app/atproto_oauth.py:114
↓ 4 callersFunctioncompute_client_id
(url_root)
python-oauth-web-app/app.py:55
↓ 4 callersFunctionextract_facets
(text: str)
python-oauth-web-app/bsky_util.py:5
↓ 4 callersFunctionfetch_authserver_meta
(url: str)
python-oauth-web-app/atproto_oauth.py:60
↓ 4 callersFunctionget_db
()
python-oauth-web-app/app.py:73
↓ 4 callersFunctionresolve_identity
(atid: str)
python-oauth-web-app/atproto_identity.py:31
↓ 3 callersFunctionNewSqliteStore
(cfg *SqliteStoreConfig)
go-oauth-web-app/sqlitestore.go:51
↓ 3 callersFunctionbuildOAuthClient
()
go-oauth-cli-app/main.go:66
↓ 3 callersMethodcurrentSessionDID
(r *http.Request)
go-oauth-web-app/main.go:182
↓ 3 callersFunctionresolve_did
(did: str)
python-oauth-web-app/atproto_identity.py:90
↓ 3 callersFunctionresolve_handle
(handle: str)
python-oauth-web-app/atproto_identity.py:59
↓ 3 callersFunctionresolve_pds_authserver
(url: str)
python-oauth-web-app/atproto_oauth.py:47
↓ 3 callersFunctionstrPtr
(raw string)
go-oauth-web-app/main.go:204
↓ 2 callersMethodGetAuthRequestInfo
(ctx context.Context, state string)
go-oauth-web-app/sqlitestore.go:119
↓ 2 callersMethodGetMostRecentSession
not part of the ClientAuthStore interface, just used for the CLI app
go-oauth-cli-app/sqlitestore.go:100
↓ 2 callersMethodGetSession
(ctx context.Context, did syntax.DID, sessionID string)
go-oauth-web-app/sqlitestore.go:79
↓ 2 callersFunctionauthserver_dpop_jwt
( method: str, url: str, nonce: str, dpop_private_jwk: JsonWebKey )
python-oauth-web-app/atproto_oauth.py:91
↓ 2 callersFunctiondoLogin
(identifier)
vanillajs-oauth-web-app/main.js:84
↓ 2 callersFunctionhandle_from_doc
(doc: dict)
python-oauth-web-app/atproto_identity.py:21
↓ 2 callersFunctionis_use_dpop_nonce_error_response
(resp: Response)
python-oauth-web-app/atproto_oauth.py:367
↓ 2 callersFunctionparse_uri
(uri: str)
python-bsky-post/create_bsky_post.py:147
↓ 2 callersFunctionpds_endpoint
(doc: dict)
python-oauth-web-app/atproto_identity.py:114
↓ 2 callersFunctionupload_file
(pds_url, access_token, filename, img_bytes)
python-bsky-post/create_bsky_post.py:200
↓ 2 callersFunctionuseBskyAgent
()
react-native-oauth/components/BskyAgentProvider.tsx:55
↓ 1 callersMethodDeleteAuthRequestInfo
(ctx context.Context, state string)
go-oauth-web-app/sqlitestore.go:142
↓ 1 callersMethodDeleteSession
(ctx context.Context, did syntax.DID, sessionID string)
go-oauth-web-app/sqlitestore.go:111
↓ 1 callersFunctionNewSqliteStore
(cfg *SqliteStoreConfig)
go-oauth-cli-app/sqlitestore.go:51
↓ 1 callersMethodPost
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:354
↓ 1 callersMethodSaveAuthRequestInfo
(ctx context.Context, info oauth.AuthRequestData)
go-oauth-web-app/sqlitestore.go:133
↓ 1 callersMethodSaveSession
(ctx context.Context, sess oauth.ClientSessionData)
go-oauth-web-app/sqlitestore.go:99
↓ 1 callersFunctionblobDownloadAll
(raw string)
go-repo-export/main.go:217
↓ 1 callersFunctionblobList
(raw string)
go-repo-export/main.go:179
↓ 1 callersFunctionbsky_login_session
(pds_url: str, handle: str, password: str)
python-bsky-post/create_bsky_post.py:21
↓ 1 callersFunctionbuildClientID
()
vanillajs-oauth-web-app/main.js:4
↓ 1 callersFunctioncarDownload
(raw string)
go-repo-export/main.go:47
↓ 1 callersFunctioncarList
(carPath string)
go-repo-export/main.go:77
↓ 1 callersFunctioncarUnpack
(carPath string)
go-repo-export/main.go:109
↓ 1 callersFunctionclient_assertion_jwt
( client_id: str, authserver_url: str, client_secret_jwk: JsonWebKey )
python-oauth-web-app/atproto_oauth.py:73
↓ 1 callersFunctioncreate_post
(args)
python-bsky-post/create_bsky_post.py:298
↓ 1 callersFunctiondoPost
(message)
vanillajs-oauth-web-app/main.js:99
↓ 1 callersFunctionfetch_embed_url_card
(pds_url: str, access_token: str, url: str)
python-bsky-post/create_bsky_post.py:243
↓ 1 callersFunctionfixInput
(input: string)
react-native-oauth/components/SignInForm.tsx:88
↓ 1 callersFunctionget_embed_ref
(pds_url: str, ref_uri: str)
python-bsky-post/create_bsky_post.py:279
↓ 1 callersFunctionget_reply_refs
(pds_url: str, parent_uri: str)
python-bsky-post/create_bsky_post.py:164
↓ 1 callersFunctioninit_db
()
python-oauth-web-app/app.py:99
↓ 1 callersFunctioninitial_token_request
( auth_request: dict, code: str, client_id: str, redirect_uri: str, client_secret_jwk: Jso
python-oauth-web-app/atproto_oauth.py:205
↓ 1 callersFunctionis_valid_authserver_meta
(obj: dict, url: str)
python-oauth-web-app/atproto_oauth.py:17
↓ 1 callersFunctionlistenForCallback
listens in the background and immediately returns the now-listening port number. When the callback endpoint is requested, it returns the query paramet
go-oauth-cli-app/main.go:25
↓ 1 callersFunctionmain
()
python-bsky-post/create_bsky_post.py:353
↓ 1 callersFunctionmain
()
ts-bot/index.ts:14
↓ 1 callersFunctionmain
()
ts-bot/index.js:35
↓ 1 callersFunctionparseFacets
Allow Unicode letters + Unicode numbers TODO: support more than just hashtags!
go-oauth-web-app/util.go:10
↓ 1 callersFunctionparse_facets
parses post text and returns a list of app.bsky.richtext.facet objects for any mentions (@handle.example.com) or URLs (https://example.com)
python-bsky-post/create_bsky_post.py:103
↓ 1 callersFunctionparse_full_aturi
(uri: str)
python-oauth-web-app/atproto_util.py:1
↓ 1 callersFunctionparse_www_authenticate
(data: str)
python-oauth-web-app/atproto_oauth.py:357
↓ 1 callersFunctionpds_authed_req
(method: str, url: str, user: dict, db: Any, body=None)
python-oauth-web-app/atproto_oauth.py:386
↓ 1 callersFunctionpds_dpop_jwt
( method: str, url: str, access_token: str, nonce: str, dpop_private_jwk: JsonWebKey, )
python-oauth-web-app/atproto_oauth.py:330
↓ 1 callersFunctionprepareDbPath
Follows XDG conventions and creates the directories if necessary. By default, on linux, this will be "~/.local/share/go-oauth-cli-app/oauth_sessions.s
go-oauth-cli-app/main.go:56
↓ 1 callersFunctionrefresh_token_request
( user: dict, client_id: str, client_secret_jwk: JsonWebKey, )
python-oauth-web-app/atproto_oauth.py:250
↓ 1 callersFunctionrevoke_token_request
( user: dict, client_id: str, client_secret_jwk: JsonWebKey, )
python-oauth-web-app/atproto_oauth.py:291
↓ 1 callersFunctionrun
()
go-repo-export/main.go:27
↓ 1 callersFunctionsend_par_auth_request
( authserver_url: str, authserver_meta: dict, login_hint: str, client_id: str, redirect_ur
python-oauth-web-app/atproto_oauth.py:158
↓ 1 callersFunctionupload_images
( pds_url: str, access_token: str, image_paths: List[str], alt_text: str )
python-bsky-post/create_bsky_post.py:223
↓ 1 callersFunctionuseGetSessionQuery
()
react-native-oauth/app/(authenticated)/index.tsx:51
↓ 1 callersFunctionuseOAuthSession
()
react-native-oauth/components/SessionProvider.tsx:164
↓ 1 callersFunctionusePdsAgent
()
react-native-oauth/components/PdsAgentProvider.tsx:30
↓ 1 callersFunctionuseProfileQuery
(actor: string)
react-native-oauth/app/(authenticated)/index.tsx:96
FunctionAccountInfo
()
react-native-oauth/app/(authenticated)/index.tsx:31
FunctionAuthenticatedLayout
()
react-native-oauth/app/(authenticated)/_layout.tsx:4
FunctionBskyAgentProvider
({ children }: PropsWithChildren)
react-native-oauth/components/BskyAgentProvider.tsx:13
MethodClientMetadata
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:208
MethodDeleteAuthRequestInfo
(ctx context.Context, state string)
go-oauth-cli-app/sqlitestore.go:155
MethodDeleteSession
(ctx context.Context, did syntax.DID, sessionID string)
go-oauth-cli-app/sqlitestore.go:124
FunctionDidWebEndpoint
(w http.ResponseWriter, r *http.Request)
go-xrpc-server/main.go:120
FunctionEchoEndpoint
(w http.ResponseWriter, r *http.Request)
go-xrpc-server/main.go:95
MethodGetAuthRequestInfo
(ctx context.Context, state string)
go-oauth-cli-app/sqlitestore.go:132
MethodGetSession
(ctx context.Context, did syntax.DID, sessionID string)
go-oauth-cli-app/sqlitestore.go:79
FunctionHomeEndpoint
(w http.ResponseWriter, r *http.Request)
go-xrpc-server/main.go:138
MethodHomepage
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:241
FunctionIndex
()
react-native-oauth/app/(authenticated)/index.tsx:10
MethodJWKS
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:232
FunctionLayout
()
react-native-oauth/app/_layout.tsx:9
MethodOAuthCallback
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:287
MethodOAuthLogin
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:259
MethodOAuthLogout
(w http.ResponseWriter, r *http.Request)
go-oauth-web-app/main.go:331
FunctionPdsAgentProvider
({ children }: PropsWithChildren)
react-native-oauth/components/PdsAgentProvider.tsx:9
FunctionProfileCard
({ actor }: { actor: string })
react-native-oauth/app/(authenticated)/index.tsx:65
FunctionRootNavigator
()
react-native-oauth/app/_layout.tsx:22
MethodSaveAuthRequestInfo
(ctx context.Context, info oauth.AuthRequestData)
go-oauth-cli-app/sqlitestore.go:146
MethodSaveSession
(ctx context.Context, sess oauth.ClientSessionData)
go-oauth-cli-app/sqlitestore.go:112
FunctionSessionProvider
({ client, children, }: PropsWithChildren<{ client: ExpoOAuthClientInterface }>)
react-native-oauth/components/SessionProvider.tsx:35
FunctionSignIn
()
react-native-oauth/app/sign-in.tsx:4
FunctionSignInForm
({ signIn, disabled = !signIn, }: { signIn?: (input: string) => Promise<void> disabled?: boolean })
react-native-oauth/components/SignInForm.tsx:4
next →1–100 of 129, ranked by callers