{"id":27259585,"url":"https://github.com/coolcode/dfile-rust","last_synced_at":"2025-04-11T04:06:18.827Z","repository":{"id":146192922,"uuid":"215972727","full_name":"coolcode/dfile-rust","owner":"coolcode","description":"[Rust + Rocket] DFile: A fancy IPFS-based file sharing mode","archived":false,"fork":false,"pushed_at":"2024-04-16T23:50:10.000Z","size":24053,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"s3","last_synced_at":"2025-04-11T04:06:14.476Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dfile.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coolcode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-10-18T08:04:56.000Z","updated_at":"2023-06-12T03:27:33.000Z","dependencies_parsed_at":"2024-04-17T00:39:50.309Z","dependency_job_id":null,"html_url":"https://github.com/coolcode/dfile-rust","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fdfile-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fdfile-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fdfile-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coolcode%2Fdfile-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coolcode","download_url":"https://codeload.github.com/coolcode/dfile-rust/tar.gz/refs/heads/s3","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248339279,"owners_count":21087215,"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","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":[],"created_at":"2025-04-11T04:06:18.244Z","updated_at":"2025-04-11T04:06:18.810Z","avatar_url":"https://github.com/coolcode.png","language":"JavaScript","readme":"# [Rust + Rocket] DFile: A fancy S3-based file sharing mode\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/3b25d03f9535456997878815286921eb)](https://www.codacy.com/manual/coolcode/dfile?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=coolcode/dfile\u0026utm_campaign=Badge_Grade)\n\nThis is a no-bullshit and S3-based file hosting that also runs on [https://dfile.app](https://dfile.app)\n\n![img](https://github.com/coolcode/dfile/blob/master/share/img/dfile.png?raw=true)\n\n## DFile backend (server)\n\nBefore running the service for the first time, run\n\n```bash\ncp sample.env .env\n```\n\nModify .env (mainly setup your S3 settings)\n\n```bash\n\n```\n\nRun it\n\n```bash\ncargo run\n```\n\n## DFile frontend (app)\n\nInstall yarn first: [https://yarnpkg.com/lang/en/docs/install/](https://yarnpkg.com/lang/en/docs/install/)\n\n```bash\n# run\nyarn\nyarn dev\n\n# export to production\nyarn export\n```\n\n## How to use\n\n```bash\n# Upload using cURL\n➜ curl -F file=@yourfile.txt http://localhost:8000\nhttp://localhost:8000/QmV...HZ\n# Download the file\n➜ curl -L http://localhost:8000/QmV...HZ -o yourfile.txt\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcode%2Fdfile-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoolcode%2Fdfile-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoolcode%2Fdfile-rust/lists"}