Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/blackmann/compa
/ functions
Functions
349 in github.com/blackmann/compa
⨍
Functions
349
◇
Types & classes
52
↓ 34 callers
Function
checkAuth
(request: Request)
client/app/lib/check-auth.ts:5
↓ 8 callers
Function
timeFromString
(time?: string)
client/app/lib/time.ts:3
↓ 7 callers
Method
on
(event: T, callback: CallbackMap[T])
client/app/lib/boat-client.ts:167
↓ 7 callers
Function
render
(content: string)
client/app/lib/render.server.ts:29
↓ 6 callers
Function
submit
(data: FieldValues)
client/app/components/large-select.tsx:189
↓ 6 callers
Function
timeToString
(time: number)
client/app/lib/time.ts:9
↓ 5 callers
Function
ellipsizeFilename
(name: string, length = 14)
client/app/lib/files.ts:1
↓ 5 callers
Function
notFound
(data: Data = null)
client/app/lib/responses.ts:13
↓ 4 callers
Method
disconnect
()
client/app/lib/boat-client.ts:116
↓ 4 callers
Function
humanizeSize
(s: number)
client/app/lib/files.ts:14
↓ 4 callers
Function
useParlon
()
client/app/lib/parlon-context.tsx:130
↓ 3 callers
Function
postTime
(time: Date | string)
client/app/components/post-time.tsx:6
↓ 3 callers
Function
randomStr
(length = 8)
client/app/lib/random-str.ts:4
↓ 3 callers
Function
renderSummary
(content: string)
client/app/lib/render-summary.server.ts:32
↓ 3 callers
Function
slugify
( text: string, /** Add random characters at the end of the generated slug */ mangle = false, )
client/app/lib/slugify.ts:1
↓ 3 callers
Function
uploadMedia
(file: File)
client/app/lib/upload-media.ts:7
↓ 3 callers
Function
useAsyncFetcher
()
client/app/lib/use-async-fetcher.ts:7
↓ 2 callers
Method
admit
(peerId: string)
client/app/lib/boat-client.ts:121
↓ 2 callers
Function
checkMod
(request: Request)
client/app/lib/check-mod.ts:5
↓ 2 callers
Function
createPost
(data: Record<string, any>, userId: number)
client/app/lib/create-post.ts:4
↓ 2 callers
Function
createTagsQuery
(tagsParam: Record<string, any> = {})
client/app/lib/create-tags-query.ts:1
↓ 2 callers
Function
ellipsize
(str: string, length = 48)
client/app/lib/ellipsize.ts:1
↓ 2 callers
Function
getErrorLabel
(code: number)
client/app/components/error-boundary.tsx:29
↓ 2 callers
Function
hash
(password: string)
client/app/lib/password.server.ts:5
↓ 2 callers
Function
includeVotes
( posts: (Post & { vote?: boolean })[], request: Request, )
client/app/lib/include-votes.ts:5
↓ 2 callers
Function
installMiddleware
(prisma: PrismaClient)
client/app/lib/prisma.server.ts:20
↓ 2 callers
Function
isBefore
(startTime: string, endTime: string)
client/app/lib/time.ts:17
↓ 2 callers
Function
isImage
(contentType: string, basic = false)
client/app/lib/is-image.ts:1
↓ 2 callers
Function
methodNotAllowed
(data: Data = null)
client/app/lib/responses.ts:9
↓ 2 callers
Function
refresh
()
client/app/root.tsx:83
↓ 2 callers
Function
sendEmailVerification
(email: string)
client/app/lib/send-email-verification.ts:6
↓ 2 callers
Function
stringifySelections
(selections: Selections)
client/app/components/tag-input.tsx:329
↓ 2 callers
Function
timeToInputValue
(time: number)
client/app/lib/time.ts:13
↓ 2 callers
Function
updatePostProps
(postId: number)
client/app/routes/discussions_.$id.tsx:105
↓ 2 callers
Function
upload
( stream: AsyncIterable<Uint8Array> | Buffer, filename: string, contentType?: string, )
client/app/lib/s3.server.ts:20
↓ 2 callers
Function
useMounted
()
client/app/lib/use-mounted.ts:3
↓ 2 callers
Function
useTagInputCtx
()
client/app/components/tag-input.tsx:39
↓ 2 callers
Function
vote
(up: boolean)
client/app/components/votes.tsx:19
↓ 2 callers
Function
withUserPrefs
( request: Request, values: Record<string, string | undefined>, )
client/app/lib/with-user-prefs.ts:3
↓ 1 callers
Function
asyncIterableToBuffer
(asyncIterable: AsyncIterable<Uint8Array>)
client/app/routes/media.tsx:74
↓ 1 callers
Function
compare
(password: string, hash: string)
client/app/lib/password.server.ts:9
↓ 1 callers
Function
compressFile
(file: File)
client/app/lib/upload-media.ts:33
↓ 1 callers
Method
connect
(options: { stream: MediaStream })
client/app/lib/boat-client.ts:36
↓ 1 callers
Function
createPostNotification
(post: Post, author: User)
client/app/lib/create-post-notification.ts:6
↓ 1 callers
Function
decodeToken
(token: string)
client/app/lib/jwt.server.ts:7
↓ 1 callers
Function
ellipsize
(str: string, length: number)
client/app/routes/events.tsx:184
↓ 1 callers
Function
fileFromBlob
(blob: File)
client/app/lib/upload-media.ts:29
↓ 1 callers
Function
forbidden
(data: Data = null)
client/app/lib/responses.ts:17
↓ 1 callers
Function
getErrorDescription
(code: number)
client/app/components/error-boundary.tsx:33
↓ 1 callers
Function
getModerators
()
client/app/lib/get-moderators.ts:3
↓ 1 callers
Function
getNextRecordingName
(files: File[])
client/app/components/post-input.tsx:304
↓ 1 callers
Function
getPath
(id?: number | null)
client/app/lib/create-post.ts:39
↓ 1 callers
Function
getRoom
()
client/app/lib/boat-relay.server.ts:29
↓ 1 callers
Function
handleAction
(action: string)
client/app/components/community-mod.tsx:21
↓ 1 callers
Function
handleBotRequest
( request: Request, responseStatusCode: number, responseHeaders: Headers, remixContext: EntryContext, )
client/app/entry.server.tsx:42
↓ 1 callers
Function
handleBrowserRequest
( request: Request, responseStatusCode: number, responseHeaders: Headers, remixContext: EntryContext, )
client/app/entry.server.tsx:92
↓ 1 callers
Function
handleChange
(item: string, checked: boolean)
client/app/components/tag-input.tsx:247
↓ 1 callers
Function
handleItemClick
()
client/app/components/post-item.tsx:44
↓ 1 callers
Function
loadPreview
()
client/app/components/post-input.tsx:57
↓ 1 callers
Function
logout
(request: Request)
client/app/lib/logout.server.ts:4
↓ 1 callers
Function
mangle
(filename: string)
client/app/routes/media.tsx:65
↓ 1 callers
Function
removeFile
(index: number)
client/app/components/post-input.tsx:131
↓ 1 callers
Function
renderBio
(bio: string)
client/app/lib/render-bio.server.ts:17
↓ 1 callers
Function
renderStripped
(content: string, maxLength?: number)
client/app/lib/render-stripped.server.ts:6
↓ 1 callers
Function
secondsToMinuteSeconds
(seconds: number)
client/app/components/audio-recorder.tsx:79
↓ 1 callers
Function
sendEmail
(verification: EmailVerificationRequest)
client/app/lib/send-email-verification.ts:26
↓ 1 callers
Function
signUser
(user: { id: number })
client/app/lib/jwt.server.ts:3
↓ 1 callers
Function
useAudioRecorder
( audioTrackConstraints, onNotAllowedOrFound, mediaRecorderOptions, )
client/app/lib/use-audio-recorder.ts:48
↓ 1 callers
Function
useColorScheme
()
client/app/lib/use-color-scheme.ts:5
↓ 1 callers
Function
useComments
({ postId }: Args)
client/app/lib/use-comments.ts:10
↓ 1 callers
Function
useCountdown
(seconds: number)
client/app/lib/use-countdown.ts:3
↓ 1 callers
Function
useCourses
()
client/app/lib/use-courses.ts:8
↓ 1 callers
Function
usePostPeople
(postId: number)
client/app/lib/use-post-people.ts:5
↓ 1 callers
Function
useProgrammes
()
client/app/lib/use-programmes.ts:9
Function
AccountCreated
()
client/app/routes/account-created.tsx:15
Function
AddEvent
()
client/app/routes/events_.add.tsx:18
Function
AddLesson
()
client/app/routes/timetable_.$year.$programme.$level.$sem.$day.add.tsx:19
Function
AddProduct
()
client/app/routes/market_.add.tsx:59
Function
App
()
client/app/root.tsx:62
Function
AudioItem
({ name, url, noPlay, onRemove, size }: Props)
client/app/components/audio-item.tsx:15
Function
AudioRecorder
({ onRecorded, onRecording }: Props)
client/app/components/audio-recorder.tsx:10
Function
Avatar
({ className, name, size = 28, square, variant = "beam", }: Props)
client/app/components/avatar.tsx:19
Function
BottomNav
()
client/app/components/navbar.tsx:124
Function
CommonHead
()
client/app/components/common-head.tsx:4
Function
Communities
()
client/app/routes/communities.tsx:35
Function
Community
()
client/app/routes/communities_.$slug.tsx:73
Function
CommunityCreated
()
client/app/routes/communities_.created.tsx:3
Function
CommunityInfo
()
client/app/components/community-info.tsx:14
Function
CommunityMod
({ community }: Props)
client/app/components/community-mod.tsx:11
Function
ConcentratedDiscussion
()
client/app/routes/discussions_.$id_.$.tsx:34
Function
Content
({ content }: Props)
client/app/components/content.tsx:7
Function
CourseForm
()
client/app/components/lesson-form.tsx:250
Function
CreateAccount
()
client/app/routes/create-account.tsx:104
Function
CreateCommunity
()
client/app/routes/communities_.new.tsx:64
Function
CrowdsourceNotice
()
client/app/components/crowdsource-notice.tsx:1
Function
DD
({ items, onItemClick }: Props)
client/app/components/dropdown-menu.tsx:10
Function
DaysHeader
({ className, selectedDay = 1 }: Props)
client/app/components/days-header.tsx:10
Function
Discussion
()
client/app/routes/discussions_.$id.tsx:135
Function
Discussions
()
client/app/routes/discussions.tsx:96
Function
DiscussionsEmpty
()
client/app/components/discussions-empty.tsx:1
next →
1–100 of 349, ranked by callers