dumptruck/README.md

35 lines
571 B
Markdown

# dumptruck
## Development
```sh
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