Crates.io | pcloud-http-server |
lib.rs | pcloud-http-server |
version | 0.2.3 |
source | src |
created_at | 2022-07-03 16:24:52.682675 |
updated_at | 2024-08-11 13:12:59.966584 |
description | HTTP proxy server for pCloud API |
homepage | |
repository | https://github.com/jdrouet/pcloud |
max_upload_size | |
id | 618423 |
size | 65,523 |
Proxy server to have a static file server from your pcloud instance
# to run in root folder
docker build -t pcloud-http-server -f http-server/Dockerfile .
# and run the container
docker run -d \
-p 3000:3000 \
-e RUST_LOG=info \
-e PCLOUD_REGION=eu \
-e PCLOUD_USERNAME=username \
-e PCLOUD_PASSWORD=password \
pcloud-http-server
# display content
curl http://localhost:3000/by-path/