SYMBOL INDEX (270 symbols across 71 files)
FILE: api/src/misc/console-text.js
constant ANSI (line 1) | const ANSI = {
function wrap (line 10) | function wrap(color, text) {
function Bright (line 18) | function Bright(text) {
function Red (line 22) | function Red(text) {
function Green (line 26) | function Green(text) {
function Cyan (line 30) | function Cyan(text) {
function Yellow (line 34) | function Yellow(text) {
FILE: api/src/misc/crypto.js
function encryptStream (line 5) | function encryptStream(plaintext, iv, secret) {
function decryptStream (line 13) | function decryptStream(ciphertext, iv, secret) {
FILE: api/src/misc/file-watcher.js
class FileWatcher (line 4) | class FileWatcher extends EventEmitter {
method constructor (line 9) | constructor({ path, ...rest }) {
method #setupWatcher (line 14) | async #setupWatcher() {
method read (line 28) | read() {
method fromFileProtocol (line 33) | static fromFileProtocol(url_) {
FILE: api/src/misc/load-from-fs.js
function loadFile (line 10) | function loadFile(path) {
function loadJSON (line 14) | function loadJSON(path) {
FILE: api/src/misc/randomize-ciphers.js
constant ORIGINAL_CIPHERS (line 4) | const ORIGINAL_CIPHERS = tls.DEFAULT_CIPHERS;
constant TOP_N_SHUFFLE (line 8) | const TOP_N_SHUFFLE = 8;
FILE: api/src/misc/run-test.js
function runTest (line 5) | async function runTest(url, params, expect) {
FILE: api/src/misc/utils.js
function getRedirectingURL (line 4) | async function getRedirectingURL(url, dispatcher, headers) {
function merge (line 43) | function merge(a, b) {
function splitFilenameExtension (line 57) | function splitFilenameExtension(filename) {
function zip (line 68) | function zip(a, b) {
function isURL (line 72) | function isURL(input) {
FILE: api/src/processing/cookie/cookie.js
class Cookie (line 3) | class Cookie {
method constructor (line 4) | constructor(input) {
method set (line 12) | set(key, value) {
method unset (line 21) | unset(keys) {
method fromString (line 25) | static fromString(str) {
method toString (line 37) | toString() {
method toJSON (line 41) | toJSON() {
method values (line 45) | values() {
FILE: api/src/processing/cookie/manager.js
constant WRITE_INTERVAL (line 9) | const WRITE_INTERVAL = 60000;
constant VALID_SERVICES (line 10) | const VALID_SERVICES = new Set([
function writeChanges (line 22) | function writeChanges(cookiePath) {
function getCookie (line 105) | function getCookie(service) {
function updateCookieValues (line 127) | function updateCookieValues(cookie, values) {
function updateCookie (line 145) | function updateCookie(cookie, headers) {
FILE: api/src/processing/request.js
function createResponse (line 7) | function createResponse(responseType, responseData) {
function normalizeRequest (line 118) | function normalizeRequest(request) {
function getIP (line 129) | function getIP(req, prefix = 56) {
FILE: api/src/processing/services/bilibili.js
function getBest (line 6) | function getBest(content) {
function extractBestQuality (line 12) | function extractBestQuality(dashData) {
function com_download (line 20) | async function com_download(id, partId) {
function tv_download (line 68) | async function tv_download(id) {
FILE: api/src/processing/services/dailymotion.js
function getExp (line 6) | function getExp(token) {
FILE: api/src/processing/services/instagram.js
function instagram (line 58) | function instagram(obj) {
FILE: api/src/processing/services/loom.js
function fromTranscodedURL (line 12) | async function fromTranscodedURL(id) {
function fromRawURL (line 31) | async function fromRawURL(id) {
function getTranscript (line 53) | async function getTranscript(id) {
FILE: api/src/processing/services/reddit.js
function getAccessToken (line 5) | async function getAccessToken() {
FILE: api/src/processing/services/rutube.js
function requestJSON (line 4) | async function requestJSON(url) {
FILE: api/src/processing/services/snapchat.js
constant SPOTLIGHT_VIDEO_REGEX (line 5) | const SPOTLIGHT_VIDEO_REGEX = /;
FILE: web/src/lib/settings/lazy-get.ts
function lazySettingGetter (line 4) | function lazySettingGetter(settings: CobaltSettings) {
FILE: web/src/lib/settings/migrate-v7.ts
type LegacySwitchers (line 23) | type LegacySwitchers = keyof typeof oldSwitcherValues;
type LegacyCheckboxes (line 24) | type LegacyCheckboxes = typeof oldCheckboxes[number];
type SwitcherOptions (line 49) | type SwitcherOptions = typeof oldSwitcherValues[T][number];
FILE: web/src/lib/settings/migrate.ts
type Migrator (line 12) | type Migrator = (s: AllPartialSettingsWithSchema) => AllPartialSettingsW...
FILE: web/src/lib/settings/validate.ts
function validateTypes (line 14) | function validateTypes(input: unknown, reference = defaultSettings as un...
function validateLiteral (line 56) | function validateLiteral(value: Optional, allowed: readonly stri...
function validateLiterals (line 60) | function validateLiterals(literals: [Optional, readonly string[]...
function validateSettings (line 70) | function validateSettings(settings: PartialSettings) {
FILE: web/src/lib/state/dialogs.ts
function createDialog (line 11) | function createDialog(newData: DialogInfo) {
function killDialog (line 18) | function killDialog() {
FILE: web/src/lib/state/settings.ts
function updateSetting (line 69) | function updateSetting(partial: PartialSettings) {
function resetSettings (line 84) | function resetSettings() {
FILE: web/src/lib/state/task-manager/current-tasks.ts
function addWorkerToQueue (line 9) | function addWorkerToQueue(workerId: string, item: CobaltCurrentTaskItem) {
function removeWorkerFromQueue (line 16) | function removeWorkerFromQueue(id: string) {
function updateWorkerProgress (line 23) | function updateWorkerProgress(workerId: string, progress: CobaltWorkerPr...
function clearCurrentTasks (line 30) | function clearCurrentTasks() {
FILE: web/src/lib/state/task-manager/queue.ts
function addItem (line 29) | function addItem(item: CobaltQueueItem) {
function itemError (line 38) | function itemError(id: UUID, workerId: UUID, error: string) {
function itemDone (line 56) | function itemDone(id: UUID, file: File) {
function pipelineTaskDone (line 73) | function pipelineTaskDone(id: UUID, workerId: UUID, file: File) {
function itemRunning (line 88) | function itemRunning(id: UUID) {
function removeItem (line 103) | function removeItem(id: UUID) {
function clearQueue (line 119) | function clearQueue() {
FILE: web/src/lib/state/theme.ts
type Theme (line 7) | type Theme = typeof themeOptions[number];
FILE: web/src/lib/storage/index.ts
function init (line 5) | async function init(expectedSize?: number): Promise {
function retype (line 17) | function retype(file: File, type: string) {
FILE: web/src/lib/storage/memory.ts
class MemoryStorage (line 4) | class MemoryStorage extends AbstractStorage {
method constructor (line 9) | constructor(chunkSize: number) {
method init (line 14) | static async init(expectedSize: number) {
method res (line 33) | async res() {
method #expand (line 55) | #expand(size: number) {
method write (line 61) | async write(data: Uint8Array | Int8Array, pos: number) {
method destroy (line 85) | async destroy() {
method isAvailable (line 89) | static async isAvailable() {
FILE: web/src/lib/storage/opfs.ts
constant COBALT_PROCESSING_DIR (line 4) | const COBALT_PROCESSING_DIR = "cobalt-processing-data";
class OPFSStorage (line 6) | class OPFSStorage extends AbstractStorage {
method constructor (line 13) | constructor(root: FileSystemDirectoryHandle, handle: FileSystemFileHan...
method init (line 20) | static async init() {
method res (line 29) | async res() {
method write (line 36) | async write(data: Uint8Array | Int8Array, offset: number) {
method destroy (line 40) | async destroy() {
method #computeIsAvailable (line 44) | static async #computeIsAvailable() {
method isAvailable (line 73) | static async isAvailable() {
FILE: web/src/lib/storage/storage.ts
method init (line 2) | static init(_expected_size: number): Promise {
method isAvailable (line 6) | static async isAvailable(): Promise {
FILE: web/src/lib/types/api.ts
type CobaltResponseType (line 3) | enum CobaltResponseType {
type CobaltErrorResponse (line 11) | type CobaltErrorResponse = {
type CobaltPartialURLResponse (line 22) | type CobaltPartialURLResponse = {
type CobaltPickerResponse (line 27) | type CobaltPickerResponse = {
type CobaltRedirectResponse (line 38) | type CobaltRedirectResponse = {
type CobaltTunnelResponse (line 42) | type CobaltTunnelResponse = {
type CobaltFileMetadata (line 59) | type CobaltFileMetadata = Record<
type CobaltLocalProcessingType (line 63) | type CobaltLocalProcessingType = 'merge' | 'mute' | 'audio' | 'gif' | 'r...
type CobaltLocalProcessingResponse (line 65) | type CobaltLocalProcessingResponse = {
type CobaltFileUrlType (line 90) | type CobaltFileUrlType = "redirect" | "tunnel";
type CobaltSession (line 92) | type CobaltSession = {
type CobaltServerInfo (line 97) | type CobaltServerInfo = {
type CobaltSaveRequestBody (line 115) | type CobaltSaveRequestBody =
type CobaltSessionResponse (line 118) | type CobaltSessionResponse = CobaltSession | CobaltErrorResponse;
type CobaltServerInfoResponse (line 119) | type CobaltServerInfoResponse = CobaltServerInfo | CobaltErrorResponse;
type CobaltAPIResponse (line 121) | type CobaltAPIResponse = CobaltErrorResponse
FILE: web/src/lib/types/changelogs.ts
type ChangelogMetadata (line 1) | interface ChangelogMetadata {
type MarkdownMetadata (line 10) | interface MarkdownMetadata {
type ChangelogImport (line 14) | type ChangelogImport = {
FILE: web/src/lib/types/dialog.ts
type DialogButton (line 4) | type DialogButton = {
type SmallDialogIcons (line 13) | type SmallDialogIcons = "warn-red";
type DialogPickerItem (line 15) | type DialogPickerItem = {
type Dialog (line 21) | type Dialog = {
type SmallDialog (line 26) | type SmallDialog = Dialog & {
type PickerDialog (line 37) | type PickerDialog = Dialog & {
type SavingDialog (line 43) | type SavingDialog = Dialog & {
type DialogInfo (line 51) | type DialogInfo = SmallDialog | PickerDialog | SavingDialog;
FILE: web/src/lib/types/generic.ts
type RecursivePartial (line 5) | type RecursivePartial = {
type DefaultImport (line 12) | type DefaultImport = () => Promise<{ default: T }>;
type Optional (line 13) | type Optional = T | undefined;
type Writeable (line 14) | type Writeable = { -readonly [P in keyof T]: T[P] };
type FromReadable (line 15) | type FromReadable = T extends Readable ? U : never;
FILE: web/src/lib/types/i18n.ts
type LanguageCode (line 3) | type LanguageCode = string;
type KeyPath (line 4) | type KeyPath = string;
type GenericImport (line 6) | type GenericImport = DefaultImport;
type LocalizationContent (line 7) | type LocalizationContent = Record;
type StructuredLocfileInfo (line 8) | type StructuredLocfileInfo = Record<
FILE: web/src/lib/types/libav.ts
type FileInfo (line 1) | type FileInfo = {
type RenderParams (line 6) | type RenderParams = {
type FFmpegProgressStatus (line 12) | type FFmpegProgressStatus = "continue" | "end" | "unknown";
type FFmpegProgressEvent (line 13) | type FFmpegProgressEvent = {
type FFmpegProgressCallback (line 24) | type FFmpegProgressCallback = (info: FFmpegProgressEvent) => void;
FILE: web/src/lib/types/meowbalt.ts
type MeowbaltEmotions (line 1) | type MeowbaltEmotions = "smile" | "error" | "question" | "think" | "fast";
FILE: web/src/lib/types/omnibox.ts
type CobaltDownloadButtonState (line 1) | type CobaltDownloadButtonState = "idle" | "think" | "check" | "done" | "...
FILE: web/src/lib/types/queue.ts
type UUID (line 4) | type UUID = string;
type CobaltQueueBaseItem (line 6) | type CobaltQueueBaseItem = {
type CobaltQueueItemWaiting (line 16) | type CobaltQueueItemWaiting = CobaltQueueBaseItem & {
type CobaltQueueItemRunning (line 20) | type CobaltQueueItemRunning = CobaltQueueBaseItem & {
type CobaltQueueItemDone (line 25) | type CobaltQueueItemDone = CobaltQueueBaseItem & {
type CobaltQueueItemError (line 30) | type CobaltQueueItemError = CobaltQueueBaseItem & {
type CobaltQueueItem (line 35) | type CobaltQueueItem = CobaltQueueItemWaiting
type CobaltQueue (line 40) | type CobaltQueue = {
FILE: web/src/lib/types/settings.ts
type CobaltSettings (line 14) | type CobaltSettings = CobaltSettingsV6;
type AnyCobaltSettings (line 16) | type AnyCobaltSettings = CobaltSettingsV5 | CobaltSettingsV4 | CobaltSet...
type PartialSettings (line 18) | type PartialSettings = RecursivePartial;
type AllPartialSettingsWithSchema (line 20) | type AllPartialSettingsWithSchema = RecursivePartial ...
type DownloadModeOption (line 22) | type DownloadModeOption = CobaltSettings['save']['downloadMode'];
FILE: web/src/lib/types/settings/v2.ts
type CobaltSettingsAppearance (line 12) | type CobaltSettingsAppearance = {
type CobaltSettingsAdvanced (line 20) | type CobaltSettingsAdvanced = {
type CobaltSettingsPrivacy (line 24) | type CobaltSettingsPrivacy = {
type CobaltSettingsProcessing (line 29) | type CobaltSettingsProcessing = {
type CobaltSettingsSaveV2 (line 37) | type CobaltSettingsSaveV2 = {
type CobaltSettingsV2 (line 53) | type CobaltSettingsV2 = {
FILE: web/src/lib/types/settings/v3.ts
type CobaltSettingsV3 (line 4) | type CobaltSettingsV3 = Omit...
FILE: web/src/lib/types/settings/v4.ts
type CobaltSettingsV4 (line 3) | type CobaltSettingsV4 = Omit...
FILE: web/src/lib/types/task-manager.ts
type CobaltCurrentTaskItem (line 4) | type CobaltCurrentTaskItem = {
type CobaltCurrentTasks (line 10) | type CobaltCurrentTasks = {
FILE: web/src/lib/types/workers.ts
type CobaltPipelineResultFileType (line 6) | type CobaltPipelineResultFileType = typeof resultFileTypes[number];
type CobaltWorkerProgress (line 8) | type CobaltWorkerProgress = {
type CobaltFFmpegWorkerArgs (line 14) | type CobaltFFmpegWorkerArgs = {
type CobaltPipelineItemBase (line 20) | type CobaltPipelineItemBase = {
type CobaltRemuxPipelineItem (line 26) | type CobaltRemuxPipelineItem = CobaltPipelineItemBase & {
type CobaltEncodePipelineItem (line 31) | type CobaltEncodePipelineItem = CobaltPipelineItemBase & {
type CobaltFetchPipelineItem (line 36) | type CobaltFetchPipelineItem = CobaltPipelineItemBase & {
type CobaltPipelineItem (line 41) | type CobaltPipelineItem = CobaltEncodePipelineItem
FILE: web/src/lib/version.ts
type VersionResponse (line 5) | type VersionResponse = {
FILE: web/src/routes/_headers/+server.ts
function GET (line 1) | function GET() {
FILE: web/src/routes/version.json/+server.ts
function GET (line 4) | async function GET() {
FILE: web/vite.config.ts
method configureServer (line 17) | configureServer(server) {
method configureServer (line 56) | configureServer(server) {
method writeBundle (line 67) | async writeBundle(bundle) {
method config (line 82) | config() {