Skip to content

coralbits/coralpages-assets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coralpages Assets

Simple asset manager that allows to upload files into bucketts, and retrieve them later.

Basic goals:

  • Create buckets
  • Upload files
  • Retrieve files
  • Delete files
  • List files
  • Initial backend is always disk.

Future goals:

  • Filters - At upload do some operations via config, like resize, convert, reencode...
  • Related files - Using the filters have alternate views of the file, as the reencoded, or a given cropped size of an image.
  • File versioning - Allow to keep multiple versions of the same file, and retrieve them later.
  • Alternative backends - S3, GCP, Azure, etc. Each bucket can have other backend.

OpenAPI Documentation

All openapi documentation can be accessed at /docs/.

Simple web app

There is a simple web app running at / to allow easy access to items. It can be disabled at the config.yaml file.

Manual test

Create a bucket

curl -X PUT http://localhost:8005/test/

Upload a file

curl -T test.txt http://localhost:8005/test/test.txt

List files

curl http://localhost:8005/test/

Retrieve a file

curl http://localhost:8005/test/test.txt

Delete a file

curl -X DELETE http://localhost:8005/test/test.txt

About

Asset Manager for CoralPages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors