Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/compactd/compactd
/ functions
Functions
522 in github.com/compactd/compactd
⨍
Functions
522
◇
Types & classes
257
↓ 126 callers
Method
get
(name: string)
types/convict/index.d.ts:37
↓ 36 callers
Method
on
(event: string, handler: Function)
server/src/features/boombox/encoder.ts:110
↓ 21 callers
Method
fetch
(input: RequestInfo, init: { method: string, body: any, headers?: { [name: string]: string
client/src/app/session.tsx:68
↓ 16 callers
Method
getInstance
(pouch = PouchDB)
client/src/app/Artwork.tsx:105
↓ 15 callers
Method
toString
* Exports all the properties (that is the keys and their current values) as a JSON string. * @returns {String} a string representing th
types/convict/index.d.ts:60
↓ 13 callers
Method
reduce
(state: T, action: MusicContentAction)
client/src/app/content-decorator.tsx:144
↓ 12 callers
Method
start
()
server/src/CompactdApplication.ts:85
↓ 9 callers
Method
headers
(headers: any = {})
client/src/app/session.tsx:87
↓ 8 callers
Method
getAlbumId
(props: AlbumDetailsViewProps = this.props)
client/src/features/library/components/AlbumDetailsView/AlbumDetailsView.tsx:30
↓ 7 callers
Method
buildWaveform
(wf: ArrayBuffer, svge?: SVGSVGElement, barClass: string = "")
client/src/features/player/components/PlayerAudio/PlayerAudio.tsx:235
↓ 7 callers
Function
writeTemplate
(content, base, ...filename)
generate.js:7
↓ 6 callers
Function
getParent
(str: string)
client/src/features/library/library.tsx:43
↓ 6 callers
Method
handleSelectChange
(prop: string, setType = false)
client/src/components/Sandbox/Sandbox.tsx:100
↓ 5 callers
Method
getToken
()
client/src/app/session.tsx:14
↓ 5 callers
Method
listen
(event: string, token: string | Function, callback?: Function)
client/src/app/socket.tsx:64
↓ 5 callers
Method
liveFeed
(db: string, id: string, callback: FeedCallback<T>)
client/src/app/LibraryProvider.tsx:71
↓ 5 callers
Method
load
(conf: Object)
types/convict/index.d.ts:41
↓ 5 callers
Method
updateHeight
()
client/src/components/ScrollableDiv/ScrollableDiv.tsx:26
↓ 5 callers
Method
updateSvgWidths
()
client/src/features/player/components/PlayerAudio/PlayerAudio.tsx:193
↓ 4 callers
Method
attachImage
(id: string)
client/src/features/player/components/CurrentPlayingView/CurrentPlayingView.tsx:37
↓ 4 callers
Method
cancelFeeds
(keys: number[])
client/src/app/LibraryProvider.tsx:67
↓ 4 callers
Function
clean
(pouch: typeof PouchDB, dryRun = false)
server/src/features/utils/library-cleaner.ts:24
↓ 4 callers
Function
delay
(ms)
main.js:326
↓ 4 callers
Method
detachImage
(id: string)
client/src/features/player/components/CurrentPlayingView/CurrentPlayingView.tsx:57
↓ 4 callers
Method
getCacheFile
(filename: string)
server/src/features/boombox/encoder.ts:117
↓ 4 callers
Method
getDocument
(db: string, id: string)
client/src/app/LibraryProvider.tsx:18
↓ 4 callers
Function
getIDs
(pouch: typeof PouchDB, db: string)
server/src/features/utils/library-cleaner.ts:5
↓ 4 callers
Method
getTrack
()
client/src/models/XHRSource.tsx:23
↓ 4 callers
Method
handleSwitchChange
(prop: string)
client/src/components/Sandbox/Sandbox.tsx:112
↓ 4 callers
Method
init
(init: RequestInit = {})
client/src/app/session.tsx:96
↓ 4 callers
Function
loadTrackers
()
client/src/features/settings/settings.tsx:64
↓ 4 callers
Method
scan
(pouchDB: typeof PouchDB)
server/src/features/scanner/Scanner.ts:39
↓ 4 callers
Method
set
(name: string, value: any)
types/convict/index.d.ts:40
↓ 4 callers
Method
verifySession
* Validate the session token and return the username. If it isn't valid, then * throw an error... * @param token the JWT token to validate *
server/src/features/authenticator/Authenticator.ts:114
↓ 3 callers
Method
adjustImageSize
()
client/src/features/player/components/CurrentPlayingView/CurrentPlayingView.tsx:149
↓ 3 callers
Method
call
(method: string, args: {[key: string]: string | number | boolean}, endpoint = this.endpoint)
server/src/features/cascade/GazelleIndexer.ts:75
↓ 3 callers
Method
computeHeight
(div: HTMLDivElement)
client/src/features/library/components/ArtistListView/ArtistListView.tsx:43
↓ 3 callers
Method
connect
()
client/src/app/socket.tsx:19
↓ 3 callers
Method
createDatabaseUser
* Create a database _user directly by PUT the CouchDB instance * @param user the DatabaseUser to create
server/src/features/authenticator/Authenticator.ts:97
↓ 3 callers
Method
createEventThread
(event: string, onListen: Function = () => {})
server/src/http-event.ts:15
↓ 3 callers
Method
decodeToken
(token = this.getToken())
client/src/app/session.tsx:20
↓ 3 callers
Function
downloadHQCover
(ent: Artist|Album)
server/src/features/aquarelle/discogfetch.ts:95
↓ 3 callers
Method
fetchArtist
(slug: string)
client/src/app/content-decorator.tsx:73
↓ 3 callers
Method
fetchImage
(current = this.props.src, check = true)
client/src/components/BetterImage/BetterImage.tsx:36
↓ 3 callers
Method
fetchWaveform
(src: string)
client/src/features/player/components/PlayerAudio/PlayerAudio.tsx:97
↓ 3 callers
Method
from
(track: string)
client/src/models/XHRSource.tsx:16
↓ 3 callers
Method
generatePassword
* Generate a random password in Base64 using crypto * @param length the number of bytes to generate
server/src/features/authenticator/Authenticator.ts:70
↓ 3 callers
Function
getCacheEntry
(file: string)
server/src/features/waveform/Waveform.ts:37
↓ 3 callers
Method
getDatabaseUser
* Returns a database user object, fit for clusters * It appends the cluster id/ master to username and id * @param user the orginal username
server/src/features/authenticator/Authenticator.ts:133
↓ 3 callers
Function
message
(msg)
main.js:318
↓ 3 callers
Function
saveArtwork
(id: string, url: string)
server/src/features/aquarelle/discogfetch.ts:130
↓ 3 callers
Method
shouldAttach
(docId: string, target: HTMLImageElement)
client/src/app/Artwork.tsx:49
↓ 3 callers
Method
updateOffset
()
client/src/features/player/components/PlaylistView/PlaylistView.tsx:37
↓ 2 callers
Method
computeHeight
(div: HTMLDivElement)
client/src/features/library/components/AlbumsListView/AlbumsListView.tsx:112
↓ 2 callers
Method
createCache
()
server/src/features/boombox/encoder.ts:101
↓ 2 callers
Method
createSession
* Creates a signed session token, create a database user with random password * and store the db user password into the password store. * @param
server/src/features/authenticator/Authenticator.ts:150
↓ 2 callers
Method
destroy
()
client/src/app/session.tsx:104
↓ 2 callers
Function
discogsTasks
()
server/src/features/aquarelle/discogfetch.ts:169
↓ 2 callers
Method
editTrackerPassword
(editing: string)
client/src/features/settings/components/TrackersView/TrackersView.tsx:27
↓ 2 callers
Method
execute
* Executes all given tasks until the executorKey has changed
server/src/features/scheduler/Scheduler.ts:38
↓ 2 callers
Method
fetchAlbum
(id: string)
client/src/app/content-decorator.tsx:86
↓ 2 callers
Function
fetchAllAlbums
()
client/src/features/library/library.tsx:224
↓ 2 callers
Function
fetchAllArtists
()
client/src/features/library/library.tsx:184
↓ 2 callers
Function
fetchArtworks
(spin)
main.js:256
↓ 2 callers
Method
fetchLargestImage
* This method will download the first image from images which * size is the first element of sizes. If the image is almost a square * that is to
server/src/features/datasource/LastfmDataSource.ts:29
↓ 2 callers
Function
getCacheDir
()
server/src/features/waveform/Waveform.ts:68
↓ 2 callers
Function
getDatabase
(name: string)
client/src/app/database.ts:6
↓ 2 callers
Method
handleClick
()
client/src/features/app/components/LoginView/LoginView.tsx:27
↓ 2 callers
Method
handleVolumeChange
(val: number)
client/src/features/player/components/PlayerStatus/PlayerStatus.tsx:122
↓ 2 callers
Method
isAlbum
(item: string)
client/src/features/library/components/FuzzySelector/FuzzySelector.tsx:110
↓ 2 callers
Method
isUsingEmbeddedArtworks
(props = this.props)
client/src/components/ArtistComponent/ArtistComponent.tsx:83
↓ 2 callers
Method
isUsingEmbeddedArtworks
(props = this.props)
client/src/components/AlbumComponent/AlbumComponent.tsx:123
↓ 2 callers
Method
load
* * @param docId the document id, starting with or without artowrks/ * @param size the size, either large (300px) or small (64px)
client/src/app/Artwork.tsx:65
↓ 2 callers
Method
loadImage
(id: string, img: HTMLImageElement)
client/src/components/AlbumComponent/AlbumComponent.tsx:70
↓ 2 callers
Method
loadImage
(id: string, img: HTMLImageElement)
client/src/features/player/components/CurrentPlayingView/CurrentPlayingView.tsx:30
↓ 2 callers
Method
loadItem
(id: string)
client/src/components/AlbumComponent/AlbumComponent.tsx:90
↓ 2 callers
Function
loadPasswords
()
server/src/features/cascade/trackers.ts:33
↓ 2 callers
Method
loadTrack
(arg: string | FavComponentProps)
client/src/components/FavComponent/FavComponent.tsx:28
↓ 2 callers
Method
login
(password: string)
server/src/features/cascade/GazelleIndexer.ts:31
↓ 2 callers
Method
onClientCall
(method: string, cb: (...args: any[]) => void)
client/src/app/socket.tsx:12
↓ 2 callers
Method
onDocAdded
(db: string, cb: (id: string) => void)
client/src/app/LibraryProvider.tsx:88
↓ 2 callers
Method
onDocRemoved
(db: string, cb: (id: string) => void)
client/src/app/LibraryProvider.tsx:98
↓ 2 callers
Method
registerUser
* Create a new `app_user` * @param props the user props including username and password
server/src/features/authenticator/Authenticator.ts:182
↓ 2 callers
Function
render
()
client/src/components/LibraryItemComponent/LibraryItemComponent.tsx:143
↓ 2 callers
Method
requireAuthentication
* Create a function that will only call next if use token is valid
server/src/features/authenticator/Authenticator.ts:213
↓ 2 callers
Function
rescanAll
(onEnterDir: (path: string) => void)
server/src/upgrader.ts:59
↓ 2 callers
Function
resetLibraries
()
server/src/upgrader.ts:49
↓ 2 callers
Method
route
()
server/src/features/configure/StandaloneDatabaseApplication.ts:6
↓ 2 callers
Function
saveToFile
(promise: Promise<Buffer>, id: string)
server/src/features/aquarelle/AquarelleAgent.ts:23
↓ 2 callers
Method
showAndUpdateRange
()
client/src/features/player/components/PlayerAudio/PlayerAudio.tsx:85
↓ 2 callers
Function
syncDatabases
(...dbs: string[])
client/src/app/database.ts:37
↓ 2 callers
Function
tryRemoveArtwork
(pouch: typeof PouchDB, id: string)
server/src/features/utils/library-cleaner.ts:13
↓ 2 callers
Method
unloadItem
()
client/src/components/AlbumComponent/AlbumComponent.tsx:103
↓ 2 callers
Method
updateLibrary
(pouchDB: typeof PouchDB, props: any)
server/src/features/scanner/Scanner.ts:28
↓ 2 callers
Method
updateRange
()
client/src/features/player/components/PlayerAudio/PlayerAudio.tsx:42
↓ 2 callers
Function
watchTorrent
(hashes: string[])
server/src/features/cascade/trackers.ts:183
↓ 1 callers
Function
_fetchAllAlbums
()
client/src/features/library/library.tsx:243
↓ 1 callers
Function
_fetchAllArtists
()
client/src/features/library/library.tsx:204
↓ 1 callers
Method
_renderItem
(props: ListProps)
client/src/features/library/components/ArtistListView/ArtistListView.tsx:71
↓ 1 callers
Method
_renderItem
(props: ListProps)
client/src/features/library/components/AlbumsListView/AlbumsListView.tsx:191
next →
1–100 of 522, ranked by callers