From fbabb4ec5db49401b450fd57c869a609c1ea21f7 Mon Sep 17 00:00:00 2001 From: pedro-bento Date: Sun, 4 Oct 2026 16:30:44 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20self-hosted=20fork=20=E2=80=94=20Po?= =?UTF-8?q?stiz=20publishing,=20drop=20AI=20Shorts/UGC/agent/autopilot/MCP?= =?UTF-8?q?,=20fix=20Studio=20image=20API,=20remove=20upload=20cap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Replace Upload-Post with a self-hosted Postiz client (postiz.py) and /api/postiz/* endpoints - Remove AI Shorts, UGC gallery, AI Agent tab, Autopilot, MCP/agent layer, and their UIs - Fix YouTube Studio thumbnail generation (google-genai >=2 Interactions API) and blocking download - Make the video upload size cap configurable/unlimited (MAX_FILE_SIZE_MB, default 0) - Update SEO/marketing/docs to the single-product self-hosted reality; lint+build green --- .env.example | 32 +- CLAUDE.md | 263 +- README.md | 282 +- app.py | 1553 ++------ dashboard/eslint.config.js | 9 +- dashboard/nginx.conf | 11 - dashboard/package-lock.json | 3212 ++++++++++++++++- dashboard/package.json | 1 + .../screens/autopilot-channel-videos.webp | Bin 11516 -> 0 bytes .../public/screens/autopilot-settings.webp | Bin 26294 -> 0 bytes dashboard/seo/autopilot-pages.js | 301 -- dashboard/seo/data.js | 5 +- dashboard/seo/landing-fallback.js | 24 +- dashboard/seo/legal.js | 113 +- dashboard/seo/pages.js | 280 +- dashboard/seo/render.js | 5 - dashboard/seo/tools.js | 10 +- dashboard/src/App.jsx | 752 ++-- dashboard/src/Landing.jsx | 106 +- dashboard/src/components/AccountPage.jsx | 15 - dashboard/src/components/AdvancedBanner.jsx | 27 - dashboard/src/components/AutopilotTab.jsx | 483 --- dashboard/src/components/ClipTutorial.jsx | 2 +- dashboard/src/components/Gallery.jsx | 148 - dashboard/src/components/GalleryCard.jsx | 151 - dashboard/src/components/HistoryTab.jsx | 2 +- dashboard/src/components/McpConnectCard.jsx | 140 - dashboard/src/components/MediaInput.jsx | 3 +- dashboard/src/components/OnboardingSurvey.jsx | 4 +- dashboard/src/components/PricingPage.jsx | 16 +- dashboard/src/components/PricingSection.jsx | 16 +- dashboard/src/components/ResultCard.jsx | 29 +- dashboard/src/components/SaaShortsTab.jsx | 1498 -------- .../src/components/ScheduleWeekModal.jsx | 371 -- .../src/components/SocialAnalyticsCard.jsx | 104 - dashboard/src/components/ThumbnailStudio.jsx | 19 +- .../src/components/TikTokDraftNotice.jsx | 35 - dashboard/src/components/UGCGallery.jsx | 238 -- dashboard/src/components/ui/StepIndicator.jsx | 4 +- dashboard/src/lib/consent.js | 5 +- dashboard/vite-plugin-seo.js | 3 +- dashboard/vite.config.js | 2 - design.md | 4 +- docker-compose.yml | 6 + docs/compliance/retencion.md | 10 +- docs/compliance/subprocessors.md | 14 +- docs/upload-post-dmca-section.md | 44 - examples/n8n/README.md | 61 +- examples/n8n/openshorts-clip-and-notify.json | 6 +- examples/n8n/openshorts-content-machine.json | 18 +- mcp_server.py | 671 ---- mcp_stdio.py | 125 - mcp_ui.py | 195 - postiz.py | 161 + requirements.txt | 3 +- s3_uploader.py | 358 +- saasshorts.py | 1502 -------- skills/openshorts/.claude-plugin/plugin.json | 2 +- skills/openshorts/README.md | 33 +- skills/openshorts/SKILL.md | 71 +- skills/openshorts/reference.md | 55 +- thumbnail.py | 68 +- 62 files changed, 4268 insertions(+), 9413 deletions(-) delete mode 100644 dashboard/public/screens/autopilot-channel-videos.webp delete mode 100644 dashboard/public/screens/autopilot-settings.webp delete mode 100644 dashboard/seo/autopilot-pages.js delete mode 100644 dashboard/src/components/AdvancedBanner.jsx delete mode 100644 dashboard/src/components/AutopilotTab.jsx delete mode 100644 dashboard/src/components/Gallery.jsx delete mode 100644 dashboard/src/components/GalleryCard.jsx delete mode 100644 dashboard/src/components/McpConnectCard.jsx delete mode 100644 dashboard/src/components/SaaShortsTab.jsx delete mode 100644 dashboard/src/components/ScheduleWeekModal.jsx delete mode 100644 dashboard/src/components/SocialAnalyticsCard.jsx delete mode 100644 dashboard/src/components/TikTokDraftNotice.jsx delete mode 100644 dashboard/src/components/UGCGallery.jsx delete mode 100644 docs/upload-post-dmca-section.md delete mode 100644 mcp_server.py delete mode 100644 mcp_stdio.py delete mode 100644 mcp_ui.py create mode 100644 postiz.py delete mode 100644 saasshorts.py diff --git a/.env.example b/.env.example index e285759..2c0dbab 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -# AWS S3 (optional — for clip backup/gallery) +# AWS S3 (optional — for clip backup) AWS_ACCESS_KEY_ID=your_aws_access_key_here AWS_SECRET_ACCESS_KEY=your_aws_secret_key_here AWS_REGION=eu-west-3 @@ -85,24 +85,40 @@ GEMINI_IMAGE_MODEL=gemini-3.1-flash-image # MEDIA_TOKEN_TTL_SECONDS: life of the per-user token the dashboard appends to #