Skip to content
docs
DonateOperator Pass

APIGetting started

Edit on GitHub

Contributing

Fluxer's code is on GitHub. These rules apply when you contribute to Fluxer.

Only contributors a maintainer has approved can open pull requests, and each pull request needs a maintainer's go-ahead on its feedback post first. To get it, follow these steps.

  1. Find the post on feedback.fluxer.com that your change resolves. If there is none, post a bug report or, for anything bigger than a bug fix, a feature request there first.
  2. Comment on the post and ask to work on it.
  3. Once a maintainer says you can work on it, open your pull request.

Every pull request targets the default branch, links each post it resolves on its own line, and needs a maintainer's approval before it merges.

Resolves https://feedback.fluxer.com/p/123
Resolves https://feedback.fluxer.com/p/456

Keep each pull request to one change, and put any unrelated fixes, refactoring or formatting in a separate pull request.

Set up a development environment to run Fluxer from source and run its checks.

You write everything you submit yourself. That includes code, tests, comments, commit messages, pull request text, security reports and your replies to code reviews.

How you use AI tools privately is up to you. Asking an AI agent where something is in a large codebase or how a part of it works is a good idea, especially when you're new to it.

Learning a codebase with an AI and vibe coding don't overlap Two circles that don't touch. In one, you learn with an AI. You ask where code is and how a part works, then write every line yourself and can explain all of it. In the other, vibe coding, an AI writes the code, it ships unread, and nobody understands or can explain it. The circles have nothing in common. Learning with an AI Ask where code is Ask how a part works You write every line You can explain all of it Vibe coding An AI writes the code It ships unread Nobody understands it Nobody can explain it Learning a codebase with an AI and vibe coding don't overlap Two circles that don't touch. In one, you learn with an AI. You ask where code is and how a part works, then write every line yourself and can explain all of it. In the other, vibe coding, an AI writes the code, it ships unread, and nobody understands or can explain it. The circles have nothing in common. Learning with an AI Ask where code is Ask how a part works You write every line You can explain all of it Vibe coding An AI writes the code It ships unread Nobody understands it Nobody can explain it
Learning a codebase with an AI and vibe coding have nothing in common.

An AI agent must never write the code, tests or text you submit. Never let an AI agent open, edit or comment on pull requests for you, even when you check everything it does.

Machine translation is fine for pull request descriptions and review comments you wrote yourself. Say that you used it, and include your original text with the translation.

You have to understand every line you submit and explain what it does and why it's right. A maintainer can ask, and can close a pull request you can't explain. If you break these AI rules or send a made-up security report, a maintainer can block you from the repository.

Every commit needs:

  • A Developer Certificate of Origin sign-off. Commit with git commit -s, and use the same name and email as the commit author.
  • A signature that GitHub shows as verified.

The sign-off confirms that you wrote the change, or have the right to submit it, under the AGPL-3.0-or-later licence, which covers all of Fluxer's code.

Pull request titles use this format, and the subject after the colon is 72 characters or fewer.

type(optional-scope): imperative subject

The type is one of feat, fix, docs, style, refactor, perf, test, build, ci or chore. Add ! before the colon for a breaking change. For a revert, put revert: in front of the original title, as in revert: fix(api): handle empty request bodies.

Fill in every section of the pull request template. Say what changes, why it's correct, what could break and how you checked it.

Two environment variables set the version and channel of a desktop or web build. A local build works fine with both of them unset.

VariableWhat it setsWhen unset
BUILD_VERSIONThe CalVer version (YYYY.MDD.MICRO) that the web app shows in its build info and version.json, and that the desktop app uses as its own versiondev for the web app. A desktop package takes the version of the web app it bundles.
BUILD_CHANNELstable, canary or development. It sets the desktop app's ID, data folder, link protocol and where it checks for updates, and the web app's channel when the page has no channel tag.canary for the web app and stable for the desktop app

The desktop release workflows set both, and the web app release sets only BUILD_VERSION. The app-proxy has its own RELEASE_CHANNEL setting, and when it is stable or canary the app-proxy adds a fluxer-release-channel meta tag with that value each time it serves the page. Otherwise a self-hosted app-proxy tags the page stable, and any other app-proxy adds no tag.

The code of conduct applies to everything you do in the Fluxer repository, and feedback.fluxer.com has its own code of conduct.