- Bun - installation guide
- Node.js >=20.0
- Redis run in docker
npm i caching-proxy-cliClick here to view the package in npm page.
git clone <repo-url> # clone the repo
cd <project-folder> && bun install # install dependencies
chmod +x index.ts # allow execution
bun link # link the package to use from anywhere in your systemNow, you can use the app from anywhere in your computer by typing
caching-proxy-cli in your terminal app.
- -V, --version : Output the version number
- -P, --port : Port for proxy server
- -U, --url : URL of the server to which requests are forwarded
- -R, --redis hostname:port : Provide the redis hostname:port
- -C, --clear: Clear cached responses
- -h, --help: Display help for command
- Arguments validation.
- Forward proxy.
- Cache the response.
- Clear the cache store.
This project is open for contributions!
If you’d like to help improve it, feel free to open an issue or submit a pull request - I’ll review it as soon as possible :)
This is a personal project intended for learning and experimentation. Contributions and testing are welcome — but it’s not ready (or meant) for production use.