luakit / luakit/luakit

viewpdf should clear downloaded PDFs

Open
#494 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Lua
Stars
2.3k
Forks
254
PR merge metrics
No merged PRs in 30d

Description

Currently, the viewpdf module downloads PDFs to the XDG cache directory (`~/.cache/luakit/viewpdf/`). They are never cleared automatically, so they can easily accumulate.

This can probably be solved by clearing the directory on startup.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the viewpdf module and its use of the XDG cache directory ~/.cache/luakit/viewpdf/. Check how the module initializes on startup, then verify that accumulated PDFs are cleared automatically when the browser starts.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.