---
title: "Discussion on \"Direct File uploads with Phoenix Liveview and Cloudflare R2.\" | Hashnode"
description: "Discussion on \"Direct File uploads with Phoenix Liveview and Cloudflare R2.\". It's been really hard to figure this out and I had to cobble together many sources to get it working. Enjoy!\n\nWe're going to build a direct image upload to Cloudflare B2 from the browser. That way the file doesn't travel to your servers and slow them..."
url: "https://hashnode.com/posts/direct-file-uploads-with-phoenix-liveview-and-cloudflare-r2/65a00d1fe29779edf3500679"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Direct File uploads with Phoenix Liveview and Cloudflare R2.](https://sergiotapia.com/direct-file-uploads-with-phoenix-liveview-and-cloudflare-r2?utm_source=hashnode&utm_medium=feed)

It's been really hard to figure this out and I had to cobble together many sources to get it working. Enjoy! We're going to build a direct image upload to Cloudflare B2 from the browser. That way the file doesn't travel to your servers and slow them...

Jan 11, 2024 · 3 min read · sergiotapia.com  
Read the article

-   [#phoenix-liveview](https://hashnode.com/tag/phoenix-liveview)
-   [#cloudflare-r2](https://hashnode.com/tag/cloudflare-r2)

## Written by

[Sergio Tapia](https://hashnode.com/@sergiotapia)

@sergiotapia · Miami

  
[View profile](https://hashnode.com/@sergiotapia)

CTO | VP of Engineering | Elixir and Phoenix Liveview

I write open source software, check my Github! Ping me for collabs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
