About this fork

bahadirdogru/quark is a fork of lucasolopes/quark. quark, its design, the code generator and most of the documentation on this site are the work of Lucas Olopes. The fork is maintained separately by Bahadır Doğru and is not an official upstream release.

The fork’s working branch is main.

What was removed

The fork removes the Enterprise Edition: the src/ee/ and web/src/ee/ directories, the ee cargo feature, and the license, edition and plan entitlement seams. These upstream features are therefore not available:

  • Creating and administering workspaces, and invites.
  • Custom domain verification.
  • SSO email domains, home-realm discovery and per-tenant identity provider administration.
  • Keycloak realm provisioning.
  • Plans, entitlement and Stripe billing.
  • Enterprise license keys.

Signing in with your own identity provider through OIDC is part of the core and remains.

Some pages inherited from upstream still describe how the core behaves in a multi-tenant (cloud) mode. The fork has no routes to create or administer tenants, so read those pages with the default single-operator setup in mind.

What was added

Redirect options

Both settings are off by default. They are also proposed upstream.

Variable Default Effect
QUARK_FORWARD_QUERY off Set to 1, true, yes or on to append the visitor’s query string to the destination of a live link.
QUARK_NOT_FOUND_URL unset (404) An absolute http or https URL. A code or alias that resolves to nothing gets a 302 to it.

With QUARK_FORWARD_QUERY on, a request for /promo?utm_source=mail that points to https://example.com/page?a=1#top redirects to https://example.com/page?a=1&utm_source=mail#top. It applies to whichever destination is chosen for a live link (the URL, a redirect rule, a variant or an app destination), not to the fallback_url of an expired link. The password unlock step of a protected link keeps the query string, so it is forwarded there too.

The QUARK_NOT_FOUND_URL redirect is sent with Cache-Control: no-store, so a code created later works immediately. A value that is not an absolute http or https URL is ignored with a warning in the log.

Panel image

web/Dockerfile builds the panel into a static image served by static-web-server; Node is used only at build time. It calls the API on the same origin. Getting started shows a proxy setup.

Language

The documentation is English only. The panel is available in English and Turkish.

Images and tags

The bhdr-images workflow builds both images for linux/amd64 and linux/arm64 and pushes them to GitHub Container Registry:

  • ghcr.io/bahadirdogru/quark
  • ghcr.io/bahadirdogru/quark-panel
Tag Published on
bhdr Every build of the main branch.
sha-<12-character commit> Every build. Use it to pin a version.
bhdr-v* A Git tag with that name.

There is no latest tag. Upstream’s ghcr.io/lucasolopes/quark images are a different build and do not include the fork’s changes.

Source and license

The fork’s source is at github.com/bahadirdogru/quark. It is licensed AGPL-3.0-only; see License.

Edit on GitHub