1 unstable release

new 0.1.0 Feb 12, 2025

#389 in Asynchronous

Download history 126/week @ 2025-02-11

126 downloads per month

Custom license

13KB
241 lines

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

Dependencies

~8–17MB
~218K SLoC