Skip to content

[Feature Request] Copy-Paste implementation like privatebin #381

Open

Description

@pengu-tux

Is your feature request related to a problem?

I've seen the issue #348, but we want to have it just like privatebin. When sending secrets via the current implementation, the client will download a decrypted TXT file which will very likely be forever in the download folder, since most people don't clean up their folders.

Describe the solution you'd like

I want to request a feature implementation for securely sending text from A to B just like privatebin. We want one application to transfer end-to-end encrypted files as well as passwords or other secrets.

Image
  • This would fit very well as its own tab.
  • A mix of the privatebin UI and a list for pasted secrets (just like in the upload tab) would be great.
  • Expiry, password and burn after X times copy-pasting, also just like for the uploads.

Describe alternatives you've considered

  • We have tried privatebin for file transfers and copying and pasting, but it's not usable for files bigger than 10MB.

Additional Context

We will donate €500 via PayPal for this implementation, if it's done.

Best regards,
Hendrik Heine from energy & meteo systems GmbH

Impact

  • This would be a breaking change to existing setups.

Activity

  1. Forceu commented on Mar 16, 2026

    @Forceu
    Owner

    Hi Hendrik, thanks a lot for the feedback and the generous offer! :)
    You said that you are using files bigger than 10MB, what sizes do you generally handle? And is it a strict limit by PrivateBin or do performance problems occur with files of that size?

  2. pengu-tux commented on Mar 17, 2026

    @pengu-tux
    Author

    As far as I know, we usually have files between 10MB and maybe 1GB. Privatebin has 10MB configured as max file size in the proxy. Downloads do take several minutes for 100MB files or even fail, and it uses a ton of RAM, if increasing the limit.

    That's why we considered using Gokapi for file transfers. As said above, we want one application which can handle both use cases.

  3. Forceu commented on Mar 17, 2026

    @Forceu
    Owner

    Okay, so pasting files to Gokapi is already possible, but not displaying them. So am I reading it correct that you are saying, that you require text files up to 1GB to be pasted and then viewed in the browser instead of downloading them?

  4. pengu-tux commented on Mar 17, 2026

    @pengu-tux
    Author

    No and kinda yes, sorry. We want to share secrets (passwords, API keys, etc.) to customers by sending them a link which works just like it does with privatebin aka the open-source pastebin but with end-to-end encryption. We do not want to share a downloadable file when sharing secrets. So yes, it should be viewed in the browser :)

    The file size which I mentioned applies to the normal uploads, they are working fine. We want to cover both use cases using one application, uploading files and sharing secrets which are meant to be viewed only X times like it can be done using privatebin.

  5. Forceu commented on Mar 17, 2026

    @Forceu
    Owner

    Ah okay, that makes more sense :D In that case I will give it a try, I might even have some time for it tomorrow.

  6. pengu-tux commented on Mar 18, 2026

    @pengu-tux
    Author

    Awesome. No pressure btw :)

  7. pengu-tux commented on Apr 30, 2026

    @pengu-tux
    Author

    Hi :D I just want to ask about the progress of this feature request

  8. Forceu commented on May 1, 2026

    @Forceu
    Owner

    Unfortunately I did not have a lot of time the last couple of weeks, but I already started working on a branch with the foundation laid out. I might have some more time next week :)

  9. linked a pull request that will close this issueAdd paste feature #405on May 17, 2026
  10. Forceu commented on May 17, 2026

    @Forceu
    Owner

    @pengu-tux I finished with most of the functionality, I just need to polish the UI a bit. See draft PR #405.
    You can try the current state with the Docker image f0rc3/gokapi:pasteSupport. I would be happy to hear some feedback from you, if that is what you are looking for :)

  11. pengu-tux commented on Jun 3, 2026

    @pengu-tux
    Author

    Great, that's definitely a step in the right direction. Thank you so far for your time and dedication. I'm assuming that features like automatic deletion when the view limit is exceeded will be included in the JS polishing...

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