Skip to content

Roundcube plugin for seamless Nextcloud integration - attach files, save attachments, insert share links, and add calendar events via the nextcloud-roundcube bridge.

License

Notifications You must be signed in to change notification settings

Gecka-Apps/NextBridge

Repository files navigation

NextBridge

License: AGPL v3 Roundcube

Nextcloud integration for Roundcube.

About

NextBridge is a Roundcube plugin that enables seamless Nextcloud integration when using Roundcube embedded inside Nextcloud.

Features

  • 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

How It Works

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:

  1. Open the native Nextcloud file picker when attaching files
  2. Open the native Nextcloud folder picker when saving attachments
  3. Transfer files via WebDAV using the existing Nextcloud session
  4. 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.

Requirements

  • Roundcube 1.6+
  • One of the following Nextcloud apps with bridge support enabled:

License

This plugin is released under the GNU Affero General Public License Version 3.

Installation

  1. Install a compatible Nextcloud app:

  2. Enable the bridge in the Nextcloud admin settings

  3. Place this plugin folder into plugins directory of Roundcube:

    cd /path/to/roundcube/plugins/
    git clone https://github.com/Gecka-Apps/NextBridge.git nextbridge
  4. Add nextbridge to $config['plugins'] in your Roundcube config:

    $config['plugins'] = array('nextbridge', /* other plugins */);
  5. That's it! The plugin automatically detects when the Nextcloud file bridge is available.

Authors

Related Projects


Built with 🥥 and ☕ by Gecka — Kanaky-New Caledonia 🇳🇨

About

Roundcube plugin for seamless Nextcloud integration - attach files, save attachments, insert share links, and add calendar events via the nextcloud-roundcube bridge.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published