Hacker News new | ask | show | jobs
by dwrtz 511 days ago
i wrote something similar https://github.com/dwrtz/sink

it has some nice features:

- follows .gitignore patterns

- optional file watcher to regenerate the snapshot when files are changed

- supports glob patterns for filter/exclude

- can report token usage

- can use a config yaml file if you have complicated filter/exclude patterns

i find myself using it all the time now. it's great with claude projects