Skip to main content

Copy the contents of a Slack thread.

Project description

SlackClipper

Copy the contents of a Slack thread.


Description

Great conversations happen in Slack. But once the conversation is over, how do you use what you've learned? You could rely on your memory, so your precious insights are as easy to find as your car keys. Or you could extract the content and store it in your favourite knowledge-management system, like Notion, Confluence, Obsidian or JIRA.

Unfortunately, when it comes to sharing data, Slack is pretty stubborn. Simply highlighting the text of a thread and copying it results in mostly garbage. If all your Slack administrators are similarly motivated, they might have installed third-party apps that tie into a corporate workflow.

So what if you just want the text of a Slack thread your way? You need slackclipper.

slackclipper uses your personal Slack account to copy the text you want in the format you prefer. Want to add a discussion to a JIRA issue? Store some golden knowledge in Obsidian? Reference some colleagues in your Notion? slackclipper enables it all. Simply provide it the thread you want to clip and it will return the content, formatted ready for its new life.

By default the clipped content will be neatly formatted in Markdown. But the data is yours! Customise the format, or even export to any format with an API. Prefer PDF, or Google Docs or even dictated audio? Go for it!

This project is not endorsed or authorised in any way by Slack Technologies LLC.

Installation

pip install slackclipper

This will install the slackclipper library for advanced use within Slack, but also installs a convenience executable by the same name, so you can run it directly from the command line.

Usage

  1. Copy the link to the thread in Slack. Screenshot of "Copy link" in Slack
  2. Run slackclipper in your Terminal. Screencast of "slackclipper" in Terminal
  3. Paste the result into the destination of your choice. Screenshot of content pasted into MacDown

Shortcomings

  • Message authors are given as a user ID. This is easy to improve by doing a user lookup to turn them into a useful name.
  • Timestamps are not yet included in the output. Just need to come up with a suitable format.
  • Some things aren't formatted well. For example:
    • links are oddly formatted;
    • mentions and emoticons aren’t;
    • and multimedia won’t come through well.
  • Only exports to MarkDown for now.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slackclipper-0.2.0.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

slackclipper-0.2.0-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

Details for the file slackclipper-0.2.0.tar.gz.

File metadata

  • Download URL: slackclipper-0.2.0.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for slackclipper-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1e27ebb2a35c4b34b8826b31b40d754fb4d1693d3ae18a5d456a1aa744ae63b4
MD5 f4ab00eda81bc43bac8ceacb71a5665d
BLAKE2b-256 77ff8285d8339500de8467d8335b9323896f8adae6850e5f0721a5256fbd451e

See more details on using hashes here.

File details

Details for the file slackclipper-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for slackclipper-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b415bdcdcd1f98cffce39be97290144a1a364b07840114d2b60e11821d704948
MD5 0acf1cdfd204ac700396dff77e95e38a
BLAKE2b-256 787df142e8e2ebf8dc4e6fb2bff3e73b54ce7df1b2dd0590b787721adadd7bc8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page