{"repo":"Sumis34/cuota-filesharing","free":true,"listed":false,"github":"https://github.com/Sumis34/cuota-filesharing","clone":"git clone https://github.com/Sumis34/cuota-filesharing.git","description":"A open-source alternative to file sharing platforms like Wetransfer optimised for creators.","language":"TypeScript","stars":15,"topics":["filesharing","nextjs","s3","docker","creators","minio","photography","videography"],"license":"AGPL-3.0","category":"deployment-docker-iac","readme_excerpt":"Cuota File sharing This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack. Run App 1. Clone repo 2. Configure ENV Variables 3. Configure Logging. sentry-cli login sentry.io 4. Deploy (Recommended to deploy to Vercel) MinIo Setup MinIo is a self hosted s3 storage solution. Because this project is focused around open source solutions cuota is optimized to work with MinIo. MinIo Container This docker command starts the container with admin pass and Domain configured. Replace CHANGEME with secure password. Apache Proxy configuration This configuration allows public access to the self hosted Minio server (Running in Docker). Currently there is a problem with CORS because the MinIo server dose not return a CORS Header for Images. This blocks the frontend from Automatically download the files. This is fixed with the following workaround in the Proxy configuration. Image optimization For now I use a manual compression proccess on the Client . If you are interested about my learnings with imgproxy you can check out my Notes. Maintenance Because we want our shared files to expire eventually we need to set a cronjob. But because this project is centered around a easy to use solution we will use the cron-job.org service. This service is a simple to use service that allows you to schedule a http request to a url. Cronjob.org Setup I have setup a job with the following configuration. Add your service key (SERVICE KEY) configured in the .env file. Inspirati","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sumis34","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sumis34/cuota-filesharing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}