{"id":51382795,"url":"https://github.com/freispace/storage-collector","last_synced_at":"2026-07-03T17:09:12.526Z","repository":{"id":362873650,"uuid":"1248435276","full_name":"freispace/storage-collector","owner":"freispace","description":"freispace Storage Collector","archived":false,"fork":false,"pushed_at":"2026-06-06T09:22:24.000Z","size":1606,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-21T07:33:49.187Z","etag":null,"topics":["app","freispace","linux","macos","storage","tauri-app","windows"],"latest_commit_sha":null,"homepage":"https://freispace.com","language":"Rust","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/freispace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-24T16:31:52.000Z","updated_at":"2026-06-06T09:22:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/freispace/storage-collector","commit_stats":null,"previous_names":["freispace/storage-collector"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/freispace/storage-collector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freispace%2Fstorage-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freispace%2Fstorage-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freispace%2Fstorage-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freispace%2Fstorage-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freispace","download_url":"https://codeload.github.com/freispace/storage-collector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freispace%2Fstorage-collector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35094195,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-03T02:00:05.635Z","response_time":110,"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":["app","freispace","linux","macos","storage","tauri-app","windows"],"created_at":"2026-07-03T17:09:11.798Z","updated_at":"2026-07-03T17:09:12.518Z","avatar_url":"https://github.com/freispace.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# freispace Storage Collector\n\nA cross-platform desktop tray app that monitors local folder sizes and submits storage statistics to [freispace](https://freispace.com) on a daily schedule.\n\n![Screenshot of freispace Storage Collector](docs/freispace-storage-collector-projects.png)\n\n\n## What it does\n\n- Runs silently in the system tray\n- Walks configured local folders recursively and sums file sizes\n- POSTs storage statistics to `https://api.freispace.com/v1/storages/{id}/projects/{id}/statistics/{date}`\n- Retries failed submissions automatically (up to 10 attempts, every 5 minutes)\n- Shows run status via five tray icon states: Idle, Active, OK, Warning, Error\n- Streams a live event log to the UI with info/warning/error filtering\n\n## How to use\n\n1. Create an API key in freispace. Required permissions: `Projects:Update` \u0026 `Storages:Update`\n2. Paste it in the the freispace Storage Collector\n\n![Screenshot of freispace Storage Collector](docs/freispace-storage-collector-settings.png)\n\n3. Update the list of Project Storages, select and, and select the folders to monitor\n\n### Notice: Missing certificates\n\nWe are working on obtaining certificated and signing the Mac OS and Windows versions of the app. **At the moment, both Windows and Mac OS might throw warnings when trying to launch the apps.** On Mac OS, you might need to manually allow execution in the settings.\n\n## Tech stack\n\n| Layer | Technologies |\n|---|---|\n| Frontend | Svelte 5 (runes), TypeScript, Tailwind CSS 4, Vite 6 |\n| Backend | Rust, Tauri 2, SQLite (sqlx), tokio, reqwest |\n| Scheduler | tokio-cron-scheduler |\n| Distribution | GitHub Actions → native installers (Windows, macOS, Linux) |\n\n## Prerequisites\n\n- [Rust](https://rustup.rs/) (MSRV 1.77.2)\n- [Node.js](https://nodejs.org/) ≥ 20\n- [pnpm](https://pnpm.io/)\n- Platform build deps per [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/)\n\n## Development\n\n```bash\npnpm install\npnpm dev          # full Tauri dev mode (frontend + backend)\npnpm dev:frontend # frontend only (Vite on port 1420)\n```\n\n## Build\n\n```bash\npnpm build        # produces native installer in src-tauri/target/release/bundle/\n```\n\n## Type checking\n\n```bash\npnpm check        # svelte-check (frontend TypeScript)\ncd src-tauri \u0026\u0026 cargo clippy  # Rust lints\n```\n\n## Configuration\n\nAll settings are persisted in SQLite in the OS app data directory (`com.freispace.storage-collector`).\n\n| Setting | Description |\n|---|---|\n| API Key | freispace API key for authentication |\n| Schedule time | Daily run time (local timezone, default 17:55) |\n| Auto-run | Enable/disable the daily scheduler |\n| Folder configs | Mappings of `(storage_id, project_id)` → local folder path |\n\n## Usage\n\n1. Enter your freispace API key in the Settings tab\n2. The app fetches your available storages and projects from the API\n3. Map each storage project to a local folder path\n4. Set a daily schedule time and enable auto-run\n5. Use \"Trigger All\" to run a manual collection at any time\n\nThe app window hides to the tray on close. Right-click the tray icon to show the window or quit.\n\n## Database schema\n\nFour SQLite tables in `0001_initial.sql`:\n\n- `settings` — key/value store (api_key, schedule, auto-run flag)\n- `folder_configs` — storage/project/folder mappings with optional per-folder schedule override\n- `pending_submissions` — failed API calls queued for retry\n- `log_entries` — append-only audit log, pruned to 10,000 rows\n\n## CI / Release\n\nGitHub Actions workflows in `.github/workflows/`:\n\n- `ci.yml` — type-check, Rust tests, Clippy on every push\n- `release.yml` — builds native installers for Windows, macOS, and Linux via `tauri-apps/tauri-action`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreispace%2Fstorage-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreispace%2Fstorage-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreispace%2Fstorage-collector/lists"}