Skip to content

pradeept/caching-proxy-cli

Repository files navigation

caching-proxy-cli

A text based forward-proxy server with caching capability.

npm version npm downloads license

Pre-requisites

Installation

Using npm

npm i caching-proxy-cli

Click here to view the package in npm page.

Manually

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 system

Now, you can use the app from anywhere in your computer by typing caching-proxy-cli in your terminal app.

Options

  • -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

Features

  • Arguments validation.
  • Forward proxy.
  • Cache the response.
  • Clear the cache store.

Credits

Backend Projects - Roadmap.sh

Contributing

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 :)

Note

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.

About

Caching forward-Proxy CLI application with automated releases!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published