abreujp

abreujp

Hi everyone,

I built a small Elixir library called zeal_docsets to generate offline Zeal/Dash docsets from the direct Hex dependencies of a Mix project.

The main goal is to make it easier to browse documentation locally for the libraries a project actually uses, based on mix.exs and the exact versions locked in mix.lock.

How it works:

  • reads the direct dependencies from mix.exs
  • resolves exact versions from mix.lock
  • downloads docs from hexdocs.pm
  • generates Zeal/Dash-compatible docsets
  • installs them into the Zeal docsets directory

Typical usage inside a project:
{:zeal_docsets, “~> 0.1.4”, only: [:dev, :test], runtime: false}
Then:
mix deps.get
mix zeal.docs . ~/.local/share/Zeal/Zeal/docsets --dev --test --force --concurrency 6

A few notes:

  • it currently works as a Mix task added to a project, not as a standalone global CLI
  • git/path dependencies are ignored
  • some packages on hexdocs.pm do not publish docs for all versions, so those can fail gracefully
    It has already been useful in my own workflow, especially for searching docs offline in Zeal across the dependencies of a real Phoenix project.
    Feedback is very welcome, especially around:
  • compatibility with different projects
  • docs/indexing edge cases
  • ideas for improving the workflow

Links:

https://github.com/abreujp/zeal_docsets

Thanks!

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
CodeSync
:microphone: ElixirConf 2026 - Call for Talks is open! We’re heading to Chicago :united_states: :round_pushpin: In person + virtual :d...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews