Feature Request: Automatic browser session synchronization using gallery-dl

Đang mở
#40 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, go
Lĩnh vực
authentication, backend

Hướng nghiên cứu

Read the manual cookie import introduced by issue #16 and the existing Monloader pairing/authentication flow. The request leaves the companion app, configuration, synchronization triggers, and transfer design open, so first map those entry points and decide how local gallery-dl access fits. Done would mean selected sites and accounts synchronize browser cookies on a configurable interval through a secure local-to-Monloader flow.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I'd like to propose a way to automatically synchronize browser login sessions with Monloader, so users wouldn't have to manually export and update cookies whenever they change.

gallery-dl already supports --cookies-from-browser and --cookies-export, which could be used to extract existing browser sessions without having to implement site-specific authentication handling for hundreds of websites.

Ideally, this would:

  • Automatically synchronize cookies from selected websites to Monloader, including after session changes or renewals.
  • Allow users to choose which sites/accounts get synchronized, as well as the check interval.
  • Work with Monsender, or alternatively as a separate lightweight local companion application.
  • Use the existing Monloader pairing/authentication system for securely transferring credentials.
  • Only activated for sites that only expose cookie sync as the auth.

Since browser extensions can't directly execute gallery-dl, a small local companion application might make more sense, potentially with Monsender handling the configuration and pairing (?). Of course, the mentioned gallery-dl will have to run on the users device itself, it needs access to the local browser profile, so it can't simply run inside Monloader's Docker container on a remote server.

I know #16 already introduced manual cookie importing, but this would take it a step further by making the entire process automatic, especially useful for sites like X/Twitter where authentication cookies can change frequently, which is quite cumbersome to have to change all the time.

Ngôn ngữ chính
Go
Star
18
Fork
6
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của monbooru/monloader

Tất cả issue của monbooru/monloader

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.