Fix serverless download path + add deployment notes#1
Open
rakibulism wants to merge 17 commits intoaverygan:mainfrom
Open
Fix serverless download path + add deployment notes#1rakibulism wants to merge 17 commits intoaverygan:mainfrom
rakibulism wants to merge 17 commits intoaverygan:mainfrom
Conversation
…invocation_failed-error Fix Vercel/serverless startup failure caused by unwritable downloads path
…invocation_failed-error Rename project to Clipdown and add serverless-friendly DOWNLOAD_DIR
…invocation_failed-error Rename project to Clipdown; prefer /tmp on serverless and add theme switcher UI
…invocation_failed-error Add robust yt-dlp fallback and top-right social links (remove 'Theme' label)
…invocation_failed-error Rename ReClip to Clipdown; add serverless/download dir handling, yt-dlp overrides, cookies support, and UI/theme updates
…invocation_failed-error Rebrand to Clipdown, add theme UI and robust yt-dlp/serverless handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This update fixes an issue where the app fails on serverless platforms due to restricted filesystem access.
I changed the download directory logic to automatically use /tmp/reclip-downloads when running on environments like Vercel or AWS Lambda, while keeping the default local behavior unchanged.
Also added deployment notes in README to clarify:
serverless limitations (ephemeral storage, non-persistent jobs)
recommended setup using DOWNLOAD_DIR
why long downloads may fail in serverless environments
This makes the project more stable for experimentation on serverless, even though it still works best on a long-running server.