{"id":29643689,"url":"https://github.com/00nx/temp-file-server","last_synced_at":"2026-04-11T11:36:12.007Z","repository":{"id":304839712,"uuid":"1020203256","full_name":"00nx/temp-file-server","owner":"00nx","description":"A simple temporary file server written on node js, upload and download","archived":false,"fork":false,"pushed_at":"2025-07-15T14:04:15.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-16T07:17:56.751Z","etag":null,"topics":["api","curl","express","fast","javascript","javasript","multer","nodejs","temp","temp-fille","temporary-file"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/00nx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-15T13:54:15.000Z","updated_at":"2025-07-15T14:04:19.000Z","dependencies_parsed_at":"2025-07-16T11:12:28.803Z","dependency_job_id":"56872eac-c4a9-4619-bee3-480e8e824ea6","html_url":"https://github.com/00nx/temp-file-server","commit_stats":null,"previous_names":["00nx/temp-file-server"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/00nx/temp-file-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00nx%2Ftemp-file-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00nx%2Ftemp-file-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00nx%2Ftemp-file-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00nx%2Ftemp-file-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/00nx","download_url":"https://codeload.github.com/00nx/temp-file-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/00nx%2Ftemp-file-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31679482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: 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":["api","curl","express","fast","javascript","javasript","multer","nodejs","temp","temp-fille","temporary-file"],"created_at":"2025-07-22T00:00:46.875Z","updated_at":"2026-04-11T11:36:11.990Z","avatar_url":"https://github.com/00nx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Temp File Server\n\nA simple **raw API** for uploading files and generating one-time download links.  \nBuilt with **Node.js**, **Express**, and **Multer**.\n\n---\n\n## 🚀 Features\n\n- 📁 Upload any file\n- 🔗 Get a direct download link\n- 🧩 Pure API — no frontend\n- 🔒 Works locally or expose via `ngrok` \n\n---\n\n## 📦 Installation\n\n**1️⃣ Clone the repo**\n\n```bash\ngit clone https://github.com/yourusername/temp-file-server.git\ncd temp-file-server\n```\n```bash\nnpm install\n```\n🏃‍♂️ Running locally\nStart the server: \n\n```bash \nnpm start\n```\n📤 Upload a file\nUse cURL, Postman, or any client:\n\n```bash\ncurl -F \"file=@yourfile.txt\" http://localhost:3000/uploadfile\n```\n📥 Download a file\nVisit the link in your browser, or curl it:\n```bash\ncurl -O http://localhost:3000/download/\u003cid\u003e\n```\n\n🌍 Expose your server (Windows)\n1️⃣ Using ngrok\n\n# Download [ngrok](https://ngrok.com/downloads/windows) \u0026 add to PATH \n```bash\nngrok http 3000\n```\nCopy the HTTPS forwarding link\nUse it to upload or download files, e.g.\nhttps://abc123.ngrok.io/uploadfile\n\n\n✅ Using Cloudflared\n# Download [Cloudflared](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/) \u0026  add it to your PATH.\n\nRun a tunnel:\n\n```bash\ncloudflared tunnel --url http://localhost:3000\n```\nUse the generated trycloudflare.com link: \n\n```bash\nhttps://abc123.trycloudflare.com/uploadfile****\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00nx%2Ftemp-file-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F00nx%2Ftemp-file-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F00nx%2Ftemp-file-server/lists"}