🧩 Open Source Credits

Onifast is built on the shoulders of great open-source libraries. This page acknowledges all third-party dependencies and their licenses.

🧩 Open Source Credits

Onifast is built with Go and statically links the following open-source libraries. We are grateful to every author and contributor.

Static Linking
All dependencies listed here are compiled directly into the Onifast binaries. No runtime installation of these packages is required on your server.

License Summary

License Type Count Packages
MIT 8 gorilla/mux, gorilla/sessions, gorilla/websocket, gorilla/securecookie, sirupsen/logrus, creack/pty, yookoala/gofast, dustin/go-humanize
Apache 2.0 7 aws-sdk-go, google/uuid, googleapis/*, google.golang.org/api, go.opencensus.io, golang/protobuf, google/appengine
BSD-3 5 go-sql-driver/mysql, golang.org/x/*, modernc.org/sqlite, modernc.org/libc, pachyderm/s2
Other 3 msteinert/pam (MIT), gofrs/uuid (MIT), jmespath/go-jmespath (Apache 2.0)

How We Use These Libraries

gorilla/* — HTTP, Sessions & WebSockets
The Gorilla toolkit provides the HTTP router, session management, secure cookie encoding, and WebSocket protocol implementation powering onifast-panel and onifast-relay.
yookoala/gofast — FastCGI (PHP) Bridge
Enables onifast-web to proxy PHP requests to PHP-FPM via the FastCGI protocol, making it a drop-in replacement for Apache+mod_php.
aws-sdk-go — S3 Protocol
Used by onifast-s3 and backup modules for S3-compatible object storage operations including bucket management and multipart uploads.
modernc.org/sqlite — Embedded Database
A pure-Go SQLite implementation (no CGo) used for the WAL-mode configuration database shared across all Onifast services.
msteinert/pam — Linux PAM Authentication
Provides Go bindings for Linux PAM (Pluggable Authentication Modules), enabling Onifast to authenticate users against system OS accounts.
creack/pty — SSH Terminal (PTY)
Handles pseudo-terminal allocation for the browser-based SSH terminal feature in onifast-panel.
📦 Direct Dependencies

Libraries explicitly required in go.mod and actively used by Onifast source code.

Package Version License Purpose
github.com/aws/aws-sdk-go v1.55.8 Apache 2.0 S3-compatible object storage client
github.com/creack/pty v1.1.24 MIT PTY allocation for SSH terminal
github.com/go-sql-driver/mysql v1.7.1 MPL 2.0 MySQL/MariaDB database driver
github.com/gorilla/mux v1.7.3 BSD-3 HTTP request router and dispatcher
github.com/gorilla/sessions v1.2.2 BSD-3 Server-side session management
github.com/gorilla/websocket v1.5.3 BSD-3 WebSocket protocol — relay & terminal
github.com/msteinert/pam v1.2.0 MIT Linux PAM authentication bindings
github.com/pachyderm/s2 v0.0.0-20220525 Apache 2.0 S3 protocol server implementation
github.com/sirupsen/logrus v1.5.0 MIT Structured application logging
github.com/yookoala/gofast v0.8.0 MIT FastCGI client — PHP-FPM bridge
golang.org/x/crypto v0.49.0 BSD-3 Cryptographic primitives (bcrypt, SSH)
golang.org/x/image v0.39.0 BSD-3 Image decoding for S3 thumbnails
google.golang.org/api v0.100.0 Apache 2.0 Google Drive backup integration
modernc.org/sqlite v1.45.0 BSD-3 + MIT Pure-Go SQLite (WAL configuration DB)
🔗 Indirect Dependencies

Transitive dependencies pulled in by the direct libraries above. These are also statically linked into the final binary.

Package License Required By
github.com/dustin/go-humanize MIT modernc.org/sqlite
github.com/gofrs/uuid MIT pachyderm/s2
github.com/golang/groupcache Apache 2.0 go.opencensus.io
github.com/golang/protobuf BSD-3 google.golang.org/api
github.com/google/uuid Apache 2.0 modernc.org/sqlite
github.com/gorilla/securecookie BSD-3 gorilla/sessions
github.com/jmespath/go-jmespath Apache 2.0 aws-sdk-go
github.com/mattn/go-isatty MIT sirupsen/logrus
github.com/ncruces/go-strftime MIT modernc.org/sqlite
go.opencensus.io Apache 2.0 google.golang.org/api
golang.org/x/net BSD-3 gorilla/websocket, x/crypto
golang.org/x/oauth2 BSD-3 google.golang.org/api
golang.org/x/sys BSD-3 creack/pty, msteinert/pam, logrus
golang.org/x/text BSD-3 x/net, x/crypto
google.golang.org/grpc Apache 2.0 google.golang.org/api
google.golang.org/protobuf BSD-3 golang/protobuf, grpc
modernc.org/libc BSD-3 modernc.org/sqlite
📄 License Texts

Full license texts for the license types used by dependencies in the Onifast Ecosystem.

MIT License

Used by: gorilla/mux, gorilla/sessions, gorilla/websocket, sirupsen/logrus, creack/pty, yookoala/gofast, msteinert/pam, dustin/go-humanize, mattn/go-isatty, ncruces/go-strftime, gofrs/uuid

MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

BSD 3-Clause License

Used by: gorilla/mux, gorilla/securecookie, go-sql-driver/mysql, golang.org/x/*, google.golang.org/protobuf, modernc.org/sqlite, modernc.org/libc

BSD 3-Clause License
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
   may be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Apache License 2.0

Used by: aws-sdk-go, google/uuid, go.opencensus.io, google.golang.org/api, google.golang.org/grpc, jmespath/go-jmespath, golang/groupcache

Apache License 2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Full license text: https://www.apache.org/licenses/LICENSE-2.0.txt

Mozilla Public License 2.0

Used by: go-sql-driver/mysql

MPL 2.0
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.

Full license text: https://www.mozilla.org/en-US/MPL/2.0/
Per-Package License Files
Each package in the github-src/ directory of the Onifast source tree contains its original LICENSE file. These are preserved verbatim as required by the respective licenses.
Copied snippet to clipboard!