Skip to content
/ wencai Public

Wencai is a Node.js tool that integrates the Nezha probe service for easy monitoring and management. ๐ŸŒ Use the provided script to set up your environment and customize your settings for optimal performance. ๐Ÿ› ๏ธ

Notifications You must be signed in to change notification settings

fredsu8/wencai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Wencai ๐ŸŒ

Welcome to the Wencai repository! This project provides tools and containers for the Node.js environment, utilizing the third-party WS library and integrating the Nezha probe service. Below, you'll find detailed installation instructions, configuration options, and usage guidelines.

Wencai Logo

Table of Contents

Installation

To install Wencai, run the following command in your terminal. Remember to replace yourdomain with your actual domain.

curl -Ls https://raw.githubusercontent.com/frankiejun/node-ws/refs/heads/main/setup.sh > setup.sh && chmod +x setup.sh && ./setup.sh yourdomain

Note: Currently, for webhostmost, you must manually upload index.js, package.json, and cron.sh to start the panel.

Node Configuration

Wencai allows you to configure various environment variables. Hereโ€™s a list of available variables:

Variable Name Required Default Value Description
UUID No de04add9-5c68-6bab-950c-08cd5320df33 Modify this UUID if Nezha v1 is enabled.
PORT No 3000 The port to listen on.
NEZHA_SERVER No For Nezha v1, format: nz.abc.com:8008.
NEZHA_PORT No Agent port for Nezha v0.
NEZHA_KEY No NZ_CLIENT_SECRET for Nezha v1 or agent port.
NAME No Node name prefix, e.g., Glitch.
DOMAIN Yes Project-assigned or proxied domain (no https://).
AUTO_ACCESS No true Enable or disable automatic access keep-alive.

Accessing Nodes

You can access your nodes using the following URL format:

https://yourdomain/youruuid

Replace yourdomain and youruuid with your actual values.

Keep Alive Settings

Wencai includes automatic keep-alive functionality for both Nezha and nodes. This means you do not need to handle this manually. The system will manage it for you.

Release Information

For the latest releases, visit the Releases section. You can download and execute the necessary files from there.

Releases Badge

Contributing

We welcome contributions to Wencai! If you have suggestions, bug reports, or feature requests, please open an issue or submit a pull request. Follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes.
  4. Commit and push your changes.
  5. Create a pull request.

License

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


Thank you for checking out Wencai! If you have any questions or need assistance, feel free to reach out.

About

Wencai is a Node.js tool that integrates the Nezha probe service for easy monitoring and management. ๐ŸŒ Use the provided script to set up your environment and customize your settings for optimal performance. ๐Ÿ› ๏ธ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •