prin

Crates.ioprin
lib.rsprin
version0.1.0
created_at2025-02-12 23:28:38.318969+00
updated_at2025-02-12 23:28:38.318969+00
descriptionA simple reverse proxy terminal utility
homepage
repositoryhttps://github.com/shubhexists/prin
max_upload_size
id1553597
size41,061
Shubham (shubhexists)

documentation

README

Prin 🚀

A lightweight and user-friendly CLI reverse proxy tool built in Rust.

Features ✨

  • Simple and intuitive command-line interface
  • Easy route management with interactive prompts
  • Support for multiple proxy routes
  • Persistent configuration across sessions

Installation 🔧

cargo install prin

Usage 💻

Prin offers two main commands:

Start the Proxy Server

prin start [--port <PORT>]

Options:

  • --port, -p: Specify the port to run the proxy server on (default: 8000)

Configure Routes

# Add a new route
prin config add

# Edit an existing route
prin config edit

# Delete a route
prin config delete

Configuration Storage 📁

Prin stores its configuration in JSON format at:

  • Linux/macOS: ~/.config/prin/config.json
  • Windows: %APPDATA%\prin\config.json

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Author ✍️

shubhexists

Commit count: 10

cargo fmt