{"id":29327871,"url":"https://github.com/mgalacyber/nextjs-file-uploader","last_synced_at":"2026-04-09T11:03:22.709Z","repository":{"id":303201103,"uuid":"1014670704","full_name":"MGalaCyber/NextJS-File-Uploader","owner":"MGalaCyber","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-06T09:19:06.000Z","size":232,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-06T10:29:11.671Z","etag":null,"topics":["file-upload","nextjs","reactjs","supabase","tailwindcss","temp-files","uploader"],"latest_commit_sha":null,"homepage":"https://nextjs-file-uploader-nine.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MGalaCyber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-06T07:13:15.000Z","updated_at":"2025-07-06T09:19:58.000Z","dependencies_parsed_at":"2025-07-06T10:29:48.994Z","dependency_job_id":"066b5a1c-aa35-49cc-856c-e55295407c35","html_url":"https://github.com/MGalaCyber/NextJS-File-Uploader","commit_stats":null,"previous_names":["mgalacyber/nextjs-file-uploader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MGalaCyber/NextJS-File-Uploader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGalaCyber%2FNextJS-File-Uploader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGalaCyber%2FNextJS-File-Uploader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGalaCyber%2FNextJS-File-Uploader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGalaCyber%2FNextJS-File-Uploader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MGalaCyber","download_url":"https://codeload.github.com/MGalaCyber/NextJS-File-Uploader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MGalaCyber%2FNextJS-File-Uploader/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266802664,"owners_count":23986385,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-upload","nextjs","reactjs","supabase","tailwindcss","temp-files","uploader"],"created_at":"2025-07-07T21:24:03.707Z","updated_at":"2025-12-30T22:06:01.467Z","avatar_url":"https://github.com/MGalaCyber.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🗂️ Temp File Uploader\n\nA simple and secure file uploader built with **Next.js App Router** and **Supabase Storage**.  \nThis tool allows users to upload files and share them temporarily — all files are automatically deleted after **7 days**.\n\n---\n\n## 🚀 Features\n\n- 🔐 Upload files securely to Supabase Storage\n- 📎 Get public \u0026 local preview links instantly\n- 🗑️ Automatic file cleanup after 7 days\n- 🖼️ Supports image \u0026 video preview detection\n- 🧩 Built with Next.js 15+ App Router (API Routes)\n\n---\n\n## 🛠️ Environment Configuration\n\nCreate a `.env` file in the root directory and add your Supabase credentials:\n\n```env\nBUCKET_NAME=files\nSUPABASE_URL=https://YOUR_PROJECT_ID.supabase.co\nSUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY\nBASE_URL=https://domain.com\nCDN_URL=https://cdn.domain.com\n```\n\n🔍 How to get these values:\nYou can find them in your Supabase dashboard:\n- 🔗 [Go to Supabase Project Settings → API](https://supabase.com/dashboard/project/YOUR_PROJECT_ID/storage/buckets/temp-files?showConnect=true)\n    - SUPABASE_URL → Found under \"Project URL\"\n    - SUPABASE_ANON_KEY → Found under \"anon public\" in \"Project API Keys\"\n- 🔗 [Go to Supabase Storage → Buckets](https://supabase.com/dashboard/project/YOUR_PROJECT_ID/settings/api-keys)\n    - BUCKET_NAME → Choose or create a bucket (e.g., `files`, `temp-files`)\n    - BUCKET_POLICIES → Select `New policy \u003e For full customization \u003e Select All (Allowed operation section)`\n\nMake sure your bucket's public access is enabled, or adjust RLS policies accordingly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgalacyber%2Fnextjs-file-uploader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmgalacyber%2Fnextjs-file-uploader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmgalacyber%2Fnextjs-file-uploader/lists"}