Skip to content

[Feature] - Saving transcription as a file. #282

Description

@Vip3rLi0n

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I just want to have an option of saving the transcription as a file in my server instead of uploading it, since when it tries to upload the transcription, it always lags out, causing duplicate channel being created and making the bot not responsive during that period.

Describe the solution you'd like
Basically in src/utils/close.ts, add another function where if the configured function in config.jsonc for saveTranscriptionAsFile: true, it will save the file in the bot installation location folder, or it can be configured via transcriptionFilePath: /your/path/here

Describe alternatives you've considered
By using https://github.com/ItzDerock/discord-html-transcripts library, those feature can be implemented easily.

Additional context
Forcing the self-hoster to upload transcription when its enabled or by option when clicking Save Transcription button is not ideal as there is no option to save it in the hosting location. Also, instead of relying on upload, transcription can be saved easily and faster.

Activity

  1. Sayrix commented on Oct 20, 2023

    @Sayrix
    Owner

    Uploading transcripts to a server is the best way to make them accessible to everyone (PC, Mac, smartphone, tablet). What's more, uploading transcripts to a remote server doesn't slow down ticket closing, as the file uploaded is only about ten KB, excluding attachments. However, you say that when you close tickets there are problems, and I can help you with that.

  2. zhiyan114 commented on Oct 20, 2023

    @zhiyan114
    Collaborator

    idk, I feel like uploading an HTML file as discord attachment wouldn't be that bad and even helps you save bandwidth. The only downside is that user will now need to download the file to access it oppose to direct access via a link.

  3. Vip3rLi0n commented on Oct 20, 2023

    @Vip3rLi0n
    Author

    I usually use transcript as a log for every ticket, instead of making it available for users. Hence having this feature is necessary as there is multiple hierarchy in a team and the one that read those transcript are definitely not for normal people. But I guess I'll have to modify it myself as its not planned nor will be made in the future.

  4. LoneWolfHT commented on Aug 29, 2024

    @LoneWolfHT

    I don't need transcripts to be accessible to everyone, but I'd like to log them to a file in case I need to look at them again for some reason. I don't want to upload them to a third party site. Is there any option for this yet?

  5. zhiyan114 commented on Aug 31, 2024

    @zhiyan114
    Collaborator

    @Sayrix I think we should consider adding this to the re-write. It just makes more sense to allow more advanced user to control how the transcript is provided.

    Since we're in the process of re-write, we can just add this to the queue.

  6. reopened this on Aug 31, 2024
  7. Shisuiicaro commented on Nov 22, 2024

    @Shisuiicaro

    would be also great if you can setup a selfhost using ptero or a custom server for tickets ( i know we have ticket.pm but you even being a sponsor you can't have all transcriptions saved for more than 90 days)

  8. Sayrix commented on Nov 22, 2024

    @Sayrix
    Owner

    Transcripts are saved for 365 days, it's only the media which is saved for 90 days with sponsor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions