diff --git a/README.md b/README.md index 9982e66..4c2eaa0 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ OpenShorts leverages state-of-the-art AI to handle the entire content lifecycle: * **Docker & Docker Compose**. * **Google Gemini API Key** ([Get it for free here](https://aistudio.google.com/app/apikey)). -* **Upload-Post API Key** (Optional, for direct social posting). +* **Upload-Post API Key** (Optional, for direct social posting. **Free tier available, no credit card required**). ### šŸ“² Social Media Setup (Upload-Post) To enable direct posting, follow these steps: @@ -44,7 +44,6 @@ To enable direct posting, follow these steps: 4. **Get API Key**: Navigate to [API Keys](https://app.upload-post.com/api-keys) and generate your key. 5. **Use in OpenShorts**: Paste the API Key and select your Profile in the dashboard. -![Upload-Post Setup Guide](file:///Users/juancarlos.cavero/.gemini/antigravity/brain/d72ee29e-ee3b-45f0-b00b-fe2d705bb56f/uploaded_image_1766201890395.png) --- diff --git a/dashboard/src/App.jsx b/dashboard/src/App.jsx index a81f29c..d0a57fd 100644 --- a/dashboard/src/App.jsx +++ b/dashboard/src/App.jsx @@ -8,7 +8,7 @@ import { getApiUrl } from './config'; // Enhanced "Encryption" using XOR + Base64 with a Salt // This is better than plain Base64 but still client-side. -const SECRET_KEY = import.meta.env.VITE_ENCRYPTION_KEY || "OpenShorts-Secret-Key-2025-V1"; +const SECRET_KEY = import.meta.env.VITE_ENCRYPTION_KEY || "OpenShorts-Static-Salt-Change-Me"; const ENCRYPTION_PREFIX = "ENC:"; const encrypt = (text) => { @@ -368,7 +368,15 @@ function App() {
-

Social Integration

+
+

Social Integration

+ Optional +
+

+ Automatically publish your clips to TikTok, Instagram Reels, and YouTube Shorts via Upload-Post. + Includes a free tier (no credit card required). + If you prefer, you can skip this and manually download/upload your videos. +

@@ -445,8 +453,8 @@ function App() { Live Analysis {status.toUpperCase()} @@ -493,21 +501,21 @@ function App() { )} -
- {results && results.clips && results.clips.length > 0 ? ( -
- {results.clips.map((clip, i) => ( - - ))} -
- ) : ( +
+ {results && results.clips && results.clips.length > 0 ? ( +
+ {results.clips.map((clip, i) => ( + + ))} +
+ ) : ( status === 'processing' ? (
diff --git a/dashboard/src/components/ResultCard.jsx b/dashboard/src/components/ResultCard.jsx index 0f112db..01033cc 100644 --- a/dashboard/src/components/ResultCard.jsx +++ b/dashboard/src/components/ResultCard.jsx @@ -66,9 +66,9 @@ export default function ResultCard({ clip, index, jobId, uploadPostKey, uploadUs const videoUrl = getApiUrl(clip.video_url); return ( -
- {/* Left: Video Preview (Fixed Width on Desktop) */} -
+
+ {/* Left: Video Preview (Responsive Width) */} +