Feature Request: Automatic browser session synchronization using gallery-dl

Aperta
#40 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
18
Fork
6
Merge medio
2g 12h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di monbooru/monloader

Tutte le issue di monbooru/monloader

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.