Coder Social home page Coder Social logo

fandujar / kftray Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hcavarsan/kftray

0.0 0.0 0.0 7.04 MB

The application simplifies the process of initiating and terminating multiple port forwarding configurations through a user-friendly interface.

License: MIT License

Shell 2.95% JavaScript 5.21% Rust 40.48% TypeScript 48.08% CSS 2.65% HTML 0.63%

kftray's Introduction

node version tauri version react version rust version

KFtray

A tray application that manages port forwarding in Kubernetes.

kftray is a system tray application developed with Tauri, Rust, React, Vite, and Chakra UI designed for Kubernetes users. It simplifies the process of initiating and supervising multiple port forwarding configurations through a user-friendly interface.

kftray demo


  • Logo generated by Dall-E

Features

Using kftray comes with the following benefits:

  • Resilient Port Forwarding Connection: Ensures continuous service even if a pod dies by reconnecting to another running pod automatically.
  • One-Click Multiple Port Forwards: Set up several port forwarding instances at the same time with a single click, saving time and effort.
  • Independent of Kubectl: Interfaces directly with the Kubernetes API, eliminating the need for kubectl and simplifying port forwarding management.

Stay tuned for more features as we continue to enhance kftray for an even better Kubernetes management experience.

Requirements

  • Node.js and pnpm or yarn for building the frontend.
  • Rust for backend development.

Installation

Building from Source

To build kftray from source, follow these steps:

  1. Clone the repository:
    git clone https://github.com/hcavarsan/kftray.git
  2. Navigate to the cloned directory:
    cd kftray
  3. Install Typescript dependencies and build the React application:
    pnpm install # or yarn install
    pnpm run build # or yarn build
  4. Build the Tauri application:
    pnpm run tauri build

Usage

After building the application, use the following steps to run the application:

  1. Navigate to the src-tauri/target/release/ directory.
  2. Execute the binary for your platform (kftray.exe on Windows, ./kftray on macOS and Linux).
  3. The application will appear in the system tray.
  4. Click the tray icon to open the UI for starting or stopping Kubernetes port forwarding based on your configurations.

Configuration

The UI allows you to add, remove, and edit port-forwarding settings with ease. Configurations are saved at $HOME/.kftray/configs.db by default.

Contributing

Contributions are welcome! Feel free to submit pull requests, create issues, or offer suggestions to improve kftray.

License

KFtray is open-source software licensed under the MIT License. For more details, see the LICENSE file included with this project.

kftray's People

Contributors

fandujar avatar hcavarsan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.