ash-project

Attachment and file management for Ash Framework

45
2
100% credibility
Found Apr 08, 2026 at 45 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Elixir
AI Summary

AshStorage simplifies adding file attachments, uploads, analysis, and variants like thumbnails to Ash-based applications.

How It Works

1
📰 Discover AshStorage

While building your app with Ash, you learn about this handy tool that makes adding file uploads a breeze.

2
Add it to your app

You simply include it in your project, and it blends right in without any hassle.

3
Pick your storage spot
🖥️
Local folder

Store files right on your own computer or server for quick access.

☁️
Cloud service

Send files to a secure online storage like a big digital locker.

4
📎 Set up file spots

Tell your app where users can attach photos, documents, or other files, like profile pictures or blog images.

5
Upload magic happens

Users drag and drop files, and they instantly save, get analyzed for details like image sizes, and even create thumbnails automatically.

6
🔄 Manage files easily

Swap out old files, delete extras, or purge everything with simple actions that feel effortless.

🎉 Files work perfectly

Your app now handles uploads, previews, and storage like a professional tool, making everyone happy.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 45 to 45 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is ash_storage?

AshStorage adds file attachments to Elixir's Ash Framework resources via simple DSL: declare `has_one_attached :avatar` or `has_many_attached :docs`, and it uploads to disk or S3 ash storage buckets, extracts metadata via analyzers (image dimensions, file info), and generates variants like thumbnails. Handles attachment filename, content types, and purging, with signed URLs for secure access and plugs for serving—solving upload boilerplate in Phoenix apps.

Why is it gaining traction?

Zero-config backends (disk, S3, in-memory test) with per-env overrides beat rolling your own or porting Rails ActiveStorage. Async analyzers and variants via Oban prevent blocking uploads, while calculations auto-generate URLs—even respecting attachment file size limits like Gmail/Outlook caps. Live dev demo showcases S3 presigned uploads and disk serving instantly.

Who should use this?

Ash devs building CMSes, forums, or marketplaces needing user uploads: cover images, PDFs in ash storage silos, or multi-file galleries. Ideal for LiveView forms handling attachment files without custom controllers or deps like Waffle—especially if eyeing frappe s3 attachment github patterns.

Verdict

Grab it if you're on Ash—mature DSL, full docs, and runnable demo make the 45 stars and 1.0% credibility score deceptive; it's production-viable at 0.1.0 with Oban integration. Non-Ash Elixir teams: wait for more adoption.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.