Go to file
Luca Bilke 8d25de682a
test / test (push) Failing after 20s Details
fix CI
2024-06-24 18:05:21 +02:00
.forgejo/workflows fix CI 2024-06-24 18:05:21 +02:00
src WIP 2024-06-24 12:18:05 +02:00
test WIP 2024-06-24 12:18:05 +02:00
.editorconfig WIP 2024-06-24 01:03:16 +02:00
.gitignore WIP 2024-06-24 01:03:16 +02:00
README.md WIP 2024-06-24 01:03:16 +02:00
gleam.toml WIP 2024-06-24 01:03:16 +02:00
manifest.toml WIP 2024-06-24 01:03:16 +02:00

README.md

dumptruck

Development

gleam run   # Run the project
gleam test  # Run the tests
gleam shell # Run an Erlang shell

Flow

Upload

take file upload -> get hash of file -> test against CSAM hash list -> generate UUID -> point UUID at hash of file -> save file if hash doesn't exist -> return UUID

Download

take file UUID -> search for UUID in table and get hash -> return file if hash exists

TODO

  • [] Handle file upload
  • [] Handle file download
  • [] Testing against CSAM hash list
  • [] Logging IPs (up and down) of detected CSAM uploads