MCPcopy Create free account

hub / github.com/SamuelZ12/longcut / functions

Functions698 in github.com/SamuelZ12/longcut

FunctionNoteEditor
({ selectedText, metadata, currentTime, onSave }: NoteEditorProps)
components/note-editor.tsx:20
FunctionNotesPanel
({ notes = [], onDeleteNote, editingNote, onSaveEditingNote, onCancelEditing, isAuthenticated = tr
components/notes-panel.tsx:111
FunctionPOST
(req: NextRequest)
app/api/email/send-welcome/route.ts:32
FunctionPOST
()
app/api/auth/signout/route.ts:5
FunctionPOST
(request: Request)
app/api/newsletter/unsubscribe/route.ts:4
FunctionPlanFeaturesList
({ features, icons, footer }: { features: string[] icons?: (string | ReactNode)[] footer?: ReactNo
app/pricing/pricing-content.tsx:297
FunctionPlayAllProvider
({ children }: { children: ReactNode })
contexts/play-all-context.tsx:18
FunctionPricingContent
({ isAuthenticated, tier, status, cancelAtPeriodEnd }: PricingContentProps)
app/pricing/pricing-content.tsx:28
FunctionPricingPage
()
app/pricing/page.tsx:6
FunctionPrivacyPage
()
app/privacy/page.tsx:11
FunctionProgress
({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>)
components/ui/progress.tsx:8
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:30
FunctionSafePortal
({ children }: { children: ReactNode })
lib/safe-portal.tsx:17
FunctionScrollArea
({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>)
components/ui/scroll-area.tsx:8
FunctionScrollBar
({ className, orientation = "vertical", ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Scro
components/ui/scroll-area.tsx:31
FunctionSelect
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Root>)
components/ui/select.tsx:9
FunctionSelectContent
({ className, children, position = "popper", ...props }: React.ComponentProps<typeof SelectPrimitive.C
components/ui/select.tsx:53
FunctionSelectGroup
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Group>)
components/ui/select.tsx:15
FunctionSelectItem
({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>)
components/ui/select.tsx:101
FunctionSelectLabel
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>)
components/ui/select.tsx:88
FunctionSelectScrollDownButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollDownButton>)
components/ui/select.tsx:156
FunctionSelectScrollUpButton
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.ScrollUpButton>)
components/ui/select.tsx:138
FunctionSelectSeparator
({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>)
components/ui/select.tsx:125
FunctionSelectTrigger
({ className, size = "default", children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trig
components/ui/select.tsx:27
FunctionSelectValue
({ ...props }: React.ComponentProps<typeof SelectPrimitive.Value>)
components/ui/select.tsx:21
FunctionSelectionActions
({ containerRef, onExplain, onTakeNote, getMetadata, disabled, source, }: SelectionActionsProps)
components/selection-actions.tsx:42
FunctionSeparator
({ className, orientation = "horizontal", decorative = true, ...props }: React.ComponentProps<typeof S
components/ui/separator.tsx:8
FunctionSettingsForm
({ user, profile, videoCount, subscription }: SettingsFormProps)
app/settings/settings-form.tsx:171
FunctionSettingsPage
()
app/settings/page.tsx:10
FunctionSkeleton
({ className, ...props }: React.ComponentProps<"div">)
components/ui/skeleton.tsx:3
FunctionSlider
({ className, defaultValue, value, min = 0, max = 100, ...props }: React.ComponentProps<typeof Sli
components/ui/slider.tsx:8
FunctionSuggestedQuestions
({ questions, onQuestionClick, isChatLoading = false, }: SuggestedQuestionsProps)
components/suggested-questions.tsx:23
FunctionSummaryViewer
({ content, onTimestampClick, collapsibleSections = true, onRetry, showActions = false, onSaveNote }: SummaryV
components/summary-viewer.tsx:30
FunctionTabs
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>)
components/ui/tabs.tsx:8
FunctionTabsContent
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>)
components/ui/tabs.tsx:53
FunctionTabsList
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.List>)
components/ui/tabs.tsx:21
FunctionTabsTrigger
({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>)
components/ui/tabs.tsx:37
FunctionTermsPage
()
app/terms/page.tsx:12
FunctionTextarea
({ className, ...props }: React.ComponentProps<"textarea">)
components/ui/textarea.tsx:5
FunctionThemeSelector
({ themes, selectedTheme, onSelect, isLoading = false, error = null, selectedLanguage = null, on
components/theme-selector.tsx:20
FunctionTimestampButton
({ timestamp, seconds, onClick, className, showIcon = true }: TimestampButtonProps)
components/timestamp-button.tsx:15
FunctionToastProvider
()
components/toast-provider.tsx:5
FunctionTooltip
({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>)
components/ui/tooltip.tsx:21
FunctionTooltipContent
({ className, sideOffset = 0, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Conte
components/ui/tooltip.tsx:35
FunctionTooltipProvider
({ delayDuration = 0, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>)
components/ui/tooltip.tsx:8
FunctionTooltipTrigger
({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>)
components/ui/tooltip.tsx:29
FunctionTopicCard
({ topic, isSelected, onClick, topicIndex, onPlayTopic, videoId, selectedLanguage = null, onRequestTranslation
components/topic-card.tsx:19
FunctionTranscriptExportDialog
({ open, onOpenChange, format, onFormatChange, exportMode, onExportModeChange, targetLanguage,
components/transcript-export-dialog.tsx:96
FunctionTranscriptExportUpsell
({ open, onOpenChange, onUpgradeClick, onDismiss, }: TranscriptExportUpsellProps)
components/transcript-export-upsell.tsx:29
FunctionTranscriptViewer
({ transcript, selectedTopic, onTimestampClick, currentTime = 0, topics = [], citationHighlight,
components/transcript-viewer.tsx:36
FunctionUnsubscribeContent
()
app/unsubscribe/page.tsx:7
FunctionUnsubscribePage
()
app/unsubscribe/page.tsx:94
FunctionUrlInput
({ onSubmit, isLoading = false, mode, onModeChange, onFeelingLucky, isFeelingLucky = false, }: Url
components/url-input.tsx:22
FunctionUrlInputWithBranding
({ onSubmit, isLoading = false, initialUrl, mode, onModeChange }: UrlInputWithBrandingProps)
components/url-input-with-branding.tsx:23
FunctionUsageIndicator
({ counted, baseLimit, baseRemaining, topupRemaining, resetAt, compact = false, className, war
components/usage-indicator.tsx:49
FunctionUserMenu
()
components/user-menu.tsx:20
FunctionVideoGrid
({ videos }: VideoGridProps)
app/my-videos/video-grid.tsx:54
FunctionVideoHeader
({ videoInfo, videoId, isFavorite = false, onFavoriteToggle }: VideoHeaderProps)
components/video-header.tsx:19
FunctionVideoPage
({ params }: PageProps)
app/v/[slug]/page.tsx:165
FunctionVideoPageClient
({ videoId, slug }: VideoPageClientProps)
app/v/[slug]/video-page-client.tsx:26
FunctionVideoProgressBar
({ videoDuration, currentTime, topics, selectedTopic, onSeek, onTopicSelect, onPlayTopic, vide
components/video-progress-bar.tsx:32
FunctionVideoSkeleton
()
components/video-skeleton.tsx:1
FunctionYouTubePlayerComponent
({ videoId, selectedTopic, onTimeUpdate, playbackCommand, onCommandExecuted, onPlayerReady, topi
components/youtube-player.tsx:127
FunctionattachVideoAnalysisToGeneration
( generationId: string, videoAnalysisId: string, options?: { client?: DatabaseClient } )
lib/subscription-manager.ts:466
MethodbuildLineDelimitedPrompt
* Build line-delimited prompt for translation (more robust than JSON) * @deprecated Use buildIndexedPrompt instead - kept as fallback
lib/translation/llm-translate-client.ts:347
MethodbuildPrompt
* Build scenario-specific prompt for translation (legacy JSON format) * @deprecated Use buildLineDelimitedPrompt instead
lib/translation/llm-translate-client.ts:400
FunctioncalculateSegmentCharOffsets
( segments: { text: string; start: number; duration: number }[] )
lib/sentence-utils.ts:165
Methodconstructor
( batchDelay: number = 20, maxBatchSize: number = 1000, cache: Map<string, string>, maxRetries
lib/translation-batcher.ts:36
Methodconstructor
(code: TranscriptErrorCode, message: string)
lib/youtube-transcript-provider.ts:47
Methodconstructor
(options: { temperature?: number } = {})
lib/translation/llm-translate-client.ts:28
FunctionconsumeVideoCredit
({ userId, youtubeId, subscription, statsSnapshot, videoAnalysisId, counted = true, identifier,
lib/subscription-manager.ts:333
FunctioncreateGeminiAdapter
()
lib/ai-providers/gemini-adapter.ts:198
FunctioncreateGrokAdapter
()
lib/ai-providers/grok-adapter.ts:167
MethodcreateToken
* Generate and store a CSRF token for a session
lib/csrf-protection.ts:120
FunctionendsWithCompleteSentence
(text: string)
lib/sentence-utils.ts:43
FunctionexecuteCommand
()
components/youtube-player.tsx:432
FunctionextendToSentenceBoundaries
( text: string, startChar: number, endChar: number, minLength: number = 50 )
lib/sentence-utils.ts:94
FunctionextractSegmentLanguage
(segment: unknown)
lib/transcript-language.ts:32
FunctionextractSegmentText
(segment: unknown)
lib/transcript-language.ts:49
FunctionfindSegmentsForCharRange
( segments: { text: string }[], startChar: number, endChar: number )
lib/sentence-utils.ts:184
FunctionfindSentenceBoundariesInRange
( text: string, startChar: number, endChar: number )
lib/sentence-utils.ts:61
FunctionformatTimestamp
(totalSeconds: number)
lib/timestamp-utils.ts:39
FunctionformatTopicDuration
(seconds: number)
lib/utils.ts:36
Functiongenerate
(params: ProviderGenerateParams)
lib/ai-providers/grok-adapter.ts:181
Functiongenerate
(params: ProviderGenerateParams)
lib/ai-providers/gemini-adapter.ts:211
Functiongenerate
(params: ProviderGenerateParams)
lib/ai-providers/minimax-adapter.ts:244
FunctiongenerateAIResult
( prompt: string, options: GenerateAIOptions = {} )
lib/ai-client.ts:67
FunctiongenerateMetadata
({ params }: PageProps)
app/v/[slug]/page.tsx:82
FunctiongetAll
()
lib/supabase/middleware.ts:14
FunctiongetAll
()
lib/supabase/server.ts:12
FunctiongetClientProviderKey
()
lib/ai-providers/client-config.ts:13
FunctiongetPeriodBounds
(subStart: Date)
lib/usage-tracker.ts:30
FunctiongetPlanLimiter
( tier: SubscriptionTier | 'anonymous' )
lib/rate-limiter.ts:304
FunctiongetRemainingCredits
({ baseLimit, countedUsage, topupCredits, }: RemainingCreditParams)
lib/usage-tracker.ts:100
FunctiongetRemainingCredits
( userId: string, options?: { client?: DatabaseClient; now?: Date } )
lib/subscription-manager.ts:483
MethodgetSignal
(key: string)
lib/promise-utils.ts:112
MethodgetStats
* Get queue statistics
lib/translation-batcher.ts:334
FunctiongetStripe
()
lib/stripe-browser.ts:17
FunctiongetTopicColor
(index: number)
lib/utils.ts:47
FunctiongetTranscriptFormatStats
(transcript: TranscriptSegment[])
lib/transcript-format-detector.ts:118
← previousnext →501–600 of 698, ranked by callers