/jwt-parser-react

Simple JWT parser using Vite@React

Primary LanguageJavaScript

JWT Decoder & Editor

Overview

This project is a JSON Web Tokens (JWT) decoder and editor developed in React using Sonner and Tailwind CSS. It allows users to decode existing JWTs and interactively edit their headers and payloads.

Features

  • JWT Decoder: Allows users to decode JWTs by displaying their headers and payloads.

  • Interactive Editor: Provides a user-friendly interface for editing JWT headers and payloads.

  • Instant Validation: Automatically validates modifications made to headers and payloads and updates the JWT accordingly.

How to run

  1. Install dependencies:

    pnpm install
  2. Start the application in development mode:

    pnpm run dev
  3. Access the application in your browser at the following address: http://localhost:5173.

  4. Paste your JWT into the appropriate field and start exploring its headers and payloads.

Contributions

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/feature_name).
  3. Make the necessary changes and test them.
  4. Commit the changes (git commit -m 'Add some feature').
  5. Push the changes to the branch (git push origin feature/feature_name).
  6. Open a Pull Request.

License

This project is licensed under the MIT License.