Live data from Hacker News

Show HN: File0 – An easier way to manage files in serverless apps

file0.dev

11–20 of 158 posts

Re: Show HN: File0 – An easier way to manage files in serverless apps

#13
These comparisons are really unfair. For example there's no reason you have to use a bucket policy in the sdk (I've never).

Unless it's S3 compatible it's going to be a gargantuan task to make this successful as _everything_ uses the S3 API.

Re: Show HN: File0 – An easier way to manage files in serverless apps

#15

These comparisons are really unfair. For example there's no reason you have to use a bucket policy in the sdk (I've never). Unless it's S3 compatible it's going to be a gargantuan task to make this successful as _everything_ uses the S3 API.

R2 is also a solution to much of this.

But best of luck to OP!

Re: Show HN: File0 – An easier way to manage files in serverless apps

#16
Standard S3 is $.02/GB, this is $.12/GB so 6x the price. You don't pay data transfer with this solution at least.

Quick alternative:

  #!/bin/bash

  if [ "$#" -ne 2 ]; then
    echo "Usage: $0  "
    exit 1
  fi

  FILE_TO_UPLOAD=$1
  S3_BUCKET=$2
  S3_OBJECT_NAME=$(basename "$FILE_TO_UPLOAD")

  aws s3 cp "$FILE_TO_UPLOAD" "s3://$S3_BUCKET/$S3_OBJECT_NAME" --acl public-read

  if [ $? -eq 0 ]; then
    echo "File uploaded successfully."
    PUBLIC_URL="https://$S3_BUCKET.s3.amazonaws.com/$S3_OBJECT_NAME"
    echo "The file is publicly accessible at: $PUBLIC_URL"
  else
    echo "Failed to upload file."
    exit 1
  fi

Re: Show HN: File0 – An easier way to manage files in serverless apps

#18
This seems like a great idea.

I've come to think the UX requirements of enterprise and indie dev / start up customers are fundamentally incompatible in the cloud.

As an enterprise I want to be able to set restrictions at the org, project, team and resource level for various compliance rules. And I want these rules to be restrictive by default (e.g block public access).

However as an individual developer the mere existence of those options makes getting started and debugging things painful. It's why I'll never again use Azure for a side project, although it'd be my first choice for a government project.

Re: Show HN: File0 – An easier way to manage files in serverless apps

#19
post #12

It isn't just developer experience. - Can I trust you? - Where are your company credentials? - What's the business continuity plan? - What's your support? Sending an email to hi@ may not work, when my application is dead because of some bug at your end.

There is a huge continuum from scrappy startup all the way to the point where you ask this kind of questions before even touching something new.

Re: Show HN: File0 – An easier way to manage files in serverless apps

#20
post #12

It isn't just developer experience. - Can I trust you? - Where are your company credentials? - What's the business continuity plan? - What's your support? Sending an email to hi@ may not work, when my application is dead because of some bug at your end.

I agree with your concerns, but wow do I miss the 1990s/2000s era of the internet. Things were so much more fun then.

Perhaps a 'mirror to S3-compatible store' feature would address these concerns though. Sure it is extra cost, but it would be a nice de-risking option for early adopters.

Post reply on HN