feat: add Slack channel import as a document source#13
Open
cameronhotchkies wants to merge 1 commit intomainfrom
Open
feat: add Slack channel import as a document source#13cameronhotchkies wants to merge 1 commit intomainfrom
cameronhotchkies wants to merge 1 commit intomainfrom
Conversation
Base automatically changed from
03-24-refactor_extract_file_text_extraction_into_separate_method
to
main
March 24, 2026 21:03
4df1581 to
befe1db
Compare
befe1db to
bed6152
Compare
NickTitle
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #12 (refactor PR).
ref: #8
What
This adds Slack as a document source alongside PDFs and markdown. Users can point frfr at a Slack channel by ID or URL, and it fetches messages and threads via the Slack Web API, cleans up Slack mrkdwn into plain text (user mentions, channel refs, links, emoji, HTML entities), writes the result to a text file, and feeds it through the existing fact extraction pipeline. A new React modal handles channel input with optional date filtering, and high-volume channels are automatically limited to a configurable lookback window (default 90 days). Requires a
SLACK_BOT_TOKENenv var.Usage
Screenshots
Testing
Unit tests for markup cleanup, timestamp parsing, and permalink building.
Generated with Amp