This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Required parameters: | |
| # @raycast.schemaVersion 1 | |
| # @raycast.title Download Video | |
| # @raycast.mode compact | |
| # @raycast.packageName Media | |
| # @raycast.argument1 { "type": "text", "placeholder": "URL", "percentEncoded": false } | |
| # @raycast.argument2 { "type": "dropdown", "placeholder": "Format", "data": [{ "title": "Auto", "value": "auto" }, { "title": "MP4", "value": "mp4" }, { "title": "WebM", "value": "webm" }, { "title": "MKV", "value": "mkv" }, { "title": "FLV", "value": "flv" }, { "title": "AVI", "value": "avi" }, { "title": "M4A", "value": "m4a" }], "optional": true } | |
| # @raycast.argument3 { "type": "text", "placeholder": "Output Path", "optional": true } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "http://json-schema.org/draft-07/schema#", | |
| "description": "Configuration schema for Convex project settings.\n\nDocumentation: https://docs.convex.dev/production/project-configuration#convexjson", | |
| "type": "object", | |
| "properties": { | |
| "$schema": { | |
| "type": "string" | |
| }, | |
| "project": { | |
| "type": "string", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ECMAScript (ESM) | |
| // @ts-check | |
| import { existsSync } from "node:fs"; | |
| import { parse, resolve } from "node:path"; | |
| import { cwd, env } from "node:process"; | |
| /** | |
| * Finds and returns the root directory of the project. | |
| * |
NewerOlder