Skip to content

Per-tab folder destination and HTMX FuckingFast resolve - #1

Open
MehdiMamas wants to merge 3 commits into
axel-devs:mainfrom
MehdiMamas:feature/fs-destination-htmx-resolve
Open

MehdiMamas wants to merge 3 commits into
axel-devs:mainfrom
MehdiMamas:feature/fs-destination-htmx-resolve

Conversation

@MehdiMamas

Copy link
Copy Markdown

Summary

  • Resolve FuckingFast landing pages via HTMX hx-post=/f/{id}/go (plus legacy /dl/), with https-only fetches and spacing to avoid Cloudflare 429s
  • Per FitGirl-tab destination via native showDirectoryPicker, stored as a DirectoryHandle (cleared when the tab closes)
  • Download through an offscreen worker with File System Access writes (absolute folders), plus pause/cancel/retry and full file-list restore after a finished batch

Test plan

  • Load unpacked extension on a FitGirl page with fuckingfast.co parts
  • Choose a Windows folder, select parts, start downloads into that folder
  • Pause / resume / cancel mid-batch; retry failed items
  • Confirm UI returns to the full file list after the batch finishes (not stuck on last-run subset)
  • Open a second FitGirl tab, pick a different folder, run both batches concurrently
  • Close a tab and confirm its destination handle is forgotten

Made with Cursor

Resolve /f/{id}/go landing pages, write downloads into a showDirectoryPicker destination via offscreen FS Access, and restore full file selection after each batch.

Co-authored-by: Cursor <cursoragent@cursor.com>
@MehdiMamas

Copy link
Copy Markdown
Author
image

…on has started. Update logic to prevent unnecessary queue pumping when a run is finished or idle.
…igration support. Update UI for download status and add progress tracking. Introduce new alarms for reconciliation and keep-alive functionality. Update version to 0.3.0 and improve popup layout for better user experience.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant