@not3/sdk
    Preparing search index...

    Class ShareGenerator

    Index
    SCRIPT_URL: "https://raw.githubusercontent.com/not-three/main/refs/heads/main/scripts/" = 'https://raw.githubusercontent.com/not-three/main/refs/heads/main/scripts/'
    • Build a CLI command that downloads a file.

      Parameters

      • fileId: string
      • seed: string
      • fileName: string

      Returns string

    • Generate a command to download a file with curl, using openssl to decrypt it.

      Parameters

      • fileId: string
      • seed: string
      • fileName: string

      Returns string

    • Build a Docker command that downloads a file to the current directory.

      Parameters

      • fileId: string
      • seed: string
      • fileName: string

      Returns string

    • Build a PowerShell command that downloads a file.

      Parameters

      • fileId: string
      • seed: string
      • fileName: string

      Returns string

    • Generate a link to share a file in the ui.

      Parameters

      • fileId: string
      • seed: string

      Returns string

    • Build a CLI command that saves a note to a file.

      Parameters

      • noteId: string
      • seed: string
      • fileName: string
      • cryptoMode: CryptoMode = 'cbc'

      Returns string

    • Generate a command to print a note with curl, using openssl to decrypt it.

      Parameters

      • noteId: string
      • seed: string

      Returns string

    • Generate a command to download a note with curl, using openssl to decrypt it.

      Parameters

      • noteId: string
      • seed: string
      • fileName: string

      Returns string

    • Build a Docker command that saves a note to the current directory.

      Parameters

      • noteId: string
      • seed: string
      • fileName: string
      • cryptoMode: CryptoMode = 'cbc'

      Returns string

    • Build a PowerShell command that prints a note.

      Parameters

      • noteId: string
      • seed: string

      Returns string

    • Build a PowerShell command that saves a note to a file.

      Parameters

      • noteId: string
      • seed: string
      • fileName: string

      Returns string

    • Generate a server side decryption url for a note.

      Parameters

      • noteId: string
      • seed: string

      Returns string

    • Build a CLI command that receives a live P2P transfer.

      Parameters

      • sessionId: string
      • seed: string

      Returns string

    • Build a Docker command that receives a live P2P transfer.

      Parameters

      • sessionId: string
      • seed: string

      Returns string

    • Generate a link to receive a live P2P transfer in the ui.

      Parameters

      • sessionId: string
      • seed: string

      Returns string