Skip to content

A lightweight http-request application that developed with Rust and Tauri.

License

Notifications You must be signed in to change notification settings

hacimertgokhan/must

Repository files navigation

img.png

MUST

A lightweight, cross-platform HTTP request client built with Tauri and React. This application provides a simple and efficient way to test API endpoints, similar to Postman but with a native feel and better performance.

Features

  • 🚀 Fast and lightweight native application
  • 🔄 Support for common HTTP methods (GET, POST, PUT, DELETE)
  • 📝 Custom header management
  • 📦 Request body support
  • 🎨 JSON response formatting
  • 📑 Raw and formatted response viewing options
  • 🎯 Simple and intuitive user interface

Prerequisites

Before running this application, make sure you have the following installed:

  • Node.js (v16 or higher)
  • Rust (latest stable version)
  • Tauri CLI
  • pnpm/npm/yarn

Installation

  1. Clone the repository
git clone <your-repository-url>
cd http-request-client
  1. Install dependencies
pnpm install
  1. Run the development server
pnpm tauri dev
  1. Build for production
pnpm tauri build

Usage

  1. Enter the request URL in the input field
  2. Select the HTTP method (GET, POST, PUT, DELETE)
  3. Add any required headers in the Headers section (one per line in the format Key: Value)
  4. For POST/PUT requests, enter the request body in JSON format
  5. Click "Send Request" to make the request
  6. View the response in either formatted (for JSON responses) or raw format

Project Structure

src/
  ├── App.jsx          # Main application component
  ├── components/      # UI components
  └── styles/         # CSS styles
src-tauri/
  └── src/
      └── main.rs     # Rust backend code

Technologies Used

Development

Required Components

Make sure to install the required shadcn/ui components:

npx shadcn-ui@latest add card
npx shadcn-ui@latest add button
npx shadcn-ui@latest add input
npx shadcn-ui@latest add select
npx shadcn-ui@latest add textarea
npx shadcn-ui@latest add tabs

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

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

Acknowledgments

  • Inspired by Postman
  • Built with Tauri's security and performance in mind
  • Uses shadcn/ui's beautiful components

About

A lightweight http-request application that developed with Rust and Tauri.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published