{"id":20098658,"url":"https://github.com/encryptex/archiver","last_synced_at":"2026-07-07T04:31:06.239Z","repository":{"id":116032120,"uuid":"395973263","full_name":"EncryptEx/Archiver","owner":"EncryptEx","description":"Python script to organize your folders","archived":false,"fork":false,"pushed_at":"2024-06-19T19:31:09.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-05T05:48:17.209Z","etag":null,"topics":["archive","downloads","organizer","script","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EncryptEx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-08-14T10:28:37.000Z","updated_at":"2024-09-14T17:41:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a46a654d-0ff0-44b6-824a-dcd3ec734e0e","html_url":"https://github.com/EncryptEx/Archiver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EncryptEx/Archiver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EncryptEx%2FArchiver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EncryptEx%2FArchiver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EncryptEx%2FArchiver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EncryptEx%2FArchiver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EncryptEx","download_url":"https://codeload.github.com/EncryptEx/Archiver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EncryptEx%2FArchiver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279009075,"owners_count":26084549,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","downloads","organizer","script","tool"],"created_at":"2024-11-13T17:06:13.171Z","updated_at":"2026-07-07T04:31:06.229Z","avatar_url":"https://github.com/EncryptEx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fcdn.icon-icons.com%2Ficons2%2F1056%2FPNG%2F512%2Ffolders_explorer_icon-icons.com_76708.png\u0026f=1\u0026nofb=1\u0026ipt=d0f4f34068878dd31d6729a1058e21492afe2c09965ed62c47029a33cdca198f\u0026ipo=images\" alt=\"IMBd\" height=\"60\"/\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003eArchiver\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA script to organize all your files from your Downloads folder.\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/github/languages/code-size/EncryptEx/archiver?label=Code%20Size\"/\u003e\n\u003cimg src=\"https://img.shields.io/github/last-commit/EncryptEx/archiver\"/\u003e\n\u003c!--\u003cimg src=\"https://img.shields.io/github/v/release/EncryptEx/archiver?label=Version%20\"/\u003e--\u003e\n\n## Pre-requisites\n\n[Python 3.x Installed](https://www.python.org/downloads/)  \n\n[Node.js 18+ Installed](https://nodejs.org/)  \n\nInstall backend dependencies:\n\n```sh\npip install -r requirements.txt\n```\n\nInstall web UI dependencies:\n\n```sh\ncd web-ui\nnpm install\n```\n\n\n\n## Tutorial\n1. Start backend API.\n\n```sh\npython3 oneclick.py\n```\n\n2. In another terminal, start the web UI.\n\n```sh\ncd web-ui\nnpm run dev\n```\n\n3. Open `http://127.0.0.1:5173`.\n\n4. In the web UI:\n- Set the folder path (for example your Downloads path).\n- Add or edit rules to map extensions to folders.\n- Click `Save Settings`.\n- Click `Archive Now`.\n\n## Rule Configuration\nRules are stored in [archiver_settings.json](archiver_settings.json).\n\nEach rule looks like:\n\n```json\n{\n\t\"folder\": \"scripts\",\n\t\"extensions\": [\".ps1\", \".bat\", \".sh\"]\n}\n```\n\nUnknown extensions can still be auto-grouped into `_ext_\u003cextension\u003e` folders when enabled.\n\n## Build Frontend\n\nTo build a production bundle:\n\n```sh\ncd web-ui\nnpm run build\n```\n\nThe output is created in `web-ui/dist` and is automatically served by FastAPI when present.\n\n## Standalone Binaries (No Python/Node needed on target machine)\n\nNative binaries must be built on each target OS:\n- Build Linux binary on Linux.\n- Build Windows binary on Windows.\n\n### Linux build\n\n```sh\nchmod +x scripts/package_linux.sh\n./scripts/package_linux.sh\n```\n\nOutput:\n\n```sh\ndist/archiver\n```\n\nRun:\n\n```sh\n./dist/archiver\n```\n\n### Windows build (PowerShell)\n\n```powershell\n./scripts/package_windows.ps1\n```\n\nOutput:\n\n```powershell\ndist/archiver.exe\n```\n\nRun:\n\n```powershell\n./dist/archiver.exe\n```\n\n### Build both automatically (CI)\n\nThis repo includes GitHub Actions workflow at `.github/workflows/build-binaries.yml`.\nTrigger it from GitHub Actions and download:\n- `archiver-ubuntu-latest`\n- `archiver-windows-latest`\n\n### Runtime behavior\n\n- Binary starts local server at `http://127.0.0.1:8000`.\n- Browser opens automatically.\n- Use env vars if needed:\n\t- `ARCHIVER_HOST`\n\t- `ARCHIVER_PORT`\n\t- `ARCHIVER_NO_BROWSER=1`\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"http://randojs.com/images/barsSmallTransparentBackground.gif\" alt=\"Animated footer bars\" width=\"100%\"/\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fencryptex%2Farchiver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fencryptex%2Farchiver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fencryptex%2Farchiver/lists"}