Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
MCP serverAn toànKết nối & tự động hoáCần cài đặt chút

slackdump

rusq · rusq/slackdump

Một MCP server cho phép AI agent lưu trữ và xuất các tin nhắn, kênh, tệp và người dùng Slack riêng tư và công khai ra cục bộ.

Lưu hoặc xuất các tin nhắn, chủ đề, tệp và người dùng Slack riêng tư và công khai của bạn cục bộ mà không cần đặc quyền quản trị.

2.8k sao168Giấy phép: AGPL-3.0Cập nhật 8 ngày trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Tạo bản sao lưu cục bộ các cuộc trò chuyện Slack quan trọng.
  • Xuất các cuộc thảo luận kênh Slack cụ thể để phân tích hoặc lập tài liệu.
  • Di chuyển tin nhắn Slack sang một nền tảng khác như Mattermost.

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

Slack Dumper

Purpose: archive your private and public Slack messages, users, channels, files and emojis. Generate Slack Export without admin privileges.

Quick links:

[!WARNING]

Enterprise Workspaces Security Alerts

Depending on your Slack plan and security settings, using Slackdump may trigger Slack security alerts and/or notify workspace administrators of unusual or automated access/scraping attempts.

You are responsible for ensuring your use complies with your organisation’s policies and Slack’s terms of service.

See Enterprise Workspace Tips.

Description

Typical use scenarios:

  • archive your private conversations from Slack when the administrator does not allow you to install applications OR you don't want to use potentially privacy-violating third-party tools;
  • archive channels from Slack when you're on a free "no archive" subscription; so you don't lose valuable knowledge in those channels;
  • create a Slack Export archive without admin access;
  • create incremental Slack archives, which is particularly useful for free workspaces with 90-day limits;
  • save your favourite emojis; AND
  • analyse you Slack data with AI Agent using Slackdump MCP Server.

There are several modes of operation

  1. List users/channels
  2. Dumping messages and threads
  3. Creating a Slack Export in Mattermost or Standard modes.
  4. Creating an Archive (Sqlite database or stored as json+gz)
  5. Converting an archive to other formats (Export, Dump).
  6. Emoji download mode.
  7. Viewing Slack export, dump or archive files or directories (displays images).
  8. Search mode (messages and files).
  9. Resuming previous archive (adding new messages to an existing archive).
  10. Local MCP Server to use with Opencode, Claude, or any other AI tool supporting mcp over STDIO or HTTP.
  11. Database tools: merge multiple archives, remove duplicates, and clean up unfinished sessions (slackdump tools merge/dedupe/cleanup).

Run slackdump help to see all available options.

Installation and Quickstart

On macOS, you can install Slackdump with Homebrew:

brew install slackdump

On other Operating Systems, please follow these steps:

  1. Download the latest release for your operating system from the releases page.
  2. Unpack the archive to any directory.
  3. Run the ./slackdump or slackdump.exe executable (see note below).
  4. You know the drill: use arrow keys to select the menu item, and Enter (or Return) to confirm.
  5. Follow these quickstart instructions.

[!NOTE] On Windows and macOS you may be presented with "Unknown developer" window, this is fine. Reason for this is that the executable hasn't been signed by the developer certificate.

To work around this:

  • on Windows: click "more information", and press "Run Anyway" button.
  • on macOS 14 Sonoma and prior: open the folder in Finder, hold Option and double click the executable, choose Run.
  • on macOS 15 Sequoia and later: start the slackdump, OS will show the "Unknown developer" window, then go to System Preferences -> Security and Privacy -> General, and press "Open Anyway" button.

Getting Help

  • Quickstart guide: slackdump help quickstart, read online.
  • Generic command overview: man ./slackdump.1
  • Ez-Login 3000 Guide.
  • What's new in V4: slackdump help whatsnew, read online.

Running Slackdump from a Repo Checkout

If you've cloned the repository and want to run slackdump directly without downloading a release, you can do one of the following:

  1. Build and run (creates an executable):

    go build -o slackdump ./cmd/slackdump
    ./slackdump wiz
    
  2. Run directly:

    go run ./cmd/slackdump wiz
    

Note: You need Go installed on your system (see go.mod for the version)

Slackord2: Migrating to Discord

If you're migrating to Discord, the recommended way is to use Slackord2 — a great tool with a nice GUI, that is compatible with the export files generated by Slackdump.

User Guide

For more advanced features and instructions, please see the User Guide, and read slackdump help pages.

Previewing Results

Once the workspace data is dumped, you can run built-in viewer:

slackdump view <zip or directory>

The built-in viewer supports all types of dumps:

  1. Slackdump Archive format;
  2. Standard and Mattermost Slack Export;
  3. Dump mode files

You can also convert your output file to a browsable static HTML archive:

slackdump convert -f html -o my_html_archive <zip or directory>

or use one of the following tools to preview the export

Xem mã nguồn trên GitHub