{"id":15357213,"url":"https://github.com/gera2ld/rclone-server","last_synced_at":"2026-02-13T15:40:45.941Z","repository":{"id":187868099,"uuid":"615911188","full_name":"gera2ld/rclone-server","owner":"gera2ld","description":"A file server (WebDAV, SFTP) powered by rclone","archived":false,"fork":false,"pushed_at":"2024-11-25T02:59:10.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-25T03:29:11.141Z","etag":null,"topics":["rclone","webdav-server"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gera2ld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-19T03:12:51.000Z","updated_at":"2024-11-25T02:59:21.000Z","dependencies_parsed_at":"2024-06-19T04:05:45.397Z","dependency_job_id":"eb9b0b6e-c617-495c-a983-aeb22da25165","html_url":"https://github.com/gera2ld/rclone-server","commit_stats":null,"previous_names":["gera2ld/rclone-webdav","gera2ld/rclone-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Frclone-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Frclone-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Frclone-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gera2ld%2Frclone-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gera2ld","download_url":"https://codeload.github.com/gera2ld/rclone-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233993914,"owners_count":18762815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rclone","webdav-server"],"created_at":"2024-10-01T12:34:03.252Z","updated_at":"2025-09-23T19:30:32.691Z","avatar_url":"https://github.com/gera2ld.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rclone-server\n\nCreate a file server (WebDAV, SFTP) with `rclone serve \u003cprotocol\u003e --auth-proxy`.\n\nSee [the documentation](https://rclone.org/commands/rclone_serve/) for more details.\n\n## Usage\n\nCreate `auth.json`:\n\n```json\n{\n  \"user1\": {\n    \"auth\": {\n      \"pass\": \"login_pass\"\n    },\n    \"config\": {\n      \"type\": \"local\",\n      \"_root\": \"/data/files\"\n    }\n  },\n  \"user2\": {\n    \"auth\": {\n      \"pass\": \"login_pass\",\n      \"public_keys\": [\"my_public_key\"]\n    },\n    \"config\": {\n      \"type\": \"webdav\",\n      \"_root\": \"/Documents/files\",\n      \"url\": \"https://nextcloud.example.com/remote.php/dav/files/gerald/\",\n      \"vendor\": \"nextcloud\",\n      \"user\": \"gerald\",\n      \"pass\": \"override-pass\"\n    }\n  },\n  \"user3\": {\n    \"auth\": {\n      \"pass\": \"password3\"\n    },\n    \"config\": {\n      \"type\": \"s3\",\n      \"provider\": \"Other\",\n      \"access_key_id\": \"access_key_id\",\n      \"secret_access_key\": \"secret_access_key\",\n      \"endpoint\": \"https://s3.example.com\",\n      \"upload_cutoff\": \"50Mi\",\n      \"chunk_size\": \"50Mi\",\n      \"force_path_style\": \"true\"\n    }\n  }\n}\n```\n\nNote:\n\n- `auth` can contain two fields: `pass`, which enables password login, and `public_keys`, which enables public key login. If absent, the login method is disabled.\n- Once authenticated, `config` will be passed to `rclone` to create a backend. The current authentication info (`user`, `pass`, `public_key`) will also be passed to `rclone` if not provided in `config`.\n\nCreate `compose.yml`:\n\n```yaml\nservices:\n  rclone-server:\n    image: ghcr.io/gera2ld/rclone-server\n    user: 1000:1000\n    restart: unless-stopped\n    volumes:\n      - ./auth.json:/etc/auth.json:ro\n      - ./path/to/my/files:/data/files\n    environment:\n      # See below for available variables and their defaults.\n    ports:\n      - 8080:80\n      - 8022:22\n```\n\nStart service with `docker compose up -d`.\n\n## Environment Variables\n\n| Name                  | Default Value    |\n| --------------------- | ---------------- |\n| RCLONE_DIR_CACHE_TIME | `30s`            |\n| AUTH_CONFIG           | `/etc/auth.json` |\n| PORT_WEBDAV           | `80`             |\n| PORT_SFTP             | `22`             |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Frclone-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgera2ld%2Frclone-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgera2ld%2Frclone-server/lists"}