Open-source project
versity/versitygw avatar
versity/versitygw

A root key in the quickstart command line, catch-all website mode, and three message brokers

A simple to deploy but feature rich S3 object storage server for your filesystem

3,157 stars340 forksGoApache-2.0

At a glance

What is it?
VersityGW is an S3 translation gateway: it accepts S3 object commands and turns them into operations on a filesystem, a blob store or another S3 server, and it is sold as a single command that makes a directory into an object store. The interesting parts are where that framing stops holding, from credentials passed as environment variables in the documented example to a website mode where any hostname becomes a bucket name, a dependency list carrying three message brokers, and a container build that floats both base images and stamps the word none into the binary by default.
Who is it for?
VersityGW fits a team that has data on a filesystem and applications that only speak S3, and the posix backend is the shortest path to a working setup. Four things to check first.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • versity/versitygw3,157 ★ · +214
Star history
Repository2026-09-242026-11-23
versity/versitygw2.9k3.2k

214 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The quickstart puts the root key on the command line

The shortest documented path to a running server is three commands:

code
mkdir /tmp/vgw /tmp/vers
ROOT_ACCESS_KEY="testuser" ROOT_SECRET_KEY="secret" ./versitygw --port :10000 --iam-dir /tmp/vgw posix --versioning-dir /tmp/vers /tmp/vgw

Two things in that line are worth pausing on. The credentials are passed as environment variables on the command line, which means they are in the shell history and visible in the process list for as long as the process runs. And the option that enables accounts is described as providing simple JSON flat file accounts for testing.

So the documented first run uses a credential transport that is fine for a tutorial and the account mechanism the documentation itself labels as a test facility. Neither is presented as a warning, and both are the path most readers will take first.

The rest of the line is the actual server. It listens on a port, serves one directory, and keeps older object versions in another. The documentation notes that it is fine for those two directories to sit on the same filesystem, which is a small permission to take and one worth understanding before the directory is anything important.

Without a domain option, the hostname becomes the bucket name

The static website feature has two modes and the difference between them is one flag.

With a website endpoint and a domain option, routing is virtual host style: a bucket named blog is served at a matching subdomain, and the bucket named after the domain itself is served at the domain.

With the domain option omitted, the gateway falls into what the documentation calls catch-all mode, where the full hostname becomes the bucket name. The instruction that follows is to name your buckets as fully qualified domain names.

That is a routing decision with a naming consequence. In catch-all mode any hostname that reaches the endpoint is resolved against the bucket namespace, so the bucket list becomes the set of names the endpoint will answer to. A bucket whose name happens to be a domain is reachable at that domain, and a typo in a hostname is a lookup for a bucket that does not exist rather than a rejected request.

The feature also brings index documents, custom error pages and routing rules, and it listens on its own port separate from the S3 endpoint, which is the right shape for it.

The gateway is stateless, and the state is in two directories

The architecture claim is absolute and appears twice: the gateway is completely stateless, and its stateless architecture lets any request be serviced by any gateway.

The consequence the documentation draws is horizontal scaling. Several instances can be deployed as a cluster to raise aggregate throughput, a load balancer can spread requests across them, and there is no affinity requirement and no session to keep.

That is true of the process. It is not true of the system, and the same quickstart shows where the rest lives. One directory holds the accounts, and another holds older object versions. Those are the two pieces of state, and both are paths on a filesystem.

So a cluster of gateways shares those directories, which is what makes the design work and also what decides what happens when they are not shared. Versioning is not a property of the bucket in this arrangement, it is a property of a directory the operator chose, and moving that directory or pointing two clusters at it changes behaviour that the S3 API would otherwise keep consistent.

Three message brokers and two metrics clients in one dependency list

The direct dependency list is the best evidence of what the project actually is, and it is longer than a single-command object store would need.

Three message queue clients appear: one for a messaging system, one for an AMQP broker, and one for Kafka. The README does not mention any of them. Two statistics clients appear alongside, one for a hosted analytics service and one for a statsd endpoint.

Identity is handled by three separate libraries: LDAP, a vault client, and a JSON web token library. The vendor's own filesystem library is in the list too, pinned to a pseudo-version dated in April rather than to a release tag. A checksum library from another storage project appears as well, and a standard library for HTTP sits underneath the web framework the README names as the HTTP and routing layer, which is the expected relationship between the two.

The test helper pinned to a timestamped pseudo-version is a curiosity rather than a problem. The overall picture is a gateway with event fan-out, identity federation and metrics built in, which is a considerably larger system than the one-command framing at the top of the file suggests.

Two floating base images and a version that defaults to none

The container build is short and every default in it is a decision.

Both base images float. The build stage uses the latest Go image and the runtime stage uses the latest Alpine image, with no digest and no version tag, so two builds of the same source can differ in the toolchain and in the userland underneath the binary.

Version information comes from three build arguments, and all three default to the string none. They are then set as environment variables in the build stage and stamped into the executable as build, build time and version at link time. A build that forgets to pass them produces a binary that reports itself as none rather than failing, which is the failure mode worth knowing about.

Two smaller details. The copy from the build stage to the runtime stage refers to the stage by number rather than by name, so reordering the stages would break the build silently. And two build arguments for the account and setup directories default to the same path, so the two directory creation steps in the runtime stage make one directory twice.

Docker Compose v1 and a CUDA path pinned to 13.3

The Makefile shows what the RDMA feature costs to build.

The ordinary test path shells out to a compose command by the hyphenated name, pointing at a compose file under the tests directory with an environment file and the project directory set to the repository root. That is the first-generation command name rather than the subcommand form, which is a small portability note rather than an error.

The RDMA path is where the build stops being ordinary. There is a separate service binary with its own command directory, a builder Dockerfile, a builder image and a builder platform, each overridable, and a comment that records the constraint: the RDMA build dependencies are for one architecture and require cgo. The client library directory for that feature defaults to an absolute path under a specific CUDA release, with three include directories alongside it for the server wrapper, the client and the CUDA headers themselves, and overridable compiler and archiver variables.

There is also a separate test binary for that feature with three builder images of its own, one of them GPU-targeted. In other words, one headline feature in the README accounts for a substantial part of the build machinery.

Production-ready is asserted without a figure

The testing section opens with a claim rather than a measurement: the project is battle-tested and production-ready.

What follows is a description of the process, and the process is specific. Four layers are named. Go unit test files with race detection and coverage analysis over core functionality, edge cases and error handling. Integration test scripts exercising real scenarios across several backends, naming POSIX, S3 and Azure, and across configurations. Functional and regression tests described as end-to-end SDK tests validating complete workflows, including POSIX-specific behaviour and the account functionality, populated with regression tests as issues are addressed. And static analysis with a dedicated checker.

Every pull request must pass the suite before it can be reviewed or merged, and code review is done by at least one human.

The review sentence is the one worth quoting, because it is unusual to see stated this plainly: language models may be used to augment the review process but are never the sole reviewer or decision maker.

What the section does not contain is a number. No coverage figure, no count of tests, no count of backends or configurations, and no reference to how long the suite takes. The process is credible; the claim at the top of it is not measurable from the file.

Five directories for the GPU path and a chart at the root

The repository layout explains the size of the codebase better than any paragraph.

Five directories carry names beginning with the abbreviation for the GPU object protocol, plus one for RDMA itself and one wrapping that client. So the hardware-accelerated transfer path has six directories to itself, which is more than the readme's single paragraph about it would suggest.

Alongside those sit the directories a normal S3 gateway needs, and they are split by layer rather than by feature: authentication, backends, a command tree, an internal package, an account API, metrics, a debug logger, and five separate directories for the API surface, errors, events, logging and responses, plus one for select queries.

Then the things that are neither library nor command: a chart directory, which is the deployment chart matching the packaging term people search for; a plugins directory and one for embedding the gateway in another program; directories for the documentation site and the optional web interface; three shell scripts to run the different test suites plus one PowerShell script; and a script that generates TLS certificates.

Releases are cut with a dedicated release configuration file. The three most recent tags are v1.6.0 in late June, v1.7.0 in mid July and v1.8.0 in early September 2026, with the branch pushed in early October.

Editorial conclusion

VersityGW fits a team that has data on a filesystem and applications that only speak S3, and the posix backend is the shortest path to a working setup. Four things to check first. The documented quickstart passes the root access key and secret as environment variables on the command line, where they are visible to anything reading the process list, and the account store it uses is described as a testing mechanism. The website feature has a catch-all mode in which the entire hostname becomes a bucket name, so bucket naming becomes a routing decision. The statelessness claim is about the gateway process, while the state it needs lives in two directories you point it at, which decides what a cluster shares. And the dependency list is much larger than a single-command tool needs, including three message brokers the README never mentions. Read the version metadata before trusting a container build, since both base images float and the version defaults to a placeholder. The newest release is v1.8.0 from 2026-09-04 and the branch was pushed on 2026-10-02.

Frequently asked questions

What is VersityGW?

A Go server that translates S3 object commands into operations on a storage backend, so an application that speaks only S3 can read and write data that lives somewhere else. The described backends are any generic POSIX filesystem, the vendor's own ScoutFS, Azure Blob Storage, and other S3 servers, and the HTTP and routing layer is built on the Fiber web framework with the AWS SDK used for compatibility.

How do I run VersityGW against a local directory?

Create the directories to serve and to keep older versions in, then run the binary with a port, an account directory, the posix backend, a versioning directory and the directory to serve. The account directory option enables simple JSON flat file accounts, which the documentation describes as being for testing, and the example passes the root access key and secret as environment variables on the command line.

Can VersityGW serve static websites from buckets?

Yes, through a separate website endpoint with index documents, custom error pages and routing rules. With a domain option it routes in virtual host style, so a bucket named blog is served at a matching subdomain. With the option omitted it uses catch-all mode, where the full hostname becomes the bucket name, which is why the documentation says to name buckets as fully qualified domain names.

Is VersityGW stateless?

The gateway process is described as completely stateless, with any request serviceable by any instance, so several can be clustered behind a load balancer for aggregate throughput. The state it needs is in the directories it is pointed at: one holding accounts and one holding older object versions, which means a cluster shares them and object history lives wherever that versioning directory is.

Official sources

  1. License: Apache-2.0
  2. Project website
  3. README
  4. Releases
  5. versity/versitygw on GitHub
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/versity-versitygw.svg)](https://hysenlabs.com/projects/versity-versitygw)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/versity-versitygw.svg)](https://hysenlabs.com/projects/versity-versitygw)

Was this useful?