Show HN: YABin – Yet another pastebin that's simple but feature-rich (github.com)

6 points by Yureien ↗ HN
I've been self-hosting https://privatebin.net for a long time now but there were some annoying issues: no way to turn off encryption, API is complicated, no raw support on the page directly and worst of all: no keyboard shortcuts. I've looked at a bunch of other OSS solutions and all of them (atleast the ones I could find) didn't really have all the features that I needed.

So I made this. Optional E2E encryption with optional password protection, keyboard shortcuts (kinda a WIP), simple-ish REST-ish API for making CLIs, direct raw file display & download (with optional server-side decryption if it is encrypted), etc. It was built with SvelteKit so it can be deployed on server-less platforms too.

I'd love if you could provide feedback on which features are necessary (should I add support for files?) and which ones are useless. I'm not a cybersec guy so I'm not sure if I'm doing the encryption properly, so if you can please review this file: https://github.com/Yureien/YABin/blob/main/src/lib/crypto.ts. The initialization vector gets stored on the DB to result in a shorter URL and ensure it's unique, is that a good approach?

0 comments

[ 3.2 ms ] story [ 11.9 ms ] thread

No comments yet.