{"id":23033988,"url":"https://github.com/olback/tempfiles-rs","last_synced_at":"2025-08-14T15:33:51.068Z","repository":{"id":92269895,"uuid":"251171631","full_name":"olback/tempfiles-rs","owner":"olback","description":"Upload a file and share it for 24 hours","archived":false,"fork":false,"pushed_at":"2024-02-04T01:32:24.000Z","size":385,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T13:12:10.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://tempfiles.ninja","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olback.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}},"created_at":"2020-03-30T01:27:27.000Z","updated_at":"2024-04-07T12:15:37.000Z","dependencies_parsed_at":"2024-01-20T02:46:29.470Z","dependency_job_id":null,"html_url":"https://github.com/olback/tempfiles-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2Ftempfiles-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2Ftempfiles-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2Ftempfiles-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olback%2Ftempfiles-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olback","download_url":"https://codeload.github.com/olback/tempfiles-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229843434,"owners_count":18132907,"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":"2024-12-15T16:28:32.278Z","updated_at":"2024-12-15T16:28:33.014Z","avatar_url":"https://github.com/olback.png","language":"Rust","readme":"# Tempfiles\n\n**Share files for up to 24h hours.**\n\nEverything you upload, including filename and content-type is encrypted with [`aes-gcm-siv`](https://en.wikipedia.org/wiki/AES-GCM-SIV).\n\n**Table setup**\n| column          | data type      | description                                                |\n| --------------- | -------------- |----------------------------------------------------------- |\n| id              | `VARCHAR(32)`  | file id                                                    |\n| iv              | `bytea`        | encryption iv (nonce)                                      |\n| content         | `bytea`        | encrypted file data                                        |\n| views           | `integer`      | valid file views                                           |\n| max_views       | `integer/null` | delete after this amount of views, null if no limit is set |\n| delete_password | `VARCHAR(32)`  | password used for file deletion                            |\n| timestamp       | `timestamp`    | used to determine if the file is older than 24h            |\n\nInspired by [Carlgo11/TempFiles](https://github.com/carlgo11/TempFiles)\n\n# Setup\n\n## Backend\n\n**Prerequisites**\n* [Rust](https://www.rust-lang.org/) (cargo, rustup)\n\n\n**Build:**\n```terminal\ncargo build --target x86_64-unknown-linux-gnu --release\n```\n\n## Frontend\n\n**Prerequisites**\n* NodeJS / NPM\n\n**Build:**\n```terminal\ncd frontend\nnpm i --legacy-peer-deps\nnpm run build\n```\n\n## Deploy\n\n* Copy `.sample.env` to `.env` and modify.\n* Start services: `docker-compose up` (add `-d` to detach)\n* To configure the database: `scripts/postgres_setup.sh`\n* Done!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folback%2Ftempfiles-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folback%2Ftempfiles-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folback%2Ftempfiles-rs/lists"}