Feature Request: Automatic browser session synchronization using gallery-dl

オープン
#40 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, go

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
18
フォーク
6
平均マージ
2日 12時間
マージ済み PR(30日)
4

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

monbooru/monloader のほかの issue

monbooru/monloader の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。