You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Copy-Paste implementation like privatebin #381
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.
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.
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?
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.
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?
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.
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 :)
@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 :)
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...
Activity
Forceu commentedon Mar 16, 2026
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?
pengu-tux commentedon Mar 17, 2026
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.
Forceu commentedon Mar 17, 2026
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?
pengu-tux commentedon Mar 17, 2026
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.
Forceu commentedon Mar 17, 2026
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.
pengu-tux commentedon Mar 18, 2026
Awesome. No pressure btw :)
pengu-tux commentedon Apr 30, 2026
Hi :D I just want to ask about the progress of this feature request
Forceu commentedon May 1, 2026
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 :)
Forceu commentedon May 17, 2026
@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 :)pengu-tux commentedon Jun 3, 2026
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...