{"id":15437924,"url":"https://github.com/tchapi/slack-he","last_synced_at":"2025-04-19T18:27:22.264Z","repository":{"id":38984160,"uuid":"58325296","full_name":"tchapi/slack-he","owner":"tchapi","description":"Slack History Extended — A bot that stores all messages and enables full deep search via in-app commands.","archived":false,"fork":false,"pushed_at":"2023-01-09T13:18:56.000Z","size":283,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T11:41:33.312Z","etag":null,"topics":["bot","history","search","slack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tchapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-08T18:25:47.000Z","updated_at":"2024-08-19T09:59:33.000Z","dependencies_parsed_at":"2023-02-08T12:01:28.929Z","dependency_job_id":null,"html_url":"https://github.com/tchapi/slack-he","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fslack-he","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fslack-he/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fslack-he/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tchapi%2Fslack-he/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tchapi","download_url":"https://codeload.github.com/tchapi/slack-he/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249763434,"owners_count":21322081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","history","search","slack"],"created_at":"2024-10-01T18:59:46.520Z","updated_at":"2025-04-19T18:27:22.233Z","avatar_url":"https://github.com/tchapi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Slack History Extended\n---\n\nA bot that stores all messages and enables full deep search and statistics via in-app commands.\n\n#### Installation\n\n    npm install\n    sqlite3 db.sqlite \u003c structure.sqlite\n\nYou must as well copy `config.json.dist` to `config.json` and edit the relevant configuration herein.\n\n#### Run\n\n    node index.js\n\n#### Tokens\n\nYou must configure the Slack payload token that will be used to grant access to POST request from Slack, and also a token for GET access for the standalone pages.\n\nIf you plan on using the commands, you must as well configure the Slack command token.\n\nAll tokens reside in `config.json`.\n\n#### Full history\n\nA complete history (_excluding bots, and emoji reactions_) of each channel is available here :\n\nhttp://your.host/[channel]\n\n#### Search command\n\nThe search command is `/history \"search terms or phrase\"`.\n\nIt is a full-text search which is performed against the whole database through SQLite's [FTS4](https://www.sqlite.org/fts3.html#section_1).\n\nA \"see more\" link will redirect to the backend for the actual search, and will display all results. You can access this view directly at :\n\nhttp://your.host/search/[channel]/[terms_url_encoded]\n\n#### Stats command\n\nThe global statistics command is `/stats`.\n\nThe following stat block will be displayed :\n\n     | User              | Most common word                | Messages total   |\n     --------------------------------------------------------------------------\n     | @user1            | oklm (1492 occurences)          | 56 023  (3/d.avg)|\n     | @user2            | oklm (1492 occurences)          | 34 195  (3/d.avg)|\n        ...\n     | @userN            | oklm (1492 occurences)          | 123 475 (3/d.avg)|\n\n#### License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchapi%2Fslack-he","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftchapi%2Fslack-he","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftchapi%2Fslack-he/lists"}