{"id":15714348,"url":"https://github.com/quantixed/slack-export-local","last_synced_at":"2025-03-30T19:46:47.777Z","repository":{"id":247225662,"uuid":"825284771","full_name":"quantixed/slack-export-local","owner":"quantixed","description":"Make a fully local slack archive","archived":false,"fork":false,"pushed_at":"2024-07-07T16:32:27.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T22:36:46.135Z","etag":null,"topics":["archive","slack"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quantixed.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T11:04:06.000Z","updated_at":"2024-11-27T15:00:48.000Z","dependencies_parsed_at":"2024-07-07T13:57:21.909Z","dependency_job_id":"24fee4af-a546-49ec-8488-b0571a631da2","html_url":"https://github.com/quantixed/slack-export-local","commit_stats":null,"previous_names":["quantixed/slack-export-local"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantixed%2Fslack-export-local","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantixed%2Fslack-export-local/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantixed%2Fslack-export-local/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quantixed%2Fslack-export-local/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quantixed","download_url":"https://codeload.github.com/quantixed/slack-export-local/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372503,"owners_count":20766625,"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":["archive","slack"],"created_at":"2024-10-03T21:36:16.040Z","updated_at":"2025-03-30T19:46:47.764Z","avatar_url":"https://github.com/quantixed.png","language":"Python","readme":"# slack-export-local\n\n## Background\n\nSlack announced a new policy, effective from August 26th, 2024, that messages and files older than one year in workspaces on the free tier will be **deleted**.\nThis is in addition to the 90 day limit for viewing content in the workspace.\n\n## Partial solution\n\nThere is an excellent tool [`slack-export-viewer`](https://github.com/hfaran/slack-export-viewer) that can generate a viewable archive of your slack workspace.\n\nIt is possible to compile a full archive of a workspace using this tool.\nTo do so, one needs to export the workspace data at 90 day intervals and compile the exports to generate a full archive - details [here](https://quantixed.org/2022/08/11/slacker-archiving-information-from-a-slack-workspace/).\nOr perhaps the workspace has had a free trial of the paid offering and a full export has been generated.\n\nBy default `slack-export-viewer` serves up a viewable archive as a flask application.\nIt is also possible to generate a local static html instance of the archive using:\n\n```\nslack-export-viewer -z path/to/archive.zip --html-only\n```\n\nThe archive is viewable in both cases, but **the content is external**.\nIt is only a partial solution because **all the content will disappear when slack deletes any files older than one year**.\n\n## Full solution\n\nThis repo is aimed at modifying the local html instance generated by `slack-export-viewer` so that all files are downloaded, and stored and linked as a local copy.\n\nOnce the script has run, you will be able to access a local copy of your files direct from the conversations in your Slack workspace - and your access will contnue long after Slack delete your precious files!\n\n### How to:\n\n- generate the local instance of your slack archive (usually `~/html-output/`)\n- download `slack-export-local.py` script\n- run using `python slack-export-local.py ~/html-output/`\n\nRequires python3 and BeautifulSoup.\n\nNote that the paths in the html files are relative so that it is possible to move or rename the `html-output` folder and everything should still work.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantixed%2Fslack-export-local","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquantixed%2Fslack-export-local","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquantixed%2Fslack-export-local/lists"}