Pixakit is a Open Source Project that give you the facility to have Image Resizing on the fly using your favority Cloud Provider (Azure, Amazon, Google Cloud) or self-hosting your images. The images are getting from your provider and cache using Moka Rs |
KISS -> Keep Stupid Simple.
Pixakit can be used with your current setup, just creating a wrapping function to transform your current provider url to a valid pixakit url. IMAGE MAGICK IS REQUIRED. MAGICK RUST
Example: https://company.com/Home_Illustration_a2ba90ea37/Home_Illustration_a2ba90ea37.webp
https://pixakit.com/api/v1/googlecloud/images/{bucket}/Home_Illustration_a2ba90ea37.webp
- GET = /api/v1/ondisk/get-all-files
- GET = /api/v1/ondisk/get-files-and-folders
- GET = /api/v1/ondisk/images/folder1/subfolder1/sebasback.webp?width=300&height=500
- POST = /api/v1/ondisk/upload?path=folder1/subfolder1
- GET = /api/v1/amazon/images/pixakit/permissionless.webp?width=200&height=100
- POST = /api/v1/azure/upload
- GET = /api/v1/azure/images/pixakit/descentral.webp?width=500&height=300
- GET = /api/v1/googlecloud/images/pixakit/Payment-Model.webp?width=500&height=300
You can find a valid Postman Collection file in: Postman.
STORAGE_PROVIDER = ONDISK
STORAGE_ACCOUNT =
STORAGE_ACCESS_KEY =
AWS_ACCESS_KEY =
AWS_SECRET_ACCESS_KEY =
Rename the file pixakit-key.json.example to pixakit-key.json and update with your google cloud credentials
- Add UI to manage assets using Astro.
- Simplify API where query params can be reused.
- Add support to upload files to cloud providers.
- Limit the file types to be uploaded.
- Add support to download files with the params.
- Listing the files in caches with option to deleted or add a TIME_TO_LIVE.
- Create the docker file and build setup