@not3/sdk
    Preparing search index...

    Class ShareGenerator

    Index

    Constructors

    Properties

    SCRIPT_URL: "https://raw.githubusercontent.com/not-three/main/refs/heads/main/scripts/" = 'https://raw.githubusercontent.com/not-three/main/refs/heads/main/scripts/'

    Methods

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

      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

    • 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

    • Generate a server side decryption url for a note.

      Parameters

      • noteId: string
      • seed: string

      Returns string