bkt icon indicating copy to clipboard operation
bkt copied to clipboard

a subprocess caching utility, available as a command line binary and a Rust library.

Results 22 bkt issues
Sort by recently updated
recently updated
newest added

Currently bkt [defaults](https://github.com/dimo414/bkt/blob/e52bd6f92f54a8ef5266cf39bfe2e12e68c64e2d/src/lib.rs#L990) to using the directory returned by `std::env::temp_dir()` on all platforms. In principle bkt should probably use a "user cache" directory instead, such as [`ProjectDirs::cache_dir`](https://docs.rs/directories/5.0.0/directories/struct.ProjectDirs.html#method.cache_dir) - notably this...

Hi @dimo414 could you please provide release builds for `arm64 Darwin`? Thanks :pray:

Please, consider adding a flag to return null when there is no caching results, but to request execution of the command in background. I'm trying to implement a nushell cli...

It would be nice to log statistics about cached invocations, such as execution durations and hits vs. misses. This could be used to optimize TTLs and observe unexpected cache misses....

Hi! Added a discussion here: https://github.com/dimo414/bkt/discussions/53

Hi there, I'm not a 100% sure if the problem is on the `bkt` side or somewhere else. My use case is as follows: - [direnv](https://direnv.net/) loads the `.envrc` for...

It would be convenient if bkt supported `BKT_TTL=0` (and when zero, did not cache anything). That way, I can write scripts where bkt is opt-in by adding the line `export...

This is really awesome. Thank you for making this! I found your repo while searching for something that can fulfill my use case, and `bkt` comes very close, but not...

Callers may want to `--force` refresh only if the cache isn't "fresh" (for some definition of fresh that's less than the TTL) - essentially the opposite of `--stale`. One such...