Nextcloud-App · gitlabcommands · MIT

GitLab Commands for Nextcloud Talk — the Mattermost feeling in Nextcloud.

Nextcloud app that brings GitLab slash commands into Nextcloud Talk: manage issues, merge requests and pipelines via chat — with per-user authentication and AES-256-CTR-encrypted token storage. App-based bot, in-process, no external webhook server required. MIT licence.

Das Problem

Standard in Mattermost. In Talk, not until now.

With gitlabcommands

  • Slash commands like /gitlab issue list mygroup/myproject directly in chat
  • Per-user auth: each user connects their own GitLab token via /gitlab connect
  • App-based bot pattern (nextcloudapp://) — in-process, no external bot server
  • Token storage via Nextcloud's ICrypto (AES-256-CTR + HMAC), encrypted in the database
  • SSRF protection: HTTPS required, private/reserved IP ranges blocked
  • Secure error handling: no internals leaked to chat, everything logged server-side

Until now

  • Issues and MRs only manageable via the browser tab
  • No inline lookup of pipeline status during a chat call
  • For bot interaction, you'd have to run an external webhook server
  • Tokens end up in some config file in plain text

Available commands

Pipelines

  • pipeline status <project>
  • pipeline run <project> <ref>

Merge requests

  • mr list <project>
  • mr show <project> <id>

Issues

  • issue list <project>
  • issue show <project> <id>
  • issue create <project> <title>
  • issue close <project> <id>

Connection

  • /gitlab help — all commands
  • /gitlab connect <token> — connect a PAT
  • /gitlab disconnect — delete the token

Installation: occ app:enable gitlabcommands · MIT licence

Nextcloud: 30–32 · Nextcloud Talk: 17.1+ (Bot API v1) · PHP: 8.5+ · GitLab: self-hosted, HTTPS

Copy the app to custom_apps/, activate it with occ app:enable gitlabcommands, register it with the Talk bot system using occ gitlabcommands:bot:register, set the GitLab URL in the admin panel — done. For Nextcloud All-in-One, the README contains a dedicated Docker workflow including a redeploy script.

Source code & repo

Licence & issues

MIT licence · Copyright Moselwal Digitalagentur GmbH 2026. Bug reports and pull requests via the relevant repo.

Nextcloud App Store

Currently not on the official apps.nextcloud.com — install by copying directly into custom_apps/.

GitHub mirror (if available)

If a public mirror exists: github.com/moselwal/nextcloud-talk-gitlab-commands — placeholder, verify before publish.

github.com/moselwal/nextcloud-talk-gitlab-commands

GitLab (source of truth)

Repository including code, issues, CI/CD, and tests (tests/Unit/Service/). Confirm path before publish.

gitlab.moselwal.io

MIT licence. Self-host, fork, contribute. No service pitch.