Oddbean new post about | logout
 npub whitelist, secure, low maintenance, preferably written in rust, should work behind a reverse proxy such as nginx, no big dependencies such as postgres/mysql 
 Got a VERY alpha software Blossom server impl going on here, written in rust: https://github.com/0xtrr/cherry-server. It probably has a bunch of bugs and is not tested well enough so nobody should use it yet. It currently has pubkey and mimetype filters and works behind nginx. Code is a mess and I've probably pulled in more deps than  needed. Depends on a sqlite3 DB to keep track of file references and blob descriptors. 
 thank u !!! 

sounds great, a sqlite3 dependency is fine, it's not one of the "big databases" that need to run system-wide.

i'll take a look at it tomorrow, i'm currently using a patched version of https://github.com/servuscms/servus for media.x0f.org, which works, but it's clearly not meant for this.
 
 Happy to get more dev eyes on cherry-server! I'll happily accept patches or GitHub issues. I'm running Hzrd149's blossom-server software which has worked perfectly fine (written in TypeScript though): https://github.com/hzrd149/blossom-server. Not going to migrate over to cherry-server as my main until I'm sure I've gotten rid of most of the bugs.  
 i've just migrated mine (which only had a few blobs on it anyway) to cherry-server, seems to work great !

already filed some PRs for small things i came across 
 Nothing's like testing in production, right? Awesome, I'll check out the PRs soon! 
 hahahha, for now i'm the only user anyway so i'm fine with the risk 😅 

i also appreciate that it's very little code, and the option to make the `list` endpoint authenticated is a nice touch, so i'm already more confident in it than i was with servus 
 If you need to test Blossom endpoints, I built a small CLI tool to generate auth events btw

https://github.com/0xtrr/blossom-auth