{"id":35040268,"url":"https://github.com/gabriel-logan/temp-files","last_synced_at":"2026-04-26T17:31:20.231Z","repository":{"id":326575431,"uuid":"1106190208","full_name":"gabriel-logan/temp-files","owner":"gabriel-logan","description":"This application is useful for quickly sharing files without creating an account. It provides a simple web interface and an API for uploading, listing, downloading, and deleting files. And all files are protected with a password of your choice and stored in a secure group generated by a UUID v4.","archived":false,"fork":false,"pushed_at":"2026-03-18T23:13:41.000Z","size":234,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-19T12:39:48.577Z","etag":null,"topics":["nextjs","nextjs-16","send","send-file","send-files","temporary","typescript"],"latest_commit_sha":null,"homepage":"https://temp-files-lake.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/gabriel-logan.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-28T19:25:24.000Z","updated_at":"2026-03-18T23:13:38.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gabriel-logan/temp-files","commit_stats":null,"previous_names":["gabriel-logan/temp-files"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabriel-logan/temp-files","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel-logan%2Ftemp-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel-logan%2Ftemp-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel-logan%2Ftemp-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel-logan%2Ftemp-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabriel-logan","download_url":"https://codeload.github.com/gabriel-logan/temp-files/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabriel-logan%2Ftemp-files/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32307010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T17:23:19.671Z","status":"ssl_error","status_checked_at":"2026-04-26T17:23:19.195Z","response_time":129,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nextjs","nextjs-16","send","send-file","send-files","temporary","typescript"],"created_at":"2025-12-27T08:14:46.755Z","updated_at":"2026-04-26T17:31:20.209Z","avatar_url":"https://github.com/gabriel-logan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API Usage Documentation via CURL\n\n## Locales\n\n- [English](README.md)\n- [Português (Brasil)](README_PT.md)\n\nBase URL:\n\n```\nhttps://temp-files-lake.vercel.app\n```\n\nYou can access the base URL in your browser to interact with the web interface.\n\nThis documentation explains how to use the entire API **via cURL**, with examples for **Linux/MacOS** and **Windows (PowerShell)**.\n\n---\n\n# 📁 Upload Files\n\n**Endpoint:** `POST /api/files`\n\nUploads files via multipart/form-data.\n\n### Required fields\n\n- `password` — password needed for all future operations\n- `files` — one or more files\n\n---\n\n## Linux / MacOS\n\n```\ncurl -X POST \\\n  -F \"password=mypassword\" \\\n  -F \"files=@/path/file1.png\" \\\n  -F \"files=@/path/file2.pdf\" \\\n  https://temp-files-lake.vercel.app/api/files\n```\n\n---\n\n## Windows (PowerShell)\n\n```\ncurl -X POST `\n  -F \"password=mypassword\" `\n  -F \"files=@C:/path/file1.png\" `\n  -F \"files=@C:/path/file2.pdf\" `\n  https://temp-files-lake.vercel.app/api/files\n```\n\n---\n\n# 📄 List Files in a Group\n\n**Endpoint:** `POST /api/files/get-files`\n\nReturns metadata about files in the group (does not download files).\n\n### JSON body\n\n```json\n{\n  \"groupId\": \"\u003cid returned on upload\u003e\",\n  \"password\": \"\u003cpassword used on upload\u003e\"\n}\n```\n\n---\n\n## Linux / MacOS\n\n```\ncurl -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"password\":\"mypassword\"}' \\\n  https://temp-files-lake.vercel.app/api/files/get-files\n```\n\n---\n\n## Windows (PowerShell)\n\n```\ncurl -X POST `\n  -H \"Content-Type: application/json\" `\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"password\":\"mypassword\"}' `\n  https://temp-files-lake.vercel.app/api/files/get-files\n```\n\n---\n\n# 📥 Download a Specific File\n\n**Endpoint:** `POST /api/file`\n\nReturns the binary file.\n\n### JSON body\n\n```json\n{\n  \"groupId\": \"\u003cid\u003e\",\n  \"fileId\": \"\u003cfile id\u003e\",\n  \"password\": \"\u003cpassword\u003e\"\n}\n```\n\n---\n\n## Linux / MacOS\n\n```\ncurl -X POST \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"fileId\":\"YOUR_FILE_ID\",\"password\":\"mypassword\"}' \\\n  https://temp-files-lake.vercel.app/api/file \\\n  --output downloaded_file.ext\n```\n\n---\n\n## Windows (PowerShell)\n\n```\ncurl -X POST `\n  -H \"Content-Type: application/json\" `\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"fileId\":\"YOUR_FILE_ID\",\"password\":\"mypassword\"}' `\n  https://temp-files-lake.vercel.app/api/file `\n  --output downloaded_file.ext\n```\n\n---\n\n# 🗑️ Delete a Specific File\n\n**Endpoint:** `DELETE /api/file`\n\n### JSON body\n\n```json\n{\n  \"groupId\": \"\u003cid\u003e\",\n  \"fileId\": \"\u003cfile id\u003e\",\n  \"password\": \"\u003cpassword\u003e\"\n}\n```\n\n---\n\n## Linux / MacOS\n\n```\ncurl -X DELETE \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"fileId\":\"YOUR_FILE_ID\",\"password\":\"mypassword\"}' \\\n  https://temp-files-lake.vercel.app/api/file\n```\n\n---\n\n## Windows (PowerShell)\n\n```\ncurl -X DELETE `\n  -H \"Content-Type: application/json\" `\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"fileId\":\"YOUR_FILE_ID\",\"password\":\"mypassword\"}' `\n  https://temp-files-lake.vercel.app/api/file\n```\n\n---\n\n# 🗃️ Delete Entire File Group\n\n**Endpoint:** `DELETE /api/files`\n\n### JSON body\n\n```json\n{\n  \"groupId\": \"\u003cid\u003e\",\n  \"password\": \"\u003cpassword\u003e\"\n}\n```\n\n---\n\n## Linux / MacOS\n\n```\ncurl -X DELETE \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"password\":\"mypassword\"}' \\\n  https://temp-files-lake.vercel.app/api/files\n```\n\n---\n\n## Windows (PowerShell)\n\n```\ncurl -X DELETE `\n  -H \"Content-Type: application/json\" `\n  -d '{\"groupId\":\"YOUR_GROUP_ID\",\"password\":\"mypassword\"}' `\n  https://temp-files-lake.vercel.app/api/files\n```\n\n---\n\n# ✅ Route Summary\n\n| Action        | Method | Route                  |\n| ------------- | ------ | ---------------------- |\n| Upload files  | POST   | `/api/files`           |\n| List files    | POST   | `/api/files/get-files` |\n| Download file | POST   | `/api/file`            |\n| Delete file   | DELETE | `/api/file`            |\n| Delete group  | DELETE | `/api/files`           |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabriel-logan%2Ftemp-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabriel-logan%2Ftemp-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabriel-logan%2Ftemp-files/lists"}