{"repo":"sebseager/slack-exporter","free":true,"listed":false,"github":"https://github.com/sebseager/slack-exporter","clone":"git clone https://github.com/sebseager/slack-exporter.git","description":"A Slack bot for exporting content from public and private channels","language":"Python","stars":161,"topics":["slack","bot"],"license":"GPL-3.0","category":"chat-messaging","readme_excerpt":"slack-exporter A Slack bot and standalone script for exporting messages and file attachments from public and private channels, using Slack's new Conversations API. A similar service is provided by Slack for workspace admins at https://my.slack.com/services/export (where my can be replaced with your full workspace name to refer to a workspace different than your default). However, it can only access public channels, while slack-exporter can retrieve data from any channel accessible to your user account. Authentication with Slack There are two ways to use slack-exporter (detailed below). Both require a Slack API token to be able to communicate with your workspace. 1. Visit https://api.slack.com/apps/ and sign in to your workspace. 2. Click Create New App . If prompted to select \"how you'd like to configure your app's scopes\", choose the App Manifest option. You can configure the app manually instead, but you will be prompted to enter an app name and additional steps to set up permissions instead of the single step below. Once created, select your workspace. 3. You should then be prompted for an app manifest. Paste the contents of the slack.yaml file (in the root of this repo) into the YAML box. 4. Select Install App in the side bar, then Install to Workspace (or Reinstall to Workspace if you have done this previously) and accept at the prompt. 5. Copy the OAuth Access Token (which will generally start with xoxp for user-level permissions and may be located in a section like \"OA","default_branch":null,"files":null,"tree":[],"storefront":"/r/sebseager","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sebseager/slack-exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}