{"id":36990696,"url":"https://github.com/dev-nick421/immich-swipe","last_synced_at":"2026-01-13T23:39:02.171Z","repository":{"id":329112329,"uuid":"1116805374","full_name":"dev-nick421/immich-swipe","owner":"dev-nick421","description":"Swipe right to keep photos, swipe left to delete them -\u003e just like a dating app, but for immich!","archived":false,"fork":false,"pushed_at":"2025-12-21T15:34:19.000Z","size":2614,"stargazers_count":171,"open_issues_count":14,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T19:48:21.449Z","etag":null,"topics":["immich","immich-api","selfhosted","swipe"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/dev-nick421.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-12-15T12:05:56.000Z","updated_at":"2026-01-13T15:18:30.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/dev-nick421/immich-swipe","commit_stats":null,"previous_names":["dev-nick421/immich-swipe"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/dev-nick421/immich-swipe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-nick421%2Fimmich-swipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-nick421%2Fimmich-swipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-nick421%2Fimmich-swipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-nick421%2Fimmich-swipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dev-nick421","download_url":"https://codeload.github.com/dev-nick421/immich-swipe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dev-nick421%2Fimmich-swipe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405304,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["immich","immich-api","selfhosted","swipe"],"created_at":"2026-01-13T23:39:01.602Z","updated_at":"2026-01-13T23:39:02.163Z","avatar_url":"https://github.com/dev-nick421.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Immich Swipe\n\nSwipe-review your Immich library: right = keep, left = trash. Like a dating app, but for photos (and videos).\n\n![Vue 3](https://img.shields.io/badge/Vue-3.x-4FC08D?logo=vue.js)\n![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178C6?logo=typescript)\n![Tailwind CSS](https://img.shields.io/badge/Tailwind-4.x-06B6D4?logo=tailwindcss)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/screenshots/home.png\" width=\"960\" alt=\"Immich Swipe home screen (sanitized demo)\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/screenshots/mobile.png\" width=\"260\" alt=\"Immich Swipe mobile view (sanitized demo)\" /\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"docs/screenshots/album-picker.png\" width=\"960\" alt=\"Album picker + hotkey mapping (sanitized demo)\" /\u003e\n\u003c/p\u003e\n\n\u003e Screenshots are sanitized (no real photos or API keys).\n\n## Features\n\n- Swipe (touch/mouse) or use keyboard/buttons\n- Random or chronological review (oldest/newest first)\n- Skip videos toggle\n- Favorite toggle (press `F`)\n- Add-to-album (+ configurable `0–9` hotkeys)\n- Undo (Ctrl/⌘+Z or ↑)\n- Reviewed cache + stats persisted per server/user\n- Preloads the next asset\n\n## Controls\n\n| Action | Gesture / Key | Button |\n|---|---|---|\n| Keep | Swipe right / `→` | ✓ |\n| Delete (moves to trash) | Swipe left / `←` | ✕ |\n| Undo | `Ctrl/⌘+Z` or `↑` | ↶ |\n| Favorite | `F` | ♡ |\n| Add to album | `0–9` (configured) | Album icon |\n\n## Quickstart\n\n### Local development\n\n```bash\nnpm install\nnpm run dev\n```\n\nOpen `http://localhost:5173`.\n\n### Docker\n\n```bash\ncp env.example .env\n# edit .env\ndocker compose up --build\n```\n\nOpen `http://localhost:2293`.\n\nNote: `.env` values are passed as build args and end up in the frontend bundle. Changing `.env` requires a rebuild.\n\n### GitHub Pages\n\nThis repo includes a GitHub Actions workflow that builds and deploys the SPA to GitHub Pages on every push to `main`.\n\nAfter enabling Pages in your repo settings, your URL will be:\n- `https://\u003cowner\u003e.github.io/\u003crepo\u003e/`\n\n\u003cdetails\u003e\n  \u003csummary\u003eLogin screen\u003c/summary\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"docs/screenshots/login.png\" width=\"320\" alt=\"Login screen\" /\u003e\n  \u003c/p\u003e\n\u003c/details\u003e\n\n## Configuration\n\n### Option A: `.env` users (build-time)\n\nSee `env.example`.\n\n```bash\nVITE_SERVER_URL=https://immich.example.com\nVITE_USER_1_NAME=User 1\nVITE_USER_1_API_KEY=your-api-key\n```\n\nTip: `VITE_SERVER_URL` can be the base URL (recommended) or end with `/api` — the app normalizes it.\n\nBehavior:\n- 1 user configured: auto-login\n- \u003e1 users configured: user selection screen (`/select-user`)\n- no `.env` users: manual login (`/login`), stored in `localStorage`\n\nNote: user slots are currently wired up to `VITE_USER_5_*` in `src/vite-env.d.ts`, `Dockerfile`, and `docker-compose.yml`.\n\nSecurity note: `VITE_*` variables are embedded into the compiled frontend. Only use `VITE_USER_*_API_KEY` for private deployments/images.\n\n### Option B: manual login (runtime)\n\nIf you don’t configure `.env` users, the app asks for:\n- Immich Server URL\n- API key\n\nThose values are stored in `localStorage` under `immich-swipe-config`.\n\n## API / CORS / Proxy\n\nAll requests use Immich’s API (`/api/...`) with the `x-api-key` header, so your Immich instance (or reverse proxy in front of it) needs to allow CORS.\n\nIf `VITE_SERVER_URL` points directly to your Immich instance (for example `https://immich.example.com`), your browser calls `https://immich.example.com/api/...`.\n\nYou’ll need CORS headers. For Nginx Proxy Manager, add:\n\n```nginx\nadd_header 'Access-Control-Allow-Origin' '*' always;\nadd_header 'Access-Control-Allow-Methods' 'GET, POST, PUT, PATCH, DELETE, OPTIONS' always;\nadd_header 'Access-Control-Allow-Headers' 'X-Api-Key, X-Target-Host, User-Agent, Content-Type, Authorization, Range, Accept' always;\nadd_header 'Access-Control-Expose-Headers' 'Content-Length, Content-Range, Accept-Ranges' always;\nif ($request_method = OPTIONS) { return 204; }\n```\n\nSee also: https://docs.immich.app/administration/reverse-proxy/\n\n## Stored data (localStorage)\n\n- `immich-swipe-config` (manual login: server URL + API key)\n- `immich-swipe-theme`\n- `immich-swipe-skip-videos`\n- `immich-swipe-stats:\u003cserver\u003e:\u003cuser\u003e` (keep/delete counters)\n- `immich-swipe-reviewed:\u003cserver\u003e:\u003cuser\u003e` (already reviewed IDs + decision)\n- `immich-swipe-preferences:\u003cserver\u003e:\u003cuser\u003e` (order mode + album hotkeys)\n\n## Immich API key permissions\n\nMinimum:\n- `asset.read`\n- `asset.delete`\n\nIf you want albums and favorites, grant the corresponding read/update permissions as well.\n\n## Development scripts\n\n- `npm run dev` (Vite, `5173`, `--host`)\n- `npm run build`\n- `npm run preview`\n- `npm run type-check`\n- `npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-nick421%2Fimmich-swipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdev-nick421%2Fimmich-swipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdev-nick421%2Fimmich-swipe/lists"}