gofile-dav

Crates.iogofile-dav
lib.rsgofile-dav
version0.1.8
created_at2025-10-30 18:59:18.590208+00
updated_at2025-12-31 10:13:36.987921+00
descriptiona WebDAV implementation for the gofile.io service
homepage
repositoryhttps://github.com/synthlace/gofile-dav
max_upload_size
id1908788
size186,809
Synthlace (synthlace)

documentation

README

gofile-dav — a WebDAV implementation for the gofile.io service

gofile-dav - a WebDAV implementation for the gofile.io service

CI Crates.io license Stars Downloads Lines of Code

gofile-dav is a minimal, cross‑platform CLI utility that exposes gofile.io directories through WebDAV — ideal for mounting, automation, and scripting.

It supports access either directly through a browser (WebDAV HTTP mode) or via a native WebDAV client.

It supports write mode.

It does not require a premium account and works seamlessly with free or guest plans, making it accessible for anyone to serve and mount their gofile.io directories (unlike other tools, such as Rclone, which enforce purchasing a premium).

A quota bypass is available to help with download limits for free/guest users — Experimental

How to use

Serve a folder using short id using guest account

gofile-dav serve Veil7n

Serve a folder using long id using guest account

gofile-dav serve 6c9e22a7-7d6c-4986-8e93-b118558be0bb

Serve a folder protected with a password

gofile-dav serve Veil7n --password CrYpt0C4rr0t

Serve your root folder

gofile-dav serve --api-token Maie2RlOFDDDRao0Y5ll54EAtv2imUlZ

Serve specific folder with your token

gofile-dav serve Veil7n --api-token Maie2RlOFDDDRao0Y5ll54EAtv2imUlZ

Serve with write mode enabled

[!WARNING]
The implementation supports most expected write-related features, with the following limitations:

  • MOVE operations for folders (e.g., cut + paste) are not supported
  • Seeking during writes is not possible
  • Append mode is unsupported

Implemented write features

  • Create folders
  • Upload files
  • Delete files and folders
  • Copy files and folders
  • Rename files and folders
  • Move files (does not work on folders)
gofile-dav serve -m read-write --api-token Maie2RlOFDDDRao0Y5ll54EAtv2imUlZ

[!TIP]
For improved reliability use a filesystem cache layer such as rclone with --vfs-cache-mode writes or --vfs-cache-mode full.

Upgrade

gofile-dav upgrade

Experimental

gofile-dav implements bypass mechanism that uses gofile-bypass.cybar.xyz public service. Which can help with download quota limits for free/guest users.

Serve specific folder with bypass using guest account

gofile-dav serve Veil7n --bypass

Serve your root folder with bypass

[!WARNING]
To use the bypass on your own folder you must make the folder public!

gofile-dav serve --bypass --api-token Maie2RlOFDDDRao0Y5ll54EAtv2imUlZ

Usage

gofile-dav

a WebDAV implementation for the gofile.io service

Usage: gofile-dav <COMMAND>

Commands:
  serve    Run webdav server
  upgrade  Upgrade the binary
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

gofile-dav serve

Run webdav server

Usage: gofile-dav serve [OPTIONS] <ROOT_ID|--api-token <API_TOKEN>>

Arguments:
  [ROOT_ID]  Root folder ID [env: ROOT_ID=]

Options:
  -t, --api-token <API_TOKEN>  Gofile API token [env: API_TOKEN=]
  -P, --password <PASSWORD>    Root password [env: PASSWORD=]
  -m, --mode <MODE>            Mode [env: MODE=] [default: read-only] [possible values: read-only, read-write]
  -p, --port <PORT>            Port for the application [env: PORT=] [default: 4914]
  -H, --host <HOST>            Host for the application [env: HOST=] [default: 127.0.0.1]
  -b, --bypass                 Use public service gofile-bypass.cybar.xyz for downloads [env: BYPASS=]
  -h, --help                   Print help
Commit count: 0

cargo fmt