Skip to content

Turns a HAR file saved from Developer Tools' "Network" tab — after scrolling history in a Slack channel — to a CSV of timestamped channel messages.

License

Notifications You must be signed in to change notification settings

hrbrmstr/slackhar2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

slackhar2csv

Turns a HAR file saved from Developer Tools' "Network" tab — after scrolling history in a Slack channel — to a CSV of timestamped channel messages.

Dependencies

Requires jq.

Usage

./slackhar2csv.sh <JSON_INPUT_FILE> <CSV_OUTPUT_FILE>

Longer blather on how to create the HAR file:

  • Be in a browser (Chromium ones work best for this) tab with a target Slack channel and at the most recent channel history
  • Open "Developer Tools"
  • Reload the tab
  • Scroll back as far as you want to collect message history
  • From the "Network" tab in Developer Tools, save all as HAR

Limitations

No attempt is made to expand Slack handle identifiers to the bot or human they represent

About

Turns a HAR file saved from Developer Tools' "Network" tab — after scrolling history in a Slack channel — to a CSV of timestamped channel messages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages