explaingit

libnyanpasu/clash-nyanpasu

12,986RustAudience · generalComplexity · 2/5LicenseSetup · easy

TLDR

Clash Nyanpasu is a desktop app that gives you a visual interface to manage network proxy configurations, supporting three proxy engines and profile enhancement scripts, running on Windows, macOS, and Linux.

Mindmap

mindmap
  root((clash-nyanpasu))
    Features
      Profile management
      Engine switching
      Enhancement scripts
    Proxy Engines
      Clash Premium
      Mihomo
      Clash Rust
    Platforms
      Windows
      macOS
      Linux
    Tech
      Rust backend
      Tauri framework
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Set up and switch between network proxy profiles on your desktop without manually editing configuration files.

USE CASE 2

Write JavaScript or YAML enhancement scripts to add custom routing rules to an existing proxy profile.

USE CASE 3

Switch between Clash Premium, Mihomo, or Clash Rust proxy engines through a single consistent interface.

Tech stack

RustTauriTypeScriptJavaScriptYAMLLua

Getting it running

Difficulty · easy Time to first run · 30min
Open source under GPL-3.0, you can use, modify, and share it freely as long as you release changes under the same license.

In plain English

Clash Nyanpasu is a desktop application that provides a graphical interface for managing network proxy configurations. It is built on top of Clash, which is a network proxy tool that routes internet traffic through rules you define. Without something like Clash Nyanpasu, you would typically have to manage Clash through configuration files and a command-line tool. This application wraps that experience in a visual interface. The app supports three different underlying proxy engines: Clash Premium, Mihomo (also known as Meta), and Clash Rust. You can choose which engine to use depending on your needs, since each has somewhat different capabilities. Switching between them does not require learning a new interface. Profile management is a central feature. Profiles are configuration files that define how your traffic should be routed, for example, which connections should go through a proxy and which should not. Clash Nyanpasu lets you create, import, and modify profiles, and supports writing enhancement scripts in YAML, JavaScript, or Lua to transform or extend profiles without editing them directly. The interface uses Google's Material You design style, which is the same visual language used in modern Android. It supports both light and dark themes and includes animations. The application runs on Windows, macOS, and Linux. Under the hood, the app is built with Tauri, a framework that lets developers create desktop applications using web technologies for the interface and Rust for the backend. This is why Rust appears as the primary language in the repository. The project is open source under the GPL-3.0 license. It is derived from an earlier project called Clash Verge and its fork Clash Verge Rev, and credits those as its starting point.

Copy-paste prompts

Prompt 1
How do I import a proxy subscription profile into Clash Nyanpasu and activate it?
Prompt 2
Show me how to write a JavaScript enhancement script for Clash Nyanpasu that adds custom proxy rules to an existing profile.
Prompt 3
How do I switch between Mihomo and Clash Premium engines in Clash Nyanpasu without losing my profile settings?
Prompt 4
Set up Clash Nyanpasu on Linux to route traffic for specific domains through a SOCKS5 proxy while letting other traffic go direct.
Open on GitHub → Explain another repo

← libnyanpasu on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.