De-enshittify Gitlab (remove Gitlab Duo sidebar and slop features) A developer published a workaround for disabling GitLab Duo's promotional sidebar on self-hosted GitLab free-tier instances, which lack an admin-panel toggle. The method, tested on GitLab 19.5.1 in Docker, uses an admin private token to PUT the application settings API with duo_features_enabled=false, lock_duo_features_enabled=true and duo_availability=never_on, or an equivalent browser-console fetch, after which the sidebar and Duo features are disabled. I'm stuck with Gitlab because I need project/repo hierarchies to deal with the RISC OS source code, and Forgejo currently doesn't support them I haven't tried Gitea . Unfortunately on the free tier, there's a very invasive sidebar which pimps the Gitlab Duo AI slop features, and doesn't seem to have an "off" switch in the admin panel. This is how you de-enshittify Gitlab a little by removing the Duo panel. tested on 19.5.1 self-hosted in Docker . From https://gitlab.com/gitlab-org/gitlab/-/merge requests/257551 https://gitlab.com/gitlab-org/gitlab/-/merge requests/257551 As an instance admin, create a private token and copy it. Run this command, replacing