ocloud

Crates.ioocloud
lib.rsocloud
version
sourcesrc
created_at2025-02-01 09:08:14.450768
updated_at2025-02-02 22:14:58.178881
descriptionCommand line utilities for a self-hosted cloud
homepage
repositoryhttps://github.com/niooii/ocloud
max_upload_size
id1538283
Cargo.toml error:TOML parse error at line 22, column 1 | 22 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(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: 76

cargo fmt