Hacker News new | ask | show | jobs
by codegeek 1436 days ago
Wow, super impressed. I have always wanted to build something like this where everything is embedded in 1 single file and I knew Go could be a great way to do it but always wondered how to handle the database part. Along comes SQLlite.

One feedback which will probably deviate from everything in 1 file concept but adding an option to upload files to an S3 URL will be awesome. Perhaps a pull request ? I am thinking of use cases like document management using this and if I can have the actual files in S3 (or S3 compatible), that would be a huge plus.

EDIT: I spoke too soon. You already have an option for S3 as I tested the demo. Very cool.

How much work went into this btw ? The github, documentation everything is well done. I envy work like this :)

2 comments

By default PocketBase uses the local filesystem, but you could also configure a S3 compatible storage (AWS, DigitalOcean, Vultr, etc.) from "Settings > Files Storage > Use S3 storage".

I've started working on the project ~ 3-4 months ago. The last 4 weeks I've taken a longer break from my day-to-day job so that I could finalize the first release.

Uploaded files must deviate from „everything in one file“ regardless of using S3, right? How (and why) would you store user uploads within the binary?
Uploaded files and your database are stored outside of the binary.
yea it was a silly question. It does allow S3 anyway so we are good.
My intent was not to point out a „silly question“. I was legitimately interested if there is a reasoning and what a use case for that would be. Thank you for responding nicely!