Skip to content
Built for AdonisJS 7

File uploads that
stay simple.

Store files, generate image variants, and persist them with Lucid - without coupling your models to the framework. Everything optional is opt-in.

From upload to URL, in four steps

1

Create

Turn an upload, buffer, URL, or stream into a draft.

2

Store

Write the bytes to local disk, S3 via Drive, or your own backend.

3

Persist

Save ownership with Lucid - or any data store you like.

4

Serve

Stream the file back, with optional image variants.

One value, many sources

Uploads, buffers, Base64, paths, URLs, streams - always the same tiny API.

Storage you choose

Local filesystem out of the box, Adonis Drive when you scale, or a custom adapter.

Image variants

Thumbnails and responsive sizes with your own image library, inline or queued.

Persistence, your way

Lucid blob + link tables, a JSON column, or plain values in another ORM.

Persist it your way

Ready to attach your first file?

Install, configure once, and ship uploads in minutes.

Open the quickstart