mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
* docs: rebrand from image-only to multi-modality across docs and metadata SnapOtter expanded from image-only to 157 tools across 5 modalities (image, video, audio, document/PDF, data). Update all product-level copy, metadata, and i18n that still framed it as an image-only tool. - README, package.json, root llms.txt: multi-modality framing, 157 tools - OpenAPI info + tags, generated /llms.txt tagline (docs.ts) - VitePress docs site: hero, getting-started, architecture, security, deployment, configuration, developer, supported-formats - i18n: 10 product keys across all 21 locales (hero, app description, privacy notes, AI features, progress messages, getting-started) - web/demo/landing meta + privacy copy, COMMUNITY_GUIDE, .env.example Stale tool counts (53/50+/52/70+/35) corrected to 157 throughout. Database/container deployment claims left unchanged (out of scope). * docs: fix stale post-rebrand test assertions and README language list - tests/e2e-docs/homepage.spec.ts: assert the current docs homepage (file toolkit, 157 tools, 5 modalities) instead of the old image-only strings - tests/unit/api/docs-route.test.ts: sync the reproduced llms.txt tagline with docs.ts - README.md: 21 languages with the correct list (add Swedish and Chinese Traditional, drop Czech which is not supported) * docs: correct 2.0 architecture references (Postgres 17 + Redis 8, 3-container stack) The docs and metadata still described the 1.x stack (SQLite, single container, p-queue). Update them to the current 2.0 reality. - README: replace the broken single-container `docker run` quick-start with the real Docker Compose stack (app + Postgres 17 + Redis 8); fix the "no Redis, no Postgres" feature bullet - package.json: description no longer claims a single container - apps/docs: rewrite database.md for Postgres; configuration.md DB_PATH -> DATABASE_URL + REDIS_URL; architecture.md SQLite/p-queue/better-sqlite3 -> Postgres/BullMQ/pg and add media-engine + doc-engine; developer/security/deployment/docker-tags/getting-started/contributing compose examples now include postgres + redis; index.md + api/ai.md AI count 16 -> 19 - SECURITY.md: Drizzle (SQLite) -> (PostgreSQL) - landing: enterprise/FeatureHighlights single-container wording; TrustSignals/ToolGrid 150+ -> 157 (dynamic); Pricing/FAQ 15 -> 19 AI tools * docs(api): document all video, audio, document, and data tool endpoints in OpenAPI The spec covered only image tools; the Scalar UI and the generated /llms.txt and /llms-full.txt inherited that gap. Add the 104 missing tool endpoints so the API docs match the code. - Video: 29 endpoints (most long/async; auto-subtitles is AI) - Audio: 17 (transcribe-audio is AI) - Document/PDF: 36 (ocr-pdf is AI; conversions are long/async) - Data: 10 - Image: 12 newer tools (background-replace, blur-background AI; histogram/lqip-placeholder/sprite-sheet custom responses; barcode-generate uses a JSON body) Each schema is derived from the tool's Zod validator and executionHint (fast -> 200, long -> 202+SSE, AI adds 501 FeatureNotInstalledError, multi-file inputs as arrays), referencing the existing shared schemas. Tool path entries: 64 -> 168. Spec parses as valid YAML with no duplicate paths and only known $refs.
116 lines
3.9 KiB
JSON
116 lines
3.9 KiB
JSON
{
|
|
"name": "snapotter",
|
|
"version": "1.17.2",
|
|
"private": true,
|
|
"description": "Self-hosted file processing suite with 157 tools across image, video, audio, document, and data, plus local AI. Runs as a Docker Compose stack with Postgres and Redis.",
|
|
"homepage": "https://snapotter.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/snapotter-hq/snapotter.git"
|
|
},
|
|
"keywords": [
|
|
"file-processing",
|
|
"image-processing",
|
|
"video-processing",
|
|
"audio-processing",
|
|
"pdf-tools",
|
|
"document-conversion",
|
|
"data-tools",
|
|
"self-hosted",
|
|
"docker",
|
|
"ai",
|
|
"background-removal",
|
|
"ocr",
|
|
"transcription",
|
|
"open-source"
|
|
],
|
|
"packageManager": "pnpm@9.15.4",
|
|
"scripts": {
|
|
"dev": "turbo dev & (cd .local-wiki && npm run docs:dev) &",
|
|
"wiki:dev": "cd .local-wiki && npm run docs:dev",
|
|
"docs:dev": "pnpm --filter @snapotter/docs docs:dev",
|
|
"build": "turbo build",
|
|
"lint": "turbo lint",
|
|
"lint:fix": "biome check --write .",
|
|
"clean": "turbo clean",
|
|
"typecheck": "turbo typecheck",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:unit": "vitest run --config vitest.config.ts tests/unit",
|
|
"test:integration": "vitest run --config vitest.config.ts tests/integration",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:ci": "vitest run --coverage --reporter=verbose",
|
|
"test:all": "vitest run --coverage && playwright test",
|
|
"test:e2e": "playwright test --project=chromium && playwright test --project=chromium-serial --workers=1 && playwright test --project=chromium-visual",
|
|
"test:e2e:ui": "playwright test --ui",
|
|
"test:e2e:landing": "playwright test --config playwright.landing.config.ts",
|
|
"test:e2e:docs": "playwright test --config playwright.docs.config.ts",
|
|
"test:e2e:analytics": "playwright test --config playwright.analytics-local.config.ts",
|
|
"test:docker": "docker compose -f docker/docker-compose.test.yml up --build --abort-on-container-exit",
|
|
"check:license-boundary": "node scripts/check-license-boundary.mjs",
|
|
"version:sync": "./scripts/sync-version.sh",
|
|
"release": "semantic-release",
|
|
"release:dry": "semantic-release --dry-run",
|
|
"prepare": "husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx,js,jsx,json}": [
|
|
"biome check --write --no-errors-on-unmatched"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.5.0",
|
|
"@fast-check/vitest": "^0.4.1",
|
|
"@playwright/test": "^1.60.0",
|
|
"@semantic-release/changelog": "^6.0.3",
|
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
"@semantic-release/exec": "^7.1.0",
|
|
"@semantic-release/git": "^10.0.1",
|
|
"@semantic-release/github": "^12.0.8",
|
|
"@semantic-release/npm": "^13.1.5",
|
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
"@testcontainers/postgresql": "^12.0.2",
|
|
"@testcontainers/redis": "^12.0.2",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/adm-zip": "^0.5.8",
|
|
"@vitest/coverage-v8": "^3.2.6",
|
|
"adm-zip": "^0.5.17",
|
|
"fast-check": "^4.8.0",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^29.1.1",
|
|
"lint-staged": "^16.4.0",
|
|
"semantic-release": "^25.0.5",
|
|
"turbo": "^2.9.18",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.2.6",
|
|
"zod-fast-check": "^0.10.1"
|
|
},
|
|
"license": "AGPL-3.0",
|
|
"pnpm": {
|
|
"overrides": {
|
|
"fast-uri": ">=3.1.2",
|
|
"handlebars": ">=4.7.9",
|
|
"glob": ">=10.5.0",
|
|
"minimatch": ">=9.0.6",
|
|
"picomatch": ">=4.0.4",
|
|
"tar": ">=7.5.11",
|
|
"lodash": ">=4.18.0",
|
|
"lodash-es": ">=4.18.0",
|
|
"brace-expansion>minimatch": "^2.0.2",
|
|
"phin": ">=3.7.1",
|
|
"follow-redirects": ">=1.16.0",
|
|
"protobufjs": ">=7.5.6",
|
|
"@protobufjs/utf8": ">=1.1.1",
|
|
"postcss": ">=8.5.10",
|
|
"vite": ">=6.4.2"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2"
|
|
}
|
|
}
|