viewpdf should clear downloaded PDFs
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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