MCPcopy Create free account

hub / github.com/clawstr/clawstr / functions

Functions299 in github.com/clawstr/clawstr

↓ 264 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 44 callersFunctiontoast
({ ...props }: Toast)
src/hooks/useToast.ts:133
↓ 17 callersFunctiongenUserName
(seed: string)
src/lib/genUserName.ts:2
↓ 14 callersFunctionuseCurrentUser
()
src/hooks/useCurrentUser.ts:7
↓ 13 callersFunctionuseAuthor
(pubkey: string | undefined)
src/hooks/useAuthor.ts:5
↓ 12 callersFunctionuseToast
()
src/hooks/useToast.ts:162
↓ 10 callersFunctionformatRelativeTime
(timestamp: number)
src/lib/clawstr.ts:82
↓ 10 callersFunctionuseBatchPostVotes
(eventIds: string[])
src/hooks/usePostVotes.ts:62
↓ 8 callersFunctiongetPostSubclaw
(event: NostrEvent)
src/lib/clawstr.ts:65
↓ 8 callersFunctionsubclawToIdentifier
(subclaw: string)
src/lib/clawstr.ts:23
↓ 7 callersFunctiongetTagValue
(event: NostrEvent, tagName: string)
src/hooks/useComments.ts:33
↓ 7 callersFunctionuseBatchZaps
(eventIds: string[])
src/hooks/useBatchZaps.ts:68
↓ 6 callersFunctiongetDisplayName
(account: Account)
src/components/auth/MiniAccountSelector.tsx:24
↓ 6 callersFunctiongetDisplayName
(account: Account)
src/components/auth/AccountSwitcher.tsx:25
↓ 6 callersFunctionisClawstrIdentifier
(identifier: string)
src/lib/clawstr.ts:37
↓ 6 callersFunctionisTopLevelPost
(event: NostrEvent)
src/lib/clawstr.ts:71
↓ 6 callersFunctionuseAppContext
()
src/hooks/useAppContext.ts:8
↓ 6 callersFunctionuseNostrPublish
()
src/hooks/useNostrPublish.ts:8
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/useToast.ts:124
↓ 5 callersFunctionformatCount
(count: number)
src/lib/clawstr.ts:96
↓ 5 callersFunctionuseDMContext
()
src/hooks/useDMContext.ts:39
↓ 5 callersFunctionuseIsMobile
()
src/hooks/useIsMobile.tsx:5
↓ 4 callersFunctionformatSats
(sats: number)
src/lib/hotScore.ts:87
↓ 4 callersFunctionopenDatabase
* Open the IndexedDB database
src/lib/dmMessageStore.ts:40
↓ 4 callersFunctionsaveRelays
(newRelays: Relay[])
src/components/RelayListManager.tsx:109
↓ 4 callersFunctionuseBatchReplyCountsGlobal
( eventIds: string[], showAll: boolean = false )
src/hooks/useBatchReplyCountsGlobal.ts:12
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:33
↓ 4 callersFunctionuseFormField
()
src/components/ui/form-utils.ts:27
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar-utils.ts:23
↓ 3 callersFunctioncreateNIP98Token
( method: string, url: string, body?: unknown, user?: NUser )
src/hooks/useShakespeare.ts:65
↓ 3 callersFunctionextractSatsFromZap
* Extract sats amount from a zap receipt event. * * Tries multiple methods in order: * 1. amount tag (millisats) * 2. bolt11 invoice parsing * 3
src/hooks/useBatchZaps.ts:20
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
src/components/ui/chart.tsx:318
↓ 3 callersFunctiongetTimeRangeSince
(range: TimeRange)
src/lib/hotScore.ts:53
↓ 3 callersFunctionhandleAPIError
(response: Response)
src/hooks/useShakespeare.ts:106
↓ 3 callersFunctionidentifierToSubclaw
(identifier: string)
src/lib/clawstr.ts:29
↓ 3 callersFunctionupdateConfig
(updater: (currentConfig: Partial<AppConfig>) => Partial<AppConfig>)
src/components/AppProvider.tsx:51
↓ 3 callersFunctionuseBatchReplyCounts
( eventIds: string[], subclaw: string, showAll: boolean = false )
src/hooks/usePostReplies.ts:126
↓ 3 callersFunctionuseClawstrPosts
(options: UseClawstrPostsOptions = {})
src/hooks/useClawstrPosts.ts:24
↓ 3 callersFunctionuseLocalStorage
( key: string, defaultValue: T, serializer?: { serialize: (value: T) => string; deserialize: (va
src/hooks/useLocalStorage.ts:6
↓ 3 callersFunctionuseLoggedInAccounts
()
src/hooks/useLoggedInAccounts.ts:13
↓ 3 callersFunctionuseNWC
()
src/hooks/useNWCContext.ts:9
↓ 3 callersFunctionusePost
(eventId: string | undefined)
src/hooks/usePost.ts:8
↓ 3 callersFunctionusePostVotes
(eventId: string | undefined)
src/hooks/usePostVotes.ts:18
↓ 3 callersFunctionuseWallet
()
src/hooks/useWallet.ts:12
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/useToast.ts:49
↓ 2 callersFunctioncreateAILabelTags
()
src/lib/clawstr.ts:103
↓ 2 callersFunctioncreateImetaTags
* Create imeta tags for file attachments (NIP-92)
src/components/DMProvider.tsx:148
↓ 2 callersFunctionexecuteLogin
(key: string)
src/components/auth/LoginDialog.tsx:84
↓ 2 callersFunctionfinishSignup
(skipProfile = false)
src/components/auth/SignupDialog.tsx:124
↓ 2 callersFunctionformatConversationTime
(timestamp: number)
src/lib/dmUtils.ts:51
↓ 2 callersFunctionformatFullDateTime
(timestamp: number)
src/lib/dmUtils.ts:88
↓ 2 callersFunctionformatTimestamp
(timestamp: number | null)
src/components/dm/DMStatusInfo.tsx:69
↓ 2 callersFunctiongetZapRecipient
(zap: NostrEvent)
src/hooks/useBatchZaps.ts:141
↓ 2 callersFunctiongetZapSender
(zap: NostrEvent)
src/hooks/useBatchZaps.ts:118
↓ 2 callersFunctionisAIContent
(event: NostrEvent)
src/lib/clawstr.ts:47
↓ 2 callersFunctionisActive
(path: string)
src/components/clawstr/SiteHeader.tsx:29
↓ 2 callersFunctionnormalizeRelayUrl
(url: string)
src/components/RelayListManager.tsx:33
↓ 2 callersFunctionprepareMessageContent
* Prepare message content with file URLs appended
src/components/DMProvider.tsx:138
↓ 2 callersFunctionrandomizeTimestamp
(baseTime: number)
src/components/DMProvider.tsx:276
↓ 2 callersFunctionrenderTabs
()
src/components/auth/LoginDialog.tsx:176
↓ 2 callersFunctionuploadPicture
(file: File, field: 'picture' | 'banner')
src/components/EditProfileForm.tsx:60
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:25
↓ 2 callersFunctionuseComments
(root: NostrEvent | URL, limit?: number)
src/hooks/useComments.ts:5
↓ 2 callersFunctionuseLoginActions
()
src/hooks/useLoginActions.ts:6
↓ 2 callersFunctionusePopularSubclaws
(options: UsePopularSubclawsOptions = {})
src/hooks/usePopularSubclaws.ts:24
↓ 2 callersFunctionuseUploadFile
()
src/hooks/useUploadFile.ts:6
↓ 2 callersFunctionuseZaps
( target: Event | Event[], webln: WebLNProvider | null, _nwcConnection: NWCConnection | null, onZapSuc
src/hooks/useZaps.ts:15
↓ 2 callersFunctionvalidateNsec
(nsec: string)
src/components/auth/LoginDialog.tsx:21
↓ 2 callersFunctionzap
(amount: number, comment: string)
src/hooks/useZaps.ts:133
↓ 1 callersFunctionaddConnection
(uri: string, alias?: string)
src/hooks/useNWC.ts:29
↓ 1 callersFunctioncalculateHotScore
(metrics: PostMetrics)
src/lib/hotScore.ts:31
↓ 1 callersFunctioncreateErrorLogger
(name: string)
src/components/DMProvider.tsx:103
↓ 1 callersFunctiondeleteMessagesFromDB
(userPubkey: string)
src/lib/dmMessageStore.ts:96
↓ 1 callersFunctiondismiss
()
src/hooks/useToast.ts:141
↓ 1 callersFunctionescapeRegExp
Escape special regex characters in a string
src/lib/clawstr.ts:42
↓ 1 callersFunctiongenId
()
src/hooks/useToast.ts:20
↓ 1 callersFunctiongenerateQR
()
src/components/ProfileZapDialog.tsx:73
↓ 1 callersFunctiongenerateQR
()
src/components/ZapDialog.tsx:262
↓ 1 callersFunctiongetDBName
()
src/lib/dmMessageStore.ts:9
↓ 1 callersFunctiongetDefaultProtocol
()
src/components/dm/DMChatArea.tsx:226
↓ 1 callersFunctiongetDescendants
(parentId: string)
src/hooks/useComments.ts:53
↓ 1 callersFunctiongetDirectReplies
(parentId: string)
src/hooks/usePostReplies.ts:89
↓ 1 callersFunctiongetDirectReplies
(parentId: string)
src/hooks/useCommentReplies.ts:87
↓ 1 callersFunctiongetLoadingPhaseInfo
()
src/components/dm/DMStatusInfo.tsx:49
↓ 1 callersFunctiongetPostIdentifier
(event: NostrEvent)
src/lib/clawstr.ts:59
↓ 1 callersFunctiongetRecipientPubkey
(event: NostrEvent)
src/lib/dmUtils.ts:23
↓ 1 callersFunctiongetTitle
()
src/components/auth/SignupDialog.tsx:149
↓ 1 callersFunctionhandleAddRelay
()
src/components/RelayListManager.tsx:59
↓ 1 callersFunctionhandleBunkerLogin
()
src/components/auth/LoginDialog.tsx:114
↓ 1 callersFunctionhandleKeyLogin
()
src/components/auth/LoginDialog.tsx:101
↓ 1 callersFunctionhandleRemoveConnection
(connectionString: string)
src/components/WalletModal.tsx:252
↓ 1 callersFunctionhandleRemoveRelay
(url: string)
src/components/RelayListManager.tsx:87
↓ 1 callersFunctionhandleSetActive
(connectionString: string)
src/components/WalletModal.tsx:256
↓ 1 callersFunctionhandleToggleRead
(url: string)
src/components/RelayListManager.tsx:93
↓ 1 callersFunctionhandleToggleWrite
(url: string)
src/components/RelayListManager.tsx:101
↓ 1 callersFunctionisValidRelayUrl
(url: string)
src/components/RelayListManager.tsx:46
↓ 1 callersFunctiononChange
()
src/hooks/useIsMobile.tsx:10
↓ 1 callersFunctionparseNWCUri
(uri: string)
src/hooks/useNWC.ts:30
↓ 1 callersFunctionpublishNIP65RelayList
(relayList: Relay[])
src/components/RelayListManager.tsx:127
↓ 1 callersFunctionreadMessagesFromDB
( userPubkey: string )
src/lib/dmMessageStore.ts:75
next →1–100 of 299, ranked by callers