defmodule LivebookWeb.SettingsLive.AddFileSystemComponent do use LivebookWeb, :live_component alias Livebook.FileSystem @impl true def mount(socket) do {:ok, assign(socket, data: empty_data(), error_message: nil)} end @impl true def render(assigns) do ~H"""
Configure an AWS S3 bucket as a drop in replacement of the regular file system. Many storage services offer an S3-compatible API, so you can use those as well. One such service is Storj and they offer free storage.
Note that any other user of your Livebook could theoretically extract the credentials, so make sure to properly limit their access to this specific bucket.
<%= if @error_message do %>