Nextcloud integration for Roundcube.
NextBridge is a Roundcube plugin that enables seamless Nextcloud integration when using Roundcube embedded inside Nextcloud.
- Attach files from Nextcloud storage to emails
- Insert public share links into email body
- Save email attachments directly to Nextcloud storage
- Save all attachments from an email to Nextcloud with one click
- Add calendar invitations (.ics) directly to Nextcloud Calendar
This plugin uses the Nextcloud file bridge provided by a compatible Nextcloud app. When Roundcube is embedded in Nextcloud via an iframe, the plugin communicates with Nextcloud using the postMessage API to:
- Open the native Nextcloud file picker when attaching files
- Open the native Nextcloud folder picker when saving attachments
- Transfer files via WebDAV using the existing Nextcloud session
- Add calendar events via CalDAV to Nextcloud Calendar
All file and calendar operations are executed by Nextcloud itself - Roundcube only sends requests via postMessage to the parent window.
- Roundcube 1.6+
- One of the following Nextcloud apps with bridge support enabled:
- mail_roundcube_bridge - Companion app for nextcloud-roundcube
- mail_roundcube - (pull request pending)
This plugin is released under the GNU Affero General Public License Version 3.
-
Install a compatible Nextcloud app:
- Option A: Install nextcloud-roundcube + nextcloud-roundcube-bridge
- Option B: Install mail_roundcube with bridge support (pull request pending)
-
Enable the bridge in the Nextcloud admin settings
-
Place this plugin folder into plugins directory of Roundcube:
cd /path/to/roundcube/plugins/ git clone https://github.com/Gecka-Apps/NextBridge.git nextbridge -
Add
nextbridgeto$config['plugins']in your Roundcube config:$config['plugins'] = array('nextbridge', /* other plugins */);
-
That's it! The plugin automatically detects when the Nextcloud file bridge is available.
- Laurent Dinclaux laurent@gecka.nc - Gecka
- mail_roundcube - Nextcloud app that embeds RoundCube
- mail_roundcube_bridge - Nextcloud app providing the bridge API
Built with 🥥 and ☕ by Gecka — Kanaky-New Caledonia 🇳🇨