https://github.com/mattermost-community/mattermost-plugin-link-filter
Mattermost plugin for filtering link URI schemes by whitelisting
https://github.com/mattermost-community/mattermost-plugin-link-filter
chat hacktoberfest mattermost mattermost-plugin plugin
Last synced: about 1 month ago
JSON representation
Mattermost plugin for filtering link URI schemes by whitelisting
- Host: GitHub
- URL: https://github.com/mattermost-community/mattermost-plugin-link-filter
- Owner: mattermost-community
- License: apache-2.0
- Created: 2021-02-08T10:06:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T15:35:09.000Z (6 months ago)
- Last Synced: 2025-04-14T12:14:21.201Z (6 months ago)
- Topics: chat, hacktoberfest, mattermost, mattermost-plugin, plugin
- Language: Go
- Homepage:
- Size: 140 KB
- Stars: 3
- Watchers: 16
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mattermost Plugin Link Filter
This repo is maintained by [Brightscout](http://www.brightscout.com).
This plugin allows you to filter / surpress links in posts on your Mattermost server. The plugin compares all links in new posts against a configured `Allowed Protocols list`. If the protocol (http, https, s3, etc). is not present in the white list, the post will be removed.
## Installation
1. Go to the [releases page of this Github repository](https://github.com/Brightscout/mattermost-plugin-link-filter/releases) and download the latest release for your Mattermost server.
2. Upload this file in the Mattermost System Console under **System Console > Plugins > Management** to install the plugin. To learn more about how to upload a plugin, [see the documentation](https://docs.mattermost.com/administration/plugins.html#plugin-uploads).
3. Activate the plugin at **System Console > Plugins > Management**.### Usage
You can edit the plugin configuration in **System Console > Plugins > Embedded Link Filter***
* **Allowed Protocols lists**
This denotes the list of protocols to allow, separated by commas.
For example, `http,https` will allow messages with links like `https://github.com` or `http://github.com` but reject posts containing links like `s3://YourS3Bucket/dir/filename.filetype`.
One list allows for [formatted links](https://docs.mattermost.com/messaging/formatting-text.html#links) the other allows for plain text links.* **New Post Warning Message**
This denotes the message that is shown when a new post is created and gets rejected.* **Modified Post Warning Message**
This denotes the message that is shown when an existing post is modified and gets rejected.* **Reject Plain Links**
This is a boolean option. If set, the plugin will also filter posts containing plain text links like `http://www.google.com` in addition to filtering embedded text links.## License
This repository is under the [Apache 2.0 License](https://github.com/mattermost/mattermost-plugin-link-filter/blob/main/LICENSE).
---
Made with ♥ by [Brightscout](http://www.brightscout.com)