Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 875 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 875 Bytes

DPCS

Dependency Check Search

Preview

Why

I started using wlroots for my wayland compositor so I wanted to have quicker access to source code of libraries to know what am I even doing.

Languages Support

Currently it's working only for C libraries with pkg-config.

Dependecies:

  • fzf
  • bat
  • ripgrep
  • pkg-config
  • git (optional)
  • some text editor, works best with vim and nvim

Usage:

Run dpcs in your project directory and add your dependecies to a file! Now you can browse really fast source code of libraries with ripgrep & fzf & bat!

How does this work?

Script creates hash of initial git commit or path of current folder, and stores dependencies in ~/.cache/dpcs/$HASH that can be accessed later.