ocloud

Crates.ioocloud
lib.rsocloud
version0.1.3
created_at2025-02-01 09:08:14.450768+00
updated_at2025-02-02 22:14:58.178881+00
descriptionCommand line utilities for a self-hosted cloud
homepage
repositoryhttps://github.com/niooii/ocloud
max_upload_size
id1538283
size164,728
(niooii)

documentation

README

NOTE

DO NOT install this.
This is actively being worked on, and I published it to make sure it compiles correctly

Environment

Rename example.env -> .env, then fill out the variables accordingly.

API

/media/[path]

Note - path is a directory if it ends with '/'.
All directories are created upon access.

GET (file/dir) - Retrieves the file, or lists the directory contents
DELETE (file) - Deletes the file
POST (dir) - Uploads a file to the directory. (sent via multipart)\

TODO

  • for each [file] uploaded, store a [file].meta that contains all the names the media is aliased under. can be used to restore the database and download everything
Commit count: 78

cargo fmt